grub-install question

Aaron Konstam akonstam at sbcglobal.net
Tue Aug 31 20:34:49 UTC 2010


On Tue, 2010-08-31 at 09:31 -0700, JD wrote:
> On 08/31/2010 04:31 AM, Aaron Konstam wrote:
> > If one has a F13 DVD one can leave the /dev/sda disk enabled, boot into
> > Rescue mode and install the boot onto /dev/sda.
> 
> OK. Will try.
> 
> In rescue mode, the root directory will end up being mounted from
> /dev/sdb2 as /mnt/sysimage
> So I guess, I would invoke grub-install as follows:
> 
> grub-install --recheck --root-directory=/mnt/sysimage /dev/sda
> 
> Is this correct?
It would work better if after /mnt/sysimage is mounted you execute:
chroot /mnt/sysimage.
Then when you execute the grub-install you don't need the redirection
parameter --root-directory=/mnt/sysimage.
Of course you need to set up the grub.conf to identify /dev/sda as
containing Windows.
> 
> Recall that /dev/sda is all windows. There is no Linux on it.
> 
> Will this then cause grub, which will boot off of sda
> be able to see the grub.conf menu on /dev/sdb2 ?
> 
> Thanx,
> 
> JD




More information about the users mailing list