On 3/14/08, jtd jtd@mtnl.net.in wrote:
On Friday 14 March 2008 07:15 pm, Agnello George wrote:
now suppose i have Two OS install -- debian Etch and the centos ...and grub is the default boot loader ( and grub file is located in /etc/grub.conf ..which has instruction / menu screen for booting the various OS ) but i don't seem to understand one thing - How is /etc/grub.conf made available to the boot loader even before a OS is selected ( explanation not very clear in the article )
Grub is almost an os with a shell and fs reader. once stage2 is loaded it can recognise partitions and most filesystems.
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 ??