On Sat, 21 Sep 2002 10:42:22 +0000 (UTC) Anita Lewis
<[EMAIL PROTECTED]> wrote:
> On Sat, 21 Sep 2002 17:04:41 +1000, Keith Antoine wrote:
> > I cannot find the command that will rewrite the grub boot to the
> > mbr, did have it somewhere. Also a grub boot floppy, need one of
> > those too.
> 
> grub-install I think.  Try 'apropos grub' for related stuff and then
> 'man' to look in more depth.
> 

grub-install is not guaranteed to work.  The basic way to get a usable
grub is roughly:

1) Install the grub package using your favorite method (tarball, RPM,
etc.)

2) create the /boot/grub structure (either on floppy or on disk)

3) Copy the stage* files from the installed location (ymmv) to the
/boot/grub directory.

4) Create a menu.lst in /boot/grub

5) Do the following:

        grub

        root(location of the /boot/grub)

        setup(location of the drive where mbr is to be written)

In my case, /boot/grub is on hd1,0 and the mbr is to be written to
hd0.  In normal disk numbering terms this is /dev/hdb1 and /dev/hda.    



-- 
Collins Richey - Denver Area - WWTLRD? - Code Python
gentoo(since 01/01/01) now 1.4beta kernel 2.4.18+ ext3 GCC3.2
xfce-sylpheed-skipstone
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to