Re: RH71 upgrade to RH80 - GRUB/LILO Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think I may have found a bug in the version of Grub that comes with RH8.

I had previously tried everything mentioned here on an upgraded RH71 -> 
RH8 machine, with the same results: "GRUB Read Error" being all I'm 
getting when I boot. So I grabbed a test box, installed RH71 on it, and 
then upgraded it to RH8. THEN, I yanked the grub RPM from the RH73 install 
CD, installed it, and created /boot/grub/grub.conf. Then I ran

lilo -u
grub-install /dev/hda
grub

and in the grub shell I ran

root (hd0,0)
setup (hd0)

When I rebooted, everything worked great! Then as a test, I installed the 
RH8 grub RPM and rebooted. Still worked, but the version number was wrong, 
so I got into the grub shell and re-ran the setup commands above. 
Rebooted... "GRUB Read Error".

I guess the next step is to report it as a bug?

On Thu, 12 Dec 2002, Neil Bird wrote:

> Around about 11/12/2002 20:01, Ben Brown typed ...
> > I have upgraded three machines from RedHat 7.1 to 8.0 in the last week, 
> > and in all three cases, LILO persists, even though I instruct the 
> > installer to upgrade the bootloader. Normally, I would just post that to 
> > bugzilla or whatever, but even when I manually install GRUB, it doesn't 
> > work.
> 
>    I had exactly the same thing, and had to spend ages reading around 
> grub to figure out how to get it going myself (*my* lilo now freezes on 
> MBR boot, so I had no choice).  Dunno about grub-install - missed that one.
> 
> - read 'info grub' for a bit.  Yes, there's too much there to take in!
> 
> I did (mostly forget, I'm afraid) something like, after setting up 
> (using installed/configured) grub.conf:
> 
> grub    # entre grub shell
> root (hd0,7)   # drive with grub.conf; see info help about 'find'
>        ^^^^^  don't rememeber the grub syntax OTTOMH either!
> setup (hd0)
> quit
> 
>    [note that if you have a /boot partition, you'll need 'find 
> /grub/grub.conf' not 'find /boot/grub/grub.conf' in grub]
> 
>    This, IIUC, says that the vmlinuz & grub.conf are on /dev/hda8 
> [that's my /boot part.] - 'root' command
>    Then the 'setup' writes grub to the /dev/hda MBR (can give a 
> partition if you want, and note that grub counts *all* HDs, ISE & 
> SCSI/ext from 0 as it finds them.
> 
> 
>    This caused me much grief, as I boot off my ABit mobo from 'ext' 
> (IDE66) not IDE0.  When booting CDROM (off RH CDs to fix this), /dev/hda 
> [my swap]  was grub's (hd0), my 'boot' drive, /dev/hde, was grub's (hd1).
> 
>    But, with my mobo set to boot from ext., it reorders so that /dev/hde 
> => (hd0) and /dev/hda => (hd1).  This meant that my grub.conf must ref. 
> the drives as they *will be at boot time*, but the grub command as 
> issued after CD boot must ref. them as they *are*.
> 
>    Took me a while and a series of grub 'find' commands to suss that one 
> out.
> 
> 

-- 
--------
Ben Brown
xthor@xthorsworld.com
http://www.xthorsworld.com/




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux