Grub starts in shell, not loading OS rh8 --partly solved with lilo

Paal Marker paal at barum.folkebibl.no
Fri May 21 10:24:38 UTC 2004


Paal Marker wrote:

> rh8
>
> Installed a rh8 system on an old compaq deskpro EN and had some 
> problems installing. Diskdruid used the /dev/hdc as main partitition. 
> On earlier installations it has allways used /dev/hda. Swap installed 
> on /dev/hdc2.
>
> When booting without the boot diskette Grub does not load the linux 
> OS, but starts with the grub-commandline. Booting from diskette goes ok.
>
> I paste in here the /boot/grub/grub.conf,  and from the bood diskette 
> syslinux.cfg
>
> Do anyone have suggestions for how to configure grub.conf?
>
>
>
> This is /boot/grub/grub.conf
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this 
> file
> # NOTICE:  You do not have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /, eg.
> #          root (hd0,0)
> #          kernel /boot/vmlinuz-version ro root=/dev/hdc1
> #          initrd /boot/initrd-version.img
> #boot=/dev/hdc
> default=0
> timeout=10
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> title Red Hat Linux (2.4.18-14)
>    root (hd0,0)
>    kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/
>    initrd /boot/initrd-2.4.18-14.img
>
> Looks for me normal
>
>
> This is /mnt/floppy syslinux.cfg
>
> default linux
> prompt 1
> display boot.msg
> timeout 100
> label linux
>    kernel vmlinuz
>    append initrd=initrd.img ro  root=/dev/hdc1
>
>
As it was a minimized installation, I took the time to re-install and 
choose LILO instead of Grub as os-loader. Then everything booted ok. 

Grub did not work either from MBR or if it was installed on the first 
part of disk.





More information about the redhat-list mailing list