Building Grub into a Linux doesn't create the menu.lst. It doesn't even copy the stage1 and stage2 files when I followed Append A of GNU/Grub Grub Manual.
You need to locate the stage1 and stage2 files first and change directory to it. If you download the Grub 0.97 then it will be called /......./grub-0.97. You first change root to it.
First you make the necessary directory and copy stage1 and stage2 across
Code:
mkdir /boot/grub
cp stage1/stage1 /boot/grub
cp stage2/stage2 /boot/grub
Now you can set up Grub in the mbr which is (hd0) and also hdb5 (hd1,4). The latter is optional which I shall explain later.
To set Grub up the best way is to do it in a Grub shell which you can either do it after "chroot" into Slackware or boot up a Live CD that has Grub inside.
Code:
grub
root (hd1,4)
setup (hd0)
setup (hd1,4)
When you reboot you only have a Grub prompt. I recommend all Linux user try to boot your Linux up
manually by a Grub prompt because the power is truly amazing. I could not find a system that cannot be booted by a Grub prompt!!!
In a Grub prompt you fire up Slackware by
Code:
root (hd1,4)
kerenl /boot/vmlinuz ro root=/dev/hdb5
boot
This is because the standard Slackware's kernel is just call vmlinuz and it doesn't use a ram disk so no initrd to bother with
To fire up Windows you type
Code:
root (hd0,0)
chainloader +1
boot
To fire up Slackware again by chainloading technique after you set it up with "setup (hd1,4)" you type
Code:
root (hd1,4)
chainloader +1
boot
Now you wonder why I go into so much bother to show you how to boot the systems manually but as you may see it now the manual instructions are the ingredients you need to compile the menu.lst which should look like this
Code:
#How about creating your own menu.lst
title Dumb dude said I could boot Slackware @ hdb5 here
root (hd1,4)
kerenl /boot/vmlinuz ro root=/dev/hdb5
title Dumb dude said XP is booted here at hda1
root (hd0,0)
chainloader +1
titel the dumbest thing is I could boot a Linux is hdb5 like a Windows
root (hd1,4)
chainloader +1