Missing Operating System after trying to upgrade to Ubuntu 11
- by Mauricio
there!
After trying to upgrade from Ubuntu 10.04 to 11, the upgrading process stopped when running and then I got an "out of disk, grub rescue" message when booting.
After running Boot Repair, I got this results.
Now I get "Missing Operating System" whent trying to boot.
Bellow I show some results from some commands I gather from help foruns, but I still reached no solution.
Could you please help me? Any enlightment will be very helpful!
Disk Utility says "Disk has a few bad sectors". When trying to run
the Self-test I get "FAILED (Read)"
Here we have what Gparted says about the /dev/sda1 partition (ext4):
Flags: boot
Status: not mounted
Warning:
e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1Couldn`t find valid filesystem superblockUnable to read the contents of this filesystem!
From sudo fdisk -lI got:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000e0596
Device Boot Start End Blocks Id System/dev/sda1 * 2048 607428607 303713280 83 Linux/dev/sda2 607430654 625141759 8855553 5 Extended/dev/sda5 607430656 625141759 8855552 82 Linux swap / SolarisDisk /dev/sdb: 320.1 GB, 320072933376 bytes255 heads, 63
sectors/track, 38913 cylinders, total 625142448 sectorsUnits =
sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512
bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3c41
Device Boot Start End Blocks Id System /dev/sdb1
* 63 625137344 312568641 c W95 FAT32 (LBA) "
and fromsudo fdisk /dev/sda1I got
fdisk: unable to read
/dev/sda1: Inappropriate ioctl for device`
From sudo mount /dev/sda1 /mntI got:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
From sudo update-grubI got:
error: cannot read from `/dev/sda'.
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).