Possible confusion? The grub config file is menu.lst, which contains
things like
title xxx
root (hd0,4)
kernel /boot/vmlinuz root=/dev/md0
Some distros may call this grub.conf, and it's ultimately located under
/boot.
What I called /etc/grub.conf contains something like
setup --stage2=/boot/grub/stage2 (hd0,4) (hd0,4)
quit
which tells grub how to locate menu.lst. This file is only used when
installing grub into the disk's boot area.
> "The first action GRUB takes after it is loaded is to look for it's
> configuration file. If one is not found, then it drops into the
> command-line interface (and stays there).
Yes, and grub --batch <<EOF
setup --stage2=/boot/grub/stage2 (hd0,4) (hd0,4)
quit
EOF
tells grub where stage 2 is, like I said right at the start. (If you
--batch menu.lst into grub it'll probably just barf.)
If you shift your /boot (which contains menu.lst and vmlinuz.whatnot) to
a different partition, expect to have to reinstall the grub loader. You
guys are thinking about what happens after menu.lst (yeah that's all
automagic in grub), I am talking about what happens *before*.
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.