[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to make a boot disk (part I)



On Wed, Sep 08, 1999 at 12:37:44AM -0400, John Tobey wrote:
> > took me quite a while to figure out, so here is a step by step manual how to
> > build a _boot_ disk.
> 
> Thanks!
> 
> > $ mkdir /floppy/boot/grub
> > $ cp /usr/share/grub/i386-pc/stage1 /floppy/boot/grub
> > $ cp /usr/share/grub/i386-pc/stage2 /floppy/boot/grub
> 
> > dd if=/usr/share/grub/i386-pc/stage1 of=/dev/fd0 bs=512 count=1
> > dd if=/usr/share/grub/i386-pc/stage2 of=/dev/fd0 bs=512 seek=1
> 
> What is the point of installing the same data in two places on the
> boot floppy? (once in the filesystem and once in the first few
> sectors)

This is a different disk. I couldn't figure out how to install GRUB on the
boot image directly, so I had to make a GRUB boot disk, and then install
Grub on the other disk by booting the GRUB boot disk first.

If you have a command to install GRUB directly from the Unix environment,
let me know.

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org  Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de                        PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


Reply to: