PDA

View Full Version : Create GRUB boot floppy


choon
07-27-2004, 09:09 PM
This is one of the way to create GRUB boot disk. Insert a blank or not used floppy disk in your floppy drive then issue the following commands as root in SSH:
fdformat /dev/fd0H1440
mke2fs /dev/fd0
mount -t ext2 /dev/fd0 /mnt/floppy
grub-install --root-directory=/mnt/floppy '(fd0)'
cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
umount /mnt/floppy

Hope this helps someone ;)