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

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



> 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)


Reply to: