QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 490|回复: 0

如何制作GRUB引导软盘

[复制链接]
发表于 2004-5-22 03:59:34 | 显示全部楼层 |阅读模式
以下步骤已在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


      
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 23:27 , Processed in 0.045789 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表