LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2012, 12:10 PM   #1
fingersales
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Rep: Reputation: Disabled
Unhappy Missing Operating System after trying to upgrade to Ubuntu 11


Hello 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 these results.

Now I get "Missing Operating System" when 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?).
 
Old 04-14-2012, 01:17 PM   #2
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
Looks like you might have damaged your superblock.

You may be able to restore it with e2fsck.

read this.

http://www.cyberciti.biz/tips/surviv...-failures.html
 
Old 04-14-2012, 01:56 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,033

Rep: Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310
Quote:
After trying to upgrade from Ubuntu 10.04 to 11, the upgrading process stopped when running
Does that mean it completed and you got a message indicating so? or did it just stop with no indication?
How did you try to upgrade? Generally speaking, you would need to upgrade from version to version, 10.04 to 10.10, 10.10 to 11.04,etc.
I have Ubuntu 10.10 installed though I don't use it often and when booting it yesterday, I got the message that it needs to updated. Did some googling on it and there seem to be a number of web sites with explanations.
 
Old 04-14-2012, 03:35 PM   #4
fingersales
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by mreff555 View Post
Looks like you might have damaged your superblock.

You may be able to restore it with e2fsck.

read this.

http://www.cyberciti.biz/tips/surviv...-failures.html
Hello! Thank you very much for sharing this tool. Some advances we've made, but unfortunately it still didn't solve.

I ran e2fsck and gave "yes" to the fix questions it made to me. It appears to worked well.

Then I tried Disk Utility and got "Disk is healthy". Short Self-test has run ok as well.


Gparted says
Flags: boot
Status: not mounted
But no warning anymore.

but from
fdisk /dev/sda1
I got
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xc74f27fe.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)


I still get "Missing Operating System" and, worst than before, after choosing "Try Ubuntu" from my live USB version, I reach a black screen!!!

Should I "Install Ubuntu"? And what about my previous files?

I accept installing all from scratch, but I need to make a huge backup from my files before, but I cant even see them.
 
Old 04-14-2012, 03:41 PM   #5
fingersales
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Does that mean it completed and you got a message indicating so? or did it just stop with no indication?
Actually, when I came home, my pc was shut down. I even dont know if the process got finish.

Quote:
Originally Posted by yancek View Post
How did you try to upgrade? Generally speaking, you would need to upgrade from version to version, 10.04 to 10.10, 10.10 to 11.04,etc.
Yes, I upgraded to 11.04. I was upgrading to 11.10.

Quote:
Originally Posted by yancek View Post
I have Ubuntu 10.10 installed though I don't use it often and when booting it yesterday, I got the message that it needs to updated. Did some googling on it and there seem to be a number of web sites with explanations.
I followed the official procedure: from the Update Manager. Just clicked on it and watched the process.
 
Old 04-14-2012, 06:45 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,033

Rep: Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310Reputation: 1310
I just updated Ubuntu 10.10 to 11.04 with no problems. I don't use it often so didn't have many directories/files in my /home directory but the ones I had previously were still there after the upgrade as were the firefox bookmarks. Didn't really have much else. I used the instructions at the site below:

https://help.ubuntu.com/community/NattyUpgrades

While I was looking for this site, I found a number of other sites for upgrades to different versions.

Quote:
Yes, I upgraded to 11.04. I was upgrading to 11.10.
So you successfully upgraded to 111.04, it worked and you were then trying to upgrade to 11.10, is that correct?

Quote:
Actually, when I came home, my pc was shut down. I even dont know if the process got finish.
Well, the problem might be right there? If no one knows what happened there, you will probably need to backup and do a fresh install.
When you "Try Ubuntu" from the CD, how long do you wait? I've had the black screen previously with an Ubuntu CD and I'll reboot the CD and it will work the next time. Try it a few times. If you can boot it or any Linux CD, you should be able to backup your files.
 
Old 04-14-2012, 07:16 PM   #7
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: OpenBSD
Posts: 1,646
Blog Entries: 8

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
I see some really good advice and information in the responses. I hope it can help you.
Quote:
Originally Posted by fingersales View Post
I accept installing all from scratch, but I need to make a huge backup from my files before, but I cant even see them.
But at the risk of appearing to be a jerk, why on Earth did you undertake two successive up-grades without up-dating your back-up files first? For future reference, remember that any procedure involving changes to the system has the potential for trouble. Always up-date your back-up files before altering your system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Operating System after ubuntu install mkab Linux - Laptop and Netbook 5 10-12-2011 07:33 AM
installed ubuntu over windows now says missing operating system chadlaman Linux - Newbie 19 11-17-2010 12:34 AM
Ubuntu 10.04 live usb missing operating system? grahamcrackeh Linux - Newbie 8 09-13-2010 04:57 PM
error during Ubuntu install, now says "Missing Operating System" DJGCrusader Linux - Newbie 6 08-11-2007 07:12 PM


All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration