XPM image- Changing the Default Grub Image

Paul Howarth paul at city-fan.org
Fri Oct 1 11:22:18 UTC 2004


Rajiv wrote:
> I have done the following,
> 
> 1.  made a new file splash.xpm.gz
> 2.  #grub-install /dev/hda
> 3. grub
>       grub>  root (hd0,2)
>       grub>  install /grub/stage1 (hd0) /grub/stage2 p /grub/menu.lst
>       grub>  quit
> 
> When I rebooted my system goes to the grub screen. Again I had to enter 
> entering rescue mode to alter all changes to boot sucessfully.

So, does your new splash image appear properly?

Your /boot partition is /dev/hda3 and / is /dev/hda5?

Whe  you're in grub, do all of the following commands return (hd0,2)?

find /grub/stage1
find /grub/stage2
find /grub/menu.lst

Does the command

configfile /grub/menu.lst

bring up your menu?

> I have attached my grub.conf for your reference.
> 
...

> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,2)
> #          kernel /vmlinuz-version ro root=/dev/hda5
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,2)/grub/splash.xpm.gz
> title Red Hat Linux 9.0
>         root (hd0,2)
>         kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
>         initrd /initrd-2.4.20-8.img
> title Window Xp Prof
>         rootnoverify (hd0,0)
>         chainloader +1

Curious. Your menu says "Red Hat Linux 9.0" but you appear to be booting a 
rather old Red Hat 8.0 kernel...

Paul.




More information about the fedora-list mailing list