如何制作GRUB引导软盘
以下步骤已在Redhat 9上验证(本人原创, 请指教):1. format a floppy -
# mkdosfs -R 2 -I /dev/fd0
2. mount the floppy -
# mount /dev/fd0
3. install GRUB onto the floppy -
# grub-install --root-directory=/mnt/floppy /dev/fd0
4. copy "grub.conf" -
# cp /boot/grub/grub.conf /mnt/floppy/boot/grub
5. modify /mnt/floppy/boot/grub/grub.conf if neccessary. a new device map file is created under /mnt/floppy/boot/grub. if any conflicts, modify grub.conf on the floppy accordingly.
6. ensure the data is written to the floppy by unmounting it; and then reboot and confirm -
# cd; umount /mnt/floppy
# shutdown -ry 0
:-D:-D:-D
页:
[1]