[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user question
From: |
Wolfgang Sourdeau |
Subject: |
Re: user question |
Date: |
Wed, 22 Nov 2000 13:32:41 -0500 |
User-agent: |
Wanderlust/1.1.1 (Purple Rain) WEMI/1.13.7 (Shimada) Chao/1.14.0 (Momoyama) Emacs/20.4 (i386-inslinux-linux-gnu) (with unibyte mode) |
At Tue, 21 Nov 2000 20:55:12 +0100 (CET),
robert rotman <address@hidden> 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
- user question, robert rotman, 2000/11/21
- Re: user question,
Wolfgang Sourdeau <=