On 08.04.09 08:50, tony mollica wrote: > Thorny, I know what you're asking, I just wasn't clear. But yes, the > partition is there (or here): > > fdisk -l output: > > Disk /dev/sdg: 184.4 GB, 184416067584 bytes > 255 heads, 63 sectors/track, 22420 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sdg1 * 1 7295 58597056 83 Linux > /dev/sdg2 7296 22420 121491562+ f W95 Ext'd (LBA) > /dev/sdg5 7296 14590 58597056 83 Linux > /dev/sdg6 14591 22420 62894443+ 83 Linux > > > I'm having no problems with the extended partitions, only the first > primary. All the number look good, just doesn't recognize sdg1 > for mounting, or for fsck. > > # fsck /dev/sdg1 > fsck 1.40-WIP (14-Nov-2006) > e2fsck 1.40-WIP (14-Nov-2006) > fsck.ext2: No such file or directory while trying to open /dev/sdg1 > > The superblock could not be read or does not describe a correct ext2 > filesystem. If the device is valid and it really contains an ext2 > filesystem (and not swap or ufs or something else), then the superblock > is corrupt, and you might try running e2fsck with an alternate superblock: > e2fsck -b 8193 <device> > > All the partitioning software and disk utilities find the partitions. The > first primary partition is not found or recognized. Tried backup > superblocks too, but if it doesn't find the device, it won't find the > data. > > All the data is there, I can see it with testdisk, I just can't retrieve > or do anything with it.
try to issue command "mke2fs -n -v /dev/sdg1" which should give you hints on where could superblock backups be, for example: mke2fs 1.41.3 (12-Oct-2008) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 1224000 inodes, 4887776 blocks 244388 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 150 block groups 32768 blocks per group, 32768 fragments per group 8160 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000 Then, you can try to give those numbers to e2fsck: e2fsck -b 32768 /dev/sdg1 Hopefully one of those blocks will be real and working superblock. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Windows found: (R)emove, (E)rase, (D)elete -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org