| Maxwell C. Dancer on Sat, 21 Aug 2004 17:56:10 +1200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| [dunlug] Lost my partition, and really want it back |
Hi, Not to long ago I got myself a new HD, and not really knowing what I was doing, but figuing it was empty so I couldn';t lose any data, I played around trying to get it to be used. I wanted to make it one big (ext2) partition for dumping stuff onto it. Finally I managed to get it initialised etc., and mounted (/home3). Well, after a few weeks of working fine, and now storing 15-20GB of data I think, I needed to reboot my machine to do some work in Windows :( Well, when I went back to linux, it wouldn't mount. I get the following... equinox:/home/maxwelld# mount /home3 mount: /dev/hdc1 is not a valid block device my line for it in fstab is /dev/hdc1 /home3 ext2 defaults 0 2 while I'm not sure that is what I used to mount it in the end, as I didn't know what I was doing, I definally had it working, as I had more stuff stored on it than could fit on my other HD, and it was on /home3 well, now everything says there is nothing there... equinox:/home/maxwelld# fdisk /dev/hdc Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 19457. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite) Command (m for help): q looking for packages, I ran gpart, and got the following... equinox:/home/maxwelld# gpart /dev/hdc Begin scan... Possible partition(Linux ext2), size(152625mb), offset(0mb) End scan. Checking partitions... Partition(Linux ext2 filesystem): primary Ok. Guessed primary partition table: Primary partition(1) type: 131(0x83)(Linux ext2 filesystem) size: 152625mb #s(312576640) s(63-312576702) chs: (0/1/1)-(1023/254/63)d (0/1/1)-(19456/254/61)r Primary partition(2) type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r Primary partition(3) type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r Primary partition(4) type: 000(0x00)(unused) size: 0mb #s(0) s(0-0) chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r equinox:/home/maxwelld# As far as I can tell, its guess it right, and it only had one partition, and it was the hold disk... so the question is, is my data screwed, or am I getting it back?? ..just for reference, I think I used the command of either mke2fs /dev/hdc or mke2fs /dev/hdc1 to make it in the first place, can't remember :( HELP... Max -- DunLUG Mailing list. Browsable archives at: http://lists.ethernal.org/ To unsubscribe, mail "unsubscribe" to dunlug-request@HIDDEN