Installing GRUB using grub-install(from grub manual)

1. # grub-install /dev/hda
2.
# mke2fs /dev/fd0
     # mount -t ext2 /dev/fd0 /mnt
     # mkdir /mnt/boot
     # grub-install --boot-directory=/mnt/boot /dev/fd0
     # umount /mnt


你可能感兴趣的:(ext)