Topic: [Solved]Ubuntu10.04-Ext4-Gparted0.5.2-9-error after partition shrink
Ubuntu is installed on /dev/sda1, which I recently resized to make approximately 100gb of unallocated space. After the resize, Ubuntu will drop to an intramfs shell instead of booting. Attempting to mount /dev/sda1 fails, pointing me to dmesg. Dmesg outputs this:
EXT4-fs: bad geometry: block count (large number) exceeds size of device (another large number) blocks
fdisk -l -u output:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders total 625142448 sectors
Units = sectors of 1*512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk Identifier: 0x00013224
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 391134554 195566253+ 83 Linux
/dev/sda2 601751550 625141759 11695105 5 Extended
/dev/sda5 601751552 625141759 11695104 82 Linux swap/Solaris
parted /dev/sda unit s print output:
Model: ATA WDC WD3200BEVT-6 (scsi)
Disk /dev/sda: 625142448s
Sector size (logical/physical) 512B/512B
Partition table: msdos
Number Start End Size Type File System Flags
1 2048s 391134554s 391132507s primary ext4 boot
2 601751550s 625141759s 23390210s extended
5 601751552s 625141759s 23390208s logical linux-swap(v1)
The megabyte of unused space before sda1 was present before partitioning. sda1 contained approximately 17gb of data at the start of the partition before the resize. The partition has not been moved, only resized. I do not believe that any data has been written to it.
This is not my computer, and the only backups (if any) would be on a external hard drive that broke a few months ago. Therefore, it would be best if the system could be restored to working order without reformatting/reinstalling. As GParted has left my data untouched in the past, I assumed that it would do so this time. Of course, it's my fault that I didn't make a backup first.
Any and all help is greatly appreciated.