At Tue, 21 Nov 2000 20:55:12 +0100 (CET),
robert rotman <[EMAIL PROTECTED]> wrote:
> 
> 
> Hello,
> 
> Sorry for mailing to this list,
> I've no bug-report but a question:
> 
> Why isn't it possible to put sage1 and stag2 on one floppy?
> my floppy is big enough;)
> 
> robert

It is possible, it is even mentionned in the documentation. (type
"info grub").

There are two ways to do that:

1) without installing a filesystem:

        dd if=stage1 of=/dev/floppy bs=512 count=1
        dd if=stage2 of=/dev/floppy bs=512 seek=1

2) with installation of a fs:

        mkfs -t whatever /dev/floppy
        mkdir -o /floppy_mount_point/boot/grub
        cp stage1 stage2 menu.lst /floppy_mount_point/boot/grub
        echo << _EOF | grub --batch
        root (fd0)
        install /boot/grub/stage1 (fd0) /boot/grub/stage2 0x8000 /boot/grub/menu.lst
        quit
        _EOF

Choise nr 2 is longer but much more flexible because that way you can
install a kernel (or other files) and a grub config file.
With choice nr 1 you directly enter grub interactive mode.


W

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to