Missing Operating System after trying to upgrade to Ubuntu 11

Posted by Mauricio on Ask Ubuntu See other posts from Ask Ubuntu or by Mauricio
Published on 2012-04-14T17:00:53Z Indexed on 2012/04/14 17:42 UTC
Read the original article Hit count: 388

Filed under:
|
|
|

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/sda1
Couldn`t find valid filesystem superblock

Unable to read the contents of this filesystem!

  • From
    sudo fdisk -l
    I got:

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: 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 / Solaris

Disk /dev/sdb: 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: 0x000c3c41

Device Boot Start End Blocks Id System /dev/sdb1
* 63 625137344 312568641 c W95 FAT32 (LBA) "

  • and from
    sudo fdisk /dev/sda1
    I got

fdisk: unable to read
/dev/sda1: Inappropriate ioctl for device`

  • From
    sudo mount /dev/sda1 /mnt
    I 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-grub
    I got:

error: cannot read from `/dev/sda'.
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

© Ask Ubuntu or respective owner

Related posts about grub2

Related posts about boot-failure