fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

GRUB issues - Ubuntu

This is a discussion on GRUB issues - Ubuntu ; I am having issues booting my Ubuntu 8.04 box after an upgrade. It has been a while since I had this problem so I am not sure my memory is clear on how I even got here! When I boot ...


Fix Unix > Linux > Ubuntu > GRUB issues

Reply
 
LinkBack Tools
  #1  
Old 11-05-2008, 04:57 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default GRUB issues

I am having issues booting my Ubuntu 8.04 box after an upgrade. It has
been a while since I had this problem so I am not sure my memory is
clear on how I even got here!

When I boot my machine, I get watch grub

Searching for Boot Record from IDE-0 OK
GRUB Loading stage 1.5

Here the system just sits for about 30 seconds and then finally says:

GRUB loading, please wait

I can enter the GRUB menu and see that I have the following entry:

root (hd0,7)
kernel /vmlinuz-2.6.24-21-generic
root=UUID=ee13039d-8f86-4d78-86f2-586c1b91d875 ro
initrd /initrd.img-2.6.24-21-generic

When I boot this kernel I see:

a bunch fly by:

ata1:SRST failed (errno=-16)
ata2.00: ATAPI: FX54++W, U016, max UDMA/33
ata2.00: configured for UDMA/33
scsi 1:0:0:0: CDROM MITSUMI CD_ROM FX43++W U01G PQ: 0 ANSI: 5
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 54x/54x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi generic sg0 type 5

and then is just hangs for a while (minutes?)
and then:

Done.
Check root= bootarg cat /proc/cmdline
or missing modules, devices: cat /proc/modules ls /dev

ALERT! /dev/disk/by-uuid/ee13039d-8f86-4d78-86f2-586c1b91d875 does
not exist Dropping to a shell!

and then I get the BusyBox shell, from which I can do very little.

I can boot from a CD and mount all of the partitions and from the
contents I know that:

/dev/sda5 is /
/dev/sda6 is swap
/dev/sda7 is /home
/dev/sda8 is /boot

From the script at:
http://ubuntuforums.org/archive/index.php/t-593796.html
I see that the UUID for sda8 is ee13039d-8f86-4d78-86f2-586c1b91d875

Can anyone give me a clue why the kernel isn't loading?


Thank in Advance,

Sean
Reply With Quote
  #2  
Old 11-06-2008, 03:39 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: GRUB issues

On 2008-11-05, Sean Keesler wrote:
> I am having issues booting my Ubuntu 8.04 box after an upgrade. It has
> been a while since I had this problem so I am not sure my memory is
> clear on how I even got here!
>
> When I boot my machine, I get watch grub
>
> Searching for Boot Record from IDE-0 OK
> GRUB Loading stage 1.5
>
> Here the system just sits for about 30 seconds and then finally says:
>
> GRUB loading, please wait
>
> I can enter the GRUB menu and see that I have the following entry:
>
> root (hd0,7)
> kernel /vmlinuz-2.6.24-21-generic
> root=UUID=ee13039d-8f86-4d78-86f2-586c1b91d875 ro
> initrd /initrd.img-2.6.24-21-generic
>
> When I boot this kernel I see:
>
> a bunch fly by:
>
> ata1:SRST failed (errno=-16)
> ata2.00: ATAPI: FX54++W, U016, max UDMA/33
> ata2.00: configured for UDMA/33
> scsi 1:0:0:0: CDROM MITSUMI CD_ROM FX43++W U01G PQ: 0 ANSI: 5
> Driver 'sr' needs updating - please use bus_type methods
> sr0: scsi3-mmc drive: 54x/54x cd/rw xa/form2 cdda tray
> Uniform CD-ROM driver Revision: 3.20
> sr 1:0:0:0: Attached scsi generic sg0 type 5
>
> and then is just hangs for a while (minutes?)
> and then:
>
> Done.
> Check root= bootarg cat /proc/cmdline
> or missing modules, devices: cat /proc/modules ls /dev
>
> ALERT! /dev/disk/by-uuid/ee13039d-8f86-4d78-86f2-586c1b91d875 does
> not exist Dropping to a shell!
>
> and then I get the BusyBox shell, from which I can do very little.
>
> I can boot from a CD and mount all of the partitions and from the
> contents I know that:
>
> /dev/sda5 is /
> /dev/sda6 is swap
> /dev/sda7 is /home
> /dev/sda8 is /boot
>
> From the script at:
> http://ubuntuforums.org/archive/index.php/t-593796.html
> I see that the UUID for sda8 is ee13039d-8f86-4d78-86f2-586c1b91d875
>
> Can anyone give me a clue why the kernel isn't loading?


It's pretty clear that your /boot partition isn't mounting. Since it
appears that grub is also having a hard time reading it, there may be
a problem. Have you tried running fsck on the /dev/sda8 partition?


--
Joe - Linux User #449481/Ubuntu User #19733
joe at hits - buffalo dot com
"Hate is baggage, life is too short to go around pissed off all the
time..." - Danny, American History X
Reply With Quote
  #3  
Old 11-06-2008, 02:19 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: GRUB issues

Joe wrote:
> On 2008-11-05, Sean Keesler wrote:
>> I am having issues booting my Ubuntu 8.04 box after an upgrade. It has
>> been a while since I had this problem so I am not sure my memory is
>> clear on how I even got here!
>>
>> When I boot my machine, I get watch grub
>>
>> Searching for Boot Record from IDE-0 OK
>> GRUB Loading stage 1.5
>>
>> Here the system just sits for about 30 seconds and then finally says:
>>
>> GRUB loading, please wait
>>
>> I can enter the GRUB menu and see that I have the following entry:
>>
>> root (hd0,7)
>> kernel /vmlinuz-2.6.24-21-generic
>> root=UUID=ee13039d-8f86-4d78-86f2-586c1b91d875 ro
>> initrd /initrd.img-2.6.24-21-generic
>>
>> When I boot this kernel I see:
>>
>> a bunch fly by:
>>
>> ata1:SRST failed (errno=-16)
>> ata2.00: ATAPI: FX54++W, U016, max UDMA/33
>> ata2.00: configured for UDMA/33
>> scsi 1:0:0:0: CDROM MITSUMI CD_ROM FX43++W U01G PQ: 0 ANSI: 5
>> Driver 'sr' needs updating - please use bus_type methods
>> sr0: scsi3-mmc drive: 54x/54x cd/rw xa/form2 cdda tray
>> Uniform CD-ROM driver Revision: 3.20
>> sr 1:0:0:0: Attached scsi generic sg0 type 5
>>
>> and then is just hangs for a while (minutes?)
>> and then:
>>
>> Done.
>> Check root= bootarg cat /proc/cmdline
>> or missing modules, devices: cat /proc/modules ls /dev
>>
>> ALERT! /dev/disk/by-uuid/ee13039d-8f86-4d78-86f2-586c1b91d875 does
>> not exist Dropping to a shell!
>>
>> and then I get the BusyBox shell, from which I can do very little.
>>
>> I can boot from a CD and mount all of the partitions and from the
>> contents I know that:
>>
>> /dev/sda5 is /
>> /dev/sda6 is swap
>> /dev/sda7 is /home
>> /dev/sda8 is /boot
>>
>> From the script at:
>> http://ubuntuforums.org/archive/index.php/t-593796.html
>> I see that the UUID for sda8 is ee13039d-8f86-4d78-86f2-586c1b91d875
>>
>> Can anyone give me a clue why the kernel isn't loading?

>
> It's pretty clear that your /boot partition isn't mounting. Since it
> appears that grub is also having a hard time reading it, there may be
> a problem. Have you tried running fsck on the /dev/sda8 partition?
>
>


Thanks, Joe.

The file system mounts fine from the command line (mount -t ext3
/dev/sda8 /mnt/disk8) when I boot from a cd. fsck reports the file
system clean.

Since the kernel and the grub menu is on sda8, and the kernel starts and
gives me all of those messages I reported, I don't really get what is
happening here.

Sean
Reply With Quote
  #4  
Old 11-06-2008, 04:31 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: GRUB issues

Sean Keesler wrote:
> Joe wrote:
>> On 2008-11-05, Sean Keesler wrote:
>> The file system mounts fine from the command line (mount -t ext3

> /dev/sda8 /mnt/disk8) when I boot from a cd. fsck reports the file
> system clean.
>
> Since the kernel and the grub menu is on sda8, and the kernel starts and
> gives me all of those messages I reported, I don't really get what is
> happening here.


IMHO, you should be concentrating on the error message you are receiving:

Check root= bootarg cat /proc/cmdline
>>> or missing modules, devices: cat /proc/modules ls /dev


I did a quick Google check on this error message and it would appear
that it can be generated from driver resolution problems, failing
hardware etc.
Reply With Quote
  #5  
Old 11-07-2008, 05:36 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: GRUB issues

propman wrote:
> Sean Keesler wrote:
>> Joe wrote:
>>> On 2008-11-05, Sean Keesler wrote:
>>> The file system mounts fine from the command line (mount -t ext3

>> /dev/sda8 /mnt/disk8) when I boot from a cd. fsck reports the file
>> system clean.
>>
>> Since the kernel and the grub menu is on sda8, and the kernel starts
>> and gives me all of those messages I reported, I don't really get what
>> is happening here.

>
> IMHO, you should be concentrating on the error message you are receiving:
>
> Check root= bootarg cat /proc/cmdline
> >>> or missing modules, devices: cat /proc/modules ls /dev

>
> I did a quick Google check on this error message and it would appear
> that it can be generated from driver resolution problems, failing
> hardware etc.


When I boot from the CDROM, I can see that the directories for
/dev/disk/by-uuid contains symbolic links:

ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2008-11-07 04:56
7e53ac26-8a73-49fa-b156-8f09632c5d4d -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-11-07 04:56
b5ce6114-6c42-48f3-a186-5828c2ebf8b2 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-11-07 04:56
cd243cef-b2af-4a75-9c74-1f0c40430585 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-11-07 04:56
ee13039d-8f86-4d78-86f2-586c1b91d875 -> ../../sda8


However, those same symbolic links are not present when the system boots
from a kernel in /dev/sda8

So, although GRUB finds the kernel and it starts booting, something is
looking for stuff in
/dev/disk/by-uuid/ee13039d-8f86-4d78-86f2-586c1b91d875, but it doesn't
exist.

Instead I get sent to the BusyBox command line:

(initramfs) ls /dev/disk
by-path
(initramfs) ls /dev/disk/by-path
pci-0000:00:02.5-scsi-1:0:0:0

How do I fix that? What is responsible for setting up that structure?
Reply With Quote
  #6  
Old 01-28-2010, 09:17 PM
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default Re: GRUB issues

I got this same problem and has been resolved by follwing simple steps in the web link below. Hopefully it will work for you too..

http://khatrinetworks.blogspot.com/2...dules-cat.html
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Processed: Patch for Bug#502446: grub-installer is not updated for grub-pc introduction unix Debian 0 10-19-2008 03:30 AM
new install, GRUB issues unix Suse 7 09-03-2008 02:58 AM
Bug#470894: grub-installer: user parameters are not added to grub.cfg for grub2 unix Debian 0 03-14-2008 11:40 AM
Bug#465235: grub-installer: kernel-img.conf hooks should call /usr/sbin/update-grub unix Debian 2 02-11-2008 01:00 PM
Bug#442443: marked as done (grub-installer: Please do not store the GRUB password in cleartext) unix Debian 0 10-27-2007 02:20 PM


All times are GMT. The time now is 08:22 AM.