Hi guys,
I tried to resize my system partition (ext3), because I deleted my WinXP installation and the partition which held it. So I had some space before and after my Kubuntu system partition.
'fdisk -l /dev/sda' gave me:
Then I followed the instructions on http://www.howtoforge.com/linux_resi..._partitions_p2 to resize the partition to the maximum. To do so I used a Kubuntu 8.04 live CD.
The resizing of the partition went well,
but after the reboot, when I tried to execute 'e2fsck -f /dev/sda3' I got:
After some reading I found 'mke2fs -n /dev/sda3':
So I tried to use the backup superblocks with commands like 'e2fsck -b 32768 /dev/sda3' (for the other blocks mentioned above respectively):
I'm sure, that /dev/sda3 is not mounted. So for now, I'm clueless how to fix the filesystem. It would bad if I'd loose the data.
Thanks for your help in advance.
Cheers,
Cornelius
I tried to resize my system partition (ext3), because I deleted my WinXP installation and the partition which held it. So I had some space before and after my Kubuntu system partition.
'fdisk -l /dev/sda' gave me:
Code:
/dev/sda 80.0 GB 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 825280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 128 1461883+ 82 Linux swap / Solaris /dev/sda3 2551 5099 20474842+ 83 Linux
The resizing of the partition went well,
Code:
root@ubuntu:/home/ubuntu# fdisk -l /dev/sda Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 182 1461883+ 82 Linux swap / Solaris /dev/sda3 183 9729 76686277+ 83 Linux
Code:
e2fsck 1.40.8 (13-Mar-2008) e2fsck: Superblock invalid, trying backup blocks... e2fsck: Bad magic number in super-block while trying to open /dev/sda3 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>
Code:
mke2fs 1.40.8 (13-Mar-2008) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 4800512 inodes, 19171569 blocks 958578 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 586 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424
Code:
e2fsck 1.40.8 (13-Mar-2008) e2fsck: Device or resource busy while trying to open /dev/sda3 Filesystem mounted or opened exclusively by another program?
Thanks for your help in advance.
Cheers,
Cornelius
Comment