On Fri, Mar 14, 2008 at 10:26 PM, Agnello George
<[EMAIL PROTECTED]> wrote:

>  So let me guess when we install linux we have the follow in the partition 
> table
>
>  in  hd0
>  we have
>  /
>  /boot
>  swap
>
>  and hd1
>  we have
>  /
>  /boot
>  swap
>
>  and in hd0 we have the grub.conf file located in /boot/grub/grub.conf
>
>  and in  hd1 we have the grub.conf file located in /boot/grub/grub.conf
>
>  so ultimately which conf file is read ??

To install grub, if you do a grub-install /dev/hda, the file in
/dev/hda is read.

While installing a second distro for multibooting, you will be asked
if you need to install a fresh copy of grub, if you say yes, it will
be re-installed in the MBR and will point to the grub.conf of that
distro's /boot partition. This is sufficient only to get the initial
grub boot menu screen. After that what kernel to boot is taken from
the root and kernel parameters of grub.conf.

BTW, when you do a df -k after booting to any one distro of your
multiboot system, have you ever seen two /boot, two / and two swap
partitions?

Regards,
NMK.
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to