Re: grub question Timothy Murphy a écrit :
> François Patte wrote:
>
>> I suppose that what you call "support files" is the /boot/grub/grub.conf
>> isn't it?
>
> Exactly
>
>> So how do I tell grub, installed in the sda MBR to query its
>> configuration file in /boot/grub which is located in sdb1?
>
> By the "root" line in the grub entry.
> Here is an entry in my grub.conf,
> telling the machine that /boot is the second partition on /dev/sdb ,
> ie /dev/sdb2 .
>
> title Fedora (2.6.21-1.3228.fc7)
> root (hd1,1)
> kernel /vmlinuz-2.6.21-1.3228.fc7 ro root=/dev/VolGroup00/slash
> initrd /initrd-2.6.21-1.3228.fc7.img
>
> The hd1 means second disk.
I am not sure to understand the way grub is reading this grub.conf file...
for me, grug is installed on sda MBR and read this file on /dev/sda6/grub
(in "grub language": (hd0,5)/grub)
while the system is installed on sdb and the beginning of my grub.conf is:
title Fedora Core 6 (2.6.20-1.2952.fc6)
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-1.2952.fc6 root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.20-1.2952.fc6.img
Shall I just move the directory (hd0,5)/grub into (hd1,0)/grub and at
the next boot grub, which stays on sda MBR, will find it without any
problem? I doubt.
Thanks for attention.
--
François Patte
Université Paris 5 - Paris |