All of a sudden Ubuntu is not booting anymore

Discussion in 'all things UNIX' started by aigle, Apr 13, 2010.

Thread Status:
Not open for further replies.
  1. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,164
    Location:
    UK / Pakistan
    What should I do? o_O
     

    Attached Files:

    • 01.jpg
      01.jpg
      File size:
      197.6 KB
      Views:
      7
  2. Cudni

    Cudni Global Moderator

    Joined:
    May 24, 2009
    Posts:
    6,963
    Location:
    Somethingshire
    drive seem gone. what utils/diagnostic tools do you have to fix the errors and salvage data?
     
  3. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,164
    Location:
    UK / Pakistan
    Drive is ok as XP on another partition of same drive is booting fine. Data is not important and I have an image backed up few months backs but I was thinking it can be fixed!
     
  4. Pedro

    Pedro Registered Member

    Joined:
    Nov 2, 2006
    Posts:
    3,502
    Did you "fsck" as indicated?
     
  5. linuxforall

    linuxforall Registered Member

    Joined:
    Feb 6, 2010
    Posts:
    2,137
  6. Boot from the Ubuntu CD in rescue mode as linuxforall state, then run as root 'e2fsck -f /dev/sda7'.

    Also, get a backup hard drive. :blink:
     
  7. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Hi aigle,

    Your screen shot looks like you do not have a /proc and maybe a /sys and probably a /home in the .iso image your are attempteing to boot from - if that is what you are indeed attempting to do. I say this from the experience of getting the same messages as your screen shot when I built a custom .iso image of Ubuntu 9.10 without /proc and /sys.

    Otherwise, it looks like you do not have such directories in your installation and if you do check everything with a Live CD bootup and in fact do have those directories, then look at their privileges.

    -- Tom
     
  8. chronomatic

    chronomatic Registered Member

    Joined:
    Apr 9, 2009
    Posts:
    1,343
    As Gullible Jones said, first boot into a livecd and run fsck as he illustrated. Then, if you are able to boot back into Ubuntu, the next thing you should do is:

    Code:
    sudo apt-get install smartmontools
    After that install, then run:

    Code:
    smartctl --test=short /dev/sda
    This will run a short test on the hard drive. After a few seconds, run:

    Code:
    sudo smartctl -H
    This will give you the health status of your hard disk.

    If you want a more in depth analysis, run a long test:

    Code:
    smartctl --test=long /dev/sda
    Then run "sudo smartctl -H" again.

    These tests should give you a good indication on whether it's time to replace the disk.
     
  9. aigle

    aigle Registered Member

    Joined:
    Dec 14, 2005
    Posts:
    11,164
    Location:
    UK / Pakistan
    Hi, thanks all of you really. Sorry i could not respond as was really so busy.

    I just tried fsck /dev/sda7 after the above screen. A couple of disk scan passes and a couple of questions, I replied Yes to all and now it,s all OK. File system fixed. Also the disk is healthy.

    BTW I have no Grun installed as I am dual booting Ubuntu and XP with Comodo Time Machine installed in windows MBR. I boot linux partitions via Super Grub Disk CD.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.