Author Topic: Unable to boot Ubuntu  (Read 5350 times)

0 Members and 1 Guest are viewing this topic.

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Unable to boot Ubuntu
« on: April 08, 2012, 05:28:07 pm »
I am at the moment unable to boot my laptop in ubuntu. windows works fine. The problem started when I updated Ubuntu and agot to the reboot bit. I was not quick enough to make it boot Ubuntu and it started windows which went into errer checking. once it finished Linux will not boot.
I have tryed using Grub boot loader from a cd but it cannot find any grub config files and can only find windows OS. Is my only option to uninstall linux and reinstall?
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #1 on: April 08, 2012, 05:38:07 pm »
First step would be to boot to a LiveCD or LiveUSB, and see if it can read the Linux partitions of your hard drive .. if not, try (from the LiveCD) try running fsck on your Linux partition(s).
« Last Edit: April 10, 2012, 10:26:41 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Unable to boot Ubuntu
« Reply #2 on: April 08, 2012, 06:07:38 pm »
Sounds like Windows bootloader has overwritten the files for GRUB in the MBR. You'll need to reinstall GRUB 2.
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #3 on: April 08, 2012, 06:23:52 pm »
It was my interpretation that GRUB was still present, but not booting Linux .. though I could be wrong.

@Markems0

Do you still see the GRUB boot menu ? .. how about when you hold the "Shift" key whilst booting ?

Which version of Windows, and Ubuntu are we talking about ?

If you boot to a liveCD, what is the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid

And what are the contents of the /boot/grub/grub.cfg file (the one on the hard drive, not the one on the LiveCD).
« Last Edit: April 08, 2012, 06:41:48 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Re: Unable to boot Ubuntu
« Reply #4 on: April 08, 2012, 09:03:49 pm »
I still have the option to boot Ubuntu when I turn on the laptop. But I just end up with a comand line grub>. The windows is XP sp3, Ubuntu 11.04 or 11.10  not sure. I am downloading Ubuntu to make a live cd.
« Last Edit: April 08, 2012, 09:06:07 pm by Markems0 »
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Re: Unable to boot Ubuntu
« Reply #5 on: April 10, 2012, 09:39:41 am »
When i try to boot Ubuntu I get
GNU Grub Version 1.99-12 ubuntu
Minimal BASH-like line edditing is suported. For the first word TAB list possible command completions. Anywhere else TAB lists posibble device or file completions.
grub>

so I press TAB and get

Possible commands are:
.[ authenticate background-color background-image badram boot break clear cofigfile continue cutmem echo export extract-entries-configfile extract-entries-source initrd imsmod linux loadfront loopback is LSfont menuentry normal normal-exit probe return search search.file search.fs-lable search.fs-uuid set setparams shift source submenu terminal-input terminal-output test unset
grub>

Do that help at all. I have to down load Ubuntu again to a machine that will write cd's, will then let you know the answers to the above Q
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #6 on: April 10, 2012, 10:23:28 am »
No, not really .. ATM I'm suspecting either a filesystem error, or that Windows chkdsk changed the UUID of the Ubuntu partition .. so the first things we need to do is run fsck (from the LiveCD), then if necessary get the *actual* UUID of the partitions and see if it matches the boot stanza in /boot/grub/grub.cfg .. then either fix the stanza, or reinstall GRUB.
« Last Edit: April 10, 2012, 10:28:15 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Re: Unable to boot Ubuntu
« Reply #7 on: April 10, 2012, 09:00:57 pm »
Hi.
I am now running on the live cd. I have a screen shot with both of the results requested.

Have Looked at the Boot / grub folder and there is nothing in it. I am guessing that is the problem or at least one of then???
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #8 on: April 10, 2012, 09:18:41 pm »
Oh cr*p .. we're talking abut a WUBI install as there are NO Linux partitions at all .. so Linux must be installed in a folder inside Windows.

Correct ?

If you boot to Windows, is there a directory at C:\Ubuntu .. or similar ?

or is there an option in Control Panel > Add/Remove Programs to uninstall Ubuntu ?

If so, I'll have to do some homework .. and find out if it's fixable at all.

I've never tried to fix a WUBI installation.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Re: Unable to boot Ubuntu
« Reply #9 on: April 10, 2012, 09:45:36 pm »
Yes it is a duel boot in a folder on C:/ubuntu
Nice to know there is still something that has make you think.
« Last Edit: April 10, 2012, 09:58:19 pm by Markems0 »
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #10 on: April 10, 2012, 10:02:21 pm »
A WUBI install isn't the only way to achieve a dual boot system ;)

I'll see what I can find about fixing the boot config in a WUBI installation .. but I wouldn't hold your breathe .. if it were a "proper" installation into a Linux partition rather than a WUBI hybrid thingy, it would be an easy fix, but I have no experience of WUBI installations, just "proper" ones.

IMHO, WUBI sucks .. good for a test drive, but not for a full permanent installation, as if/when things go wrong, your stuffed with a WUBI hybrid virtual disk type installation.
« Last Edit: April 10, 2012, 10:05:35 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Re: Unable to boot Ubuntu
« Reply #11 on: April 10, 2012, 10:19:24 pm »
Thanks. It was only a test drive of Ubuntu but I like it and have lots of things installed within it so would like to keep it for now,but if it has to be a new install then it is.
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #12 on: April 10, 2012, 10:49:22 pm »
I take it the GRUB menu is still being displayed when you turn on your PC ?

if so, use the arrow keys to select Ubuntu, then instead of hitting Enter (to boot) hit the E key (to edit the boot stanza) .. now write down what is displayed, and post it back here.

you can then hit Esc to leave the "edit" and boot into Windows.

But I need the info there.

Can you also let me know which version of Ubuntu you have installed through WUBI ?



I'm expecting something like (but it may not be *exactly* the same):-

Quote
insmod ntfs
set root=(hd0,1)
loopback (loop0) /ubuntu/disks/root.disk
set root=(loop0)
linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
initrd /initrd.img
boot
« Last Edit: April 10, 2012, 11:03:11 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Markems0

  • Full Member
  • ***
  • Posts: 105
  • Karma: 0
  • Gender: Male
  • I work too much
    • View Profile
    • Flocking in Yorkshire
    • Awards
Re: Unable to boot Ubuntu
« Reply #13 on: April 10, 2012, 11:12:01 pm »
Hi. I have tryed that and nothing happens :'(
Nothing at all
Wake up, work, Pub, Sleep
Wake up, More work, Pub, sleep
Wakeup, More work, Eat, Pub again, Sleep
Wake up with?????

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8884
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Unable to boot Ubuntu
« Reply #14 on: April 10, 2012, 11:18:12 pm »
Is it the GRUB interface you're looking at, or the Windows bootloader ?

Does the menu look like this -


and if you select Ubuntu, and hit the E key .. does a window  like this appear -

« Last Edit: April 10, 2012, 11:25:57 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal