6.10.3.1. Instalace

6.10.3.1.1. Instalace na disketu
# apt-get install grub

# grub-install --root-directory=/boot /dev/hda
silo:~# grub-install --root-directory=/ /dev/hda
Probing devices to guess BIOS drives. This may take a long time.
end_request: I/O error, dev 02:00 (floppy), sector 0
Installation finished. No error reported.
This is the contents of the device map //boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/hda
silo:~# _
(fd0) /dev/fd0
(hd0) /dev/hda

Pokus o instalaci grubu na disketu

# grub-install /dev/fd0

Nevyšlo to. Správný postup podle dokumentace má být

# cd /usr/lib/grub/i386-pc
# dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
# dd if=stage2 of=/dev/fd0 bs=512 seek=1
186+1 records in
186+1 records out