bug-grub
[Top][All Lists]
Advanced

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

Grub installs correctly, but doesn't load menu.lst


From: Johan Simon Seland
Subject: Grub installs correctly, but doesn't load menu.lst
Date: 04 Sep 2001 10:20:14 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7

Hello, tonight I tried to convert a friends machine to dual boot W98
and Linux (RH7.1). But I ran into some trouble when setting up the
bootloader. 

The layout of the devices on the IDE controller is:

(hd0,*)        Old and ountouched W98 partitions (6.5 GB)
/dev/hdc       CD-RW
(hd1,*)        New disk for Linux only          (13 GB)

(This layout is to not upset the W98 configuration, I could not get
the machine to identify both HD's when they were on the same channel.)

Installation to /dev/hdd was successfull, and the layout is

(hd1,0)       /boot (50MB) (/dev/hdd1
(hd1,4)       swap  (256MB) (/dev/hdd5)
(hd1,5)       /     The rest (/dev/hdd6)


I've installed GRUB 0.90 from the Rawhide RPMS, and issued the
/boot/boot hack (cd /boot && ln -s . boot/)

Then:
# grub-install --root-directory=/boot /dev/hda

I've also created a (hd1,0)/grub/menu.lst (symlinked to
(hd1,0)/boot/grub/menu.lst like this

---------- menu.lst ----------
timeout 10
default 0

title Linux
root (hd1,0)
kernel (hd1,0)/boot/vmlinuz root=/dev/hdd6 ro

title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
---------- menu.lst ----------

Grub reports no errors found and seems happy. When I boot the machine
it boots into the GRUB shell, and doesn't load menu.lst. I can't tell
if it prints any error messages or not. The screen scrolls very fast
before it jump into the GRUB shell.

However issuing configfile (hd1,0)/boot/grub/menu.lst loads the menu
and the entries works fine.

I have also tried grub-install with all combinations of
--root-directory, --force-lba, --recheck to no avail.

Any ideas?

(BTW, machine is a Celeron 466 on a Gigabyte 6BXE mainboard, SB128,
NE2000PCI, El Cheapo graphics adapter. (hd0) is a Western Digital disk
of some kind, (hd1) is a Quantum Fireball)

-- 
Jos^2e



reply via email to

[Prev in Thread] Current Thread [Next in Thread]