[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Antw: Re: Antw: Re: Testing grub
From: |
OKUJI Yoshinori |
Subject: |
Re: Antw: Re: Antw: Re: Testing grub |
Date: |
Wed, 18 Oct 2000 04:57:59 +0900 |
From: "Volker Augustin" <address@hidden>
Subject: Antw: Re: Antw: Re: Testing grub
Date: Tue, 17 Oct 2000 17:15:59 +0200
> How exactly can this be done? :-) Volker
See the description on "device map file" and the command "device" in
the manual, for details. I explain only one example.
Create a floppy image on GNU/Linux:
$ dd if=/dev/zero of=floppy bs=512 count=2880
$ mke2fs floppy
$ su
# mount -o loop floppy /mnt
# mkdir /mnt/boot
# cp -a /boot/grub /mnt/boot
# umount /mnt
Use the image:
$ echo '(fd0)' `pwd`/floppy > map
$ grub --device-map=map --config-file='(fd0)/boot/grub/menu.lst'
There are various ways to do the same thing (e.g. just copy a real
floppy to a file). And, it is much more difficult to create a hard
disk image from scratch. If you are interested in using a hard disk
image, I can explain how to do that, but I'm now very sleepy.
Okuji
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Antw: Re: Antw: Re: Testing grub,
OKUJI Yoshinori <=