[Gllug] Installing grub from a recovery CD

Ben Fitzgerald ben_m_f at yahoo.co.uk
Thu Feb 24 17:19:44 UTC 2005


On Thu, Feb 24, 2005 at 04:47:05PM +0000, John Winters wrote:
> On Thu, 2005-02-24 at 08:32 +0000, Tethys wrote:
> > John Winters writes:
> > 
<snip>
> 
> Perhaps they do it because you've got to have *something* in the MBR,
> and if Linux is the only OS on the box you won't have the MS-DOS boot
> loader there?

Is this correct? I thought that if you mark a partition as bootable
in your drive partition table (which IIRC is in the first 512 bytes)
then your bios will try to boot the first sector in that?

> > >This is easy using lilo - just mount the partitions and do a "lilo -r",
> > >and I presume it must be possible with grub too but I can't find any
> > >clues in the grub documentation.  Can anyone give me a pointer please?
> > 
> > 	grub-install /dev/hda
> 
> According to the man page for grub-install this does *not* do what I
> want.  All I need to do is reinstall the element of grub which lives in
> the MBR.

I don't think this is correct as you will need to change your grub
config file to include an entry for your windows partition.

> This is what puts me off grub - the documentation is *still* very poor,
> and in particular it uses terms like "root directory" to mean something
> different from what it usually means, *without first saying what the
> re-definition is*.

have you tried the info pages for grub? they are much better.

also there are many howtos on the web for dual booting grub and
windows.

ben.

-- 
Registered Linux user number 339435
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list