Ubuntu Installation :: Wrongly Mkfs To /dev/sda1 Insted Of /dev/sdb1 Data Deleted?
Jun 6, 2011
I had a working Ubuntu 9.10 with Windows 7 installed, and i was writing an image of IPCOP [URL] to the USB drive incorrectly, i did mkfs on my primary partation i.e. /dev/sda1 now i am trapped in situation, i was trying to write and usb-hdd image of ipcop on USB Drive, while doing so, i have given following commands
1. mkfs.vfat /dev/sda1
2. e2label usb-pen
3. zcat filename > /dev/sda1
* now the stupid thing i have done, is given /sda1( My HDD ) instead of /sdb1 (USB Drive), it has successfully loaded IPCOP bootable on my primary drive, and my laptop is not working now.
Laptop Partation Info:
/dev/sda1 - NTFS (Windows 7 Prof)
/dev/sda2 - NTFS
[code].....
now i want to get my partitions & data back, if anybody have idea about how to get rid of this situation. The good thing i have done, is that, i didn't tried to install anything on the drive after this happened, with hopes that i can get my data back i guess that it can be recovered but confusion is that, which data recovery software to use, and for linux or windows, as i had my data on NTFS filesystem and currently there is Free Space and EXT4 partition.
View 2 Replies
ADVERTISEMENT
Jun 16, 2010
I have 2 hard disks, one is full and I would like to move my /usr directory from sda1 to sdb1.
I tried the following..
sudo mkdir /driveb
sudo mount /sdb1 /driveb
cd /driveb
sudo mkdir /usr
sudo cp -b --copy-contents -r /usr /driveb/usr
code....
I don't fully understand the difference between a directory and a mount point and I may be treating them wrong.
I would like /usr to point to sdb.
is it possible, or should I try to change my path instead and ignore this problem?
View 8 Replies
View Related
Nov 30, 2010
Here is the output of disk free space
# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 940287756 3320512 888432924 1% /
/dev/sda1 101086 21142 74725 23% /boot
tmpfs 7730504 0 7730504 0% /dev/shm
/dev/sdb1 2884158292 74736 273757667 1% /data
Now,I wanna add a large amount of memory in sdb1 to sda1 to increase the available memory.Is there a way I can do this?
View 4 Replies
View Related
Mar 1, 2010
I have just installed a new version of fedora 12 64bit and have setup the following drive configuration -
Code:
But for some reason I am getting dm-1 and dm-3.
How can I change the array so it contains the normal /dev/sda and /dev/sdb disks and partitions?
Why is the system telling me my drives are dm devices? I have no bios raid features on the motherboard.
How do I use md-1 and md-3 partitions?
How do I go back to the traditional /dev/sda and /dev/sdb devices?
By the way the system tells me that /dev/sda1 and /dev/sdb1 do not exist.
View 3 Replies
View Related
Mar 6, 2010
openSuse 11.2 KDE 4 desktop User = newbie I was having some trouble with a Hard drive that I store my photo's and other personal data on. Fisrtly, it was messing my OS up, so that it would not boot to the desktop, but only to the command line where it would report that this drive was somehow corrupted and needed to be repaired. Secondly, the OS was reporting that certain files were 380,000.2 TB in size. this drive is only 200 GB.I didn't want to do the repair until I found a way to back up my data. I found another hard drive to do backup to but I had to take some data off of it. Which I did.
In the spirit of trying learn command line I decided to partition and format the hard drive using fdisk. I found some easy to use directions and proceeded to partition the drive. Unfortunately, I failed to realize the directions were only for the partitioning part [my fault for not reading further]. What I missed was that after using fdisk to partition, you must use mkfs to set filesystem type.[I thought I had done that in fdisk using the "l" , "t" commands within fdisk].
My questions are:
1] Can I do this mkfs command after I have put my data on the new hard drive or should I start fresh and redo partioning? [I have not deleted the other drive so my data is still there.]
2] What would be the cause of the incorrectly reported file sizes?
View 2 Replies
View Related
Jan 6, 2011
I accidentally ran mkfs.ext3 /dev/sdb on the wrong drive.It used to be 2 NTFS partitions with lots of data. is there any hope I can only change the file system to ntfs back and revert what I did?not sure if mkfs erase the data or just rewrite some partition table.
View 7 Replies
View Related
Jul 18, 2011
1st. I lost my usb drives. Im using Puppy Studio(Lucid, Full HDD install, latest ver) on a Toshiba Satellite 2805-S201... My 1st Linux treasure... Anyway... I was recording audio thru audacity. Shutdown. L8r started and inserted a Flash drive and the icon never showed even though I used it hours prior with no issues. The drives are working fine meaning I can access the data on other devices. Now the newb... I cant find the USB info anywhere. i followed System-Status & Configure-Hardware info-Devices-USB devices and theres nothing there. The optical drive & sda1 are registered but the flash drives are not. Does it sound like my 2 USB ports are dead? My mouse & keyboard dont register either!
2nd. B4 today reboot was the only command I knew (so sad...) but I learned dmesg and tried that and dmesg reads
Ext2-fs (sda1): error: ext2_Lookup: deleted inode referenced 83359
Basically I now want to move my music but I have no working usb ports. And Its been frustrating trying to figure out what the dmesg means when today is the 1st time I opened a terminal!
View 3 Replies
View Related
Oct 11, 2010
A friend accidentally did mkfs.vfat on my 1Tb ext. hard drive..It's now showing as 400 GB free where it was 10 GB previously and the remaining data is being shown as weird symbols and empty folders and yet it occupies more than 500GB..Any way to recover the data completely?
View 1 Replies
View Related
Oct 24, 2010
i specifically told ubuntu to install alongside my operation system (windows) and instead it installed over windows and deleted all the other partitions... i had 200gb of data that i completely lost is there anyway to recover this data?
View 4 Replies
View Related
Jul 18, 2011
I had Fedora 13 64 bit before which was correctly reporting memory as 4GB. After I wiped off Fedora 13 and did a fresh install of Fedora 15 32 bit, the memory is reported as 3.2 GB in the system Info and also in free -mt command code...
Where is 600MB memory gone missing? I checked the BIOS setting and it correctly says total memory is 4GB.
The hardware is exactly same and I did not change anything.
View 11 Replies
View Related
Aug 14, 2010
I launched a script using rsync and the option -delete-before, however the destination folder was the wrong one. I noticed it only seconds after but it was still too late. In less than 5 sec rsync deleted over 200gb of data on my external hard drive... It is not in my Trash nor on the HDD trash but it's not possible that the data were ereased in less than 5 sec! (I dont know how rsync handle deletions.) I know I am really stupid but is there a way to get back all my data (mainly HD movies in mkv, mp4 and some avi)
View 1 Replies
View Related
Jan 8, 2011
I have somehow managed to eradicate all of my films and music...I was going to update my external HDD (typical) and so I highlighted everything and went to drag it. My finger kind of slipped while the cursor was in the the same folder and I got a message saying something like:"Source file is in this destination. Cannot move. Do what?"There's me thinking not much can go wrong at this point so I clicked "Skip all".Everything disappeared
The file system says there's still only 500GB free on my 1.5TB, so the files are there but I just can't see them.how I can get them back?There's nothing in my 'Deleted Items' and I had a play with scalpel and PhotoRec and I either couldn't get them to work or they said they'd take way more time than I have.
Edit: Where did that smiling devil come from? That's really not how I feel right now.
View 1 Replies
View Related
Jan 28, 2011
I just made a very stupid mistake, and in result I just deleted almost everything on my windows 7 partition. I followed this guide: [URL].. for how to access my windows partition from ubuntu and it worked, but then I decided to rm -r the whole thing thinking it was a copy. I have no restore disks or any other type of backup. I know this maybe be impossible, but is there any way to recover my data?
View 1 Replies
View Related
Mar 31, 2011
Has anybody noticed that delete in Ubuntu 10.10 is only compatible with Ubuntu. E.g. I have a usb stick with 2 movies on it. Delete them using ubuntu's Gui just right clicking files and move to thrash so the drive looks empty. then i physically remove the drive and put it into a windows xp machine and all the files are still on the stick just put into a folder called thrash.
I also reformatted the usb stick Fat32 inside ubuntu and when i put it into the windows machine the file names were still there. (The movies were currupt and unplayable in Windows.)But still its very strange I suppose i'll just have to Blow up my usb if i ever need to destroy the data on it.. Just let me know if this has happened to you guys before. (I had Bootable Backtrack 3 on one of my old usb's that I gave to a work colleague.
I know that deleting and reformatting only deletes the indexing info for the OS but i always thought that deleted files couldn't be accessed by the average computer user.
View 4 Replies
View Related
May 22, 2011
I deleted an old ubuntu partition, I reinstalled Ubuntu but is there any software for Ubuntu or any other Linux operating systems that can recover my data?
View 2 Replies
View Related
Jan 25, 2011
Normally i use "arecord" to capture and dump in a file (.wav). If i want to play the file then i use "aplay". But, is it possible that, insted of capturing to a file and then playing the file offline, if i want to play it realtime
View 1 Replies
View Related
Jul 28, 2010
I tried to recover deleted data using testdisk tool and now my partition table have some errors. Even though i have 3 partitions and 1 unallocated disk fdisk -l shows only 1 partition
Code:
vishnu@vishnu-laptop:~$ sudo fdisk -l
[sudo] password for vishnu:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x68000000
[Code]...
View 2 Replies
View Related
Jan 12, 2010
I have 8.04 running mdadm raid 1. I selected the wrong drive in gparted and managed to hose my partition tables.
View 7 Replies
View Related
Jan 27, 2010
I erased my partition table. Can anyone recommend a good method of reconstructing it? And if this is impossible, can anyone recommend a good method of data recovery? I had an ntfs partition with windows 7 and a larger ext3 partition that ran Debian.
I'm running Test-disk on the SystemRescueCD at the moment (cross your fingers).
View 1 Replies
View Related
May 30, 2011
As usual I was notified that there was an update available via the Update Manager which I duly accepted.I was then confronted with a popup which advised that there was a Distribution Upgrade and that it was to be a partial upgrade.
Finding that I would not go away I accepted the data finding that 9 packages were made available and 33 unused ones were to be deleted. As this is my first experience of this is it something I need worry about and if so what should I do about it?
View 3 Replies
View Related
May 16, 2010
I was trying to delete a logical drive in windows xp and the damn disk management tool in windows not only deleted my other windows partition but also my linux /data ext3 partition. Now I have a unallocated space in place of these partitions. The data is still there but the entries in the partition table have been removed. So how do I recover my partition. I was trying to use the following tutorial. [URK]
I used the sudo parted /dev/sda -- and then rescue START END command and could get back the /data partition. But it gives me the following error while mounting the partition. mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program or other error. In some cases useful info is found in syslog - try dmesg | tail or so.
What does this mean. How to I fix this? Also when I try to recover my windows partition using parted it scans for a while and then does nothing. It doesnot ask for writing the lost partition in the partition table. What do I do?
View 3 Replies
View Related
Jan 18, 2011
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.I shut down the PC intermediately after noticing this.Is there any chance of recovering the files? Would they be able to mount to the same or another virtual machine?I need to get this information somehow, there are no backups.
View 2 Replies
View Related
Apr 25, 2010
Recently, I started protecting all user-accessible filesystems on my Sidux desktop machine with LUKS. Before that, I would regularly erase traces of deleted data, and I wonder if this is still necessary.
It would be most valuable to me to be pointed towards a good introductory article on the underlying mechanics of LUKS and cryptsetup, as there are a few more minor questions to be answered. Unfortunately, I lack the necessary mathematic and cryptographic background to understand scientific papers.
View 2 Replies
View Related
Jan 18, 2011
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.I shut down the PC intermediately after noticing this.Is there any chance of recovering the files? Would they be able to mount to the same or another virtual machine?I need to get this information somehow, there are no backups.Which software can I use?
View 2 Replies
View Related
Feb 27, 2010
I have accidentally ended up in deleting my root directory while I blindly fired command while watching movie.
I fired following command
#rm -rf ~/<SPACE>*.out
instead of this command
#rm -rf ~/*.out
Things already done:
1) Created /root directory relogged to get some of basic settings of gnome and Desktop.
2) Things went well now when I login my desktop ,gnome environment and other things looks to be working well only prompt on my terminal has changed. I can fix it any ways.
Things I want to ask:
1) I haven't studied much about contents of /root directory to best of my knowledge is it like other user's home directory with some basic configuration files for mostly required applications. SO my question is have I lost any thing important system file or something?
2) If I have lost any important configuration or system data how can I recover it without reinstalling whole system? (My opinion about this is, It is quite possible but to do so, as far as I know capabilities of linux. But I still want comments from experts before I try any things on it because I don't want to backup my whole HDD and reinstall the whole stuff again for me and also my sister's stuff in MS.)
View 4 Replies
View Related
Mar 16, 2010
I'm setting up my menu.lst for GRUB Legacy (downgraded from GRUB2 in 9.10) and I'm just having difficulty getting my head around converting the /dev/sda1, sda2 etc to hd(0,0), (0,1).
My partitions are as follows:
sda1 = Windows XP (ntfs primary partition)
sda2 = Windows Vista (ntfs primary partition)
sda3 = Linux boot (small ext2 primary partition)
sda4 = extended partition
sda5 = Windows XP second different installation (ntfs logical partition)
sda6 = Ubuntu 9.10 root (ext3 logical partition)
sda7 = linux-swap (swap logical partition)
As I said, I am trying to set these up in GRUB, but cannot work out what all the hd(0,x) equivalents are. I *thought* it was just a case of subtracting 1 from the sdax number, but it doesn't appear to be that way.
View 2 Replies
View Related
Jun 8, 2011
In a desperate attempt to play Tomb Raider, I have shrunk the /dev/sda1 with GParted in Maverick Live CD (the same one I used to install) then installed WinXP on it. Unfortunately for reason X, XP simply does not boot. So again I am in the Live CD, I have deleted the XP partition and am now trying to fix Grub2. In all the tutorials, you need to mount the normal partition. Which is what I am trying to do, but:
Code:
sudo mount /dev/sda1
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
So there in nothing that I can do. Under "Places" I see my 489GB file system but I cannot mount it.
At least I am getting Internet through the Live CD and I always have Knoppix on hand.
EDIT: I should tell you that there is a boot flag on the /dev/sda1.
View 1 Replies
View Related
Mar 25, 2010
When, from the live cd I try to execute
Code:
e2fsck -y /dev/sda1
All i get is:[code].......
View 3 Replies
View Related
May 5, 2010
I'm trying to install Lucid on a computer with windows already present. When I ran trough the install procedure no drives show up at the partitioning stage. So I check some things out and it turns out that /dev/sda1 is mounted to /cdrom and I can't umount it because it says the disk is in use. I'm booting with the live-cd downloaded from ubuntu. Why is this happening? Previously with older live-cd's I always have to mount the HD manually if I wanted to access it for any reason?
View 2 Replies
View Related
Jun 5, 2010
I tried to update my system from 9.10 to 10.04 but when the system boots it says that it can not find the symbol for grub_puts_ and drops me into grub rescue.
I have a live disc and have been trying to get grub to reinstall following the advice from different websites and forum threads. It seems that everything goes smooth until I get to the part where you run update-grub. At that point I get the following:
/usr/sbin/grub-probe: error: cannot find a device for / ( is /dev mounted?).
My configuration is as follows:
windows is loaded on /dev/sda1. fdisk -l lists this partition as bootable.
linux / is loaded on /dev/sdb1
/usr is loaded on /dev/sdb5
/var is loaded on /dev/sdb6
/home is loaded on /dev/sdb9
[Code]....
this is where I have problems. it says: /usr/sbin/grub-probe: error: cannot find a device for / ( is /dev mounted?).
View 2 Replies
View Related