boot floppy linux

27 Jul

[root prompt]# fdformat /dev/fd0H1440
[root prompt]# mke2fs /dev/fd0
[root prompt]# mount -t ext2 /dev/fd0 /mnt/floppy
[root prompt]# grub-install –root-directory=/mnt/floppy ‘(fd0)’
[root prompt]# cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
[root prompt]# umount /mnt/floppy

[root prompt]# fdformat /dev/fd0H1440
[root prompt]# mke2fs /dev/fd0
[root prompt]# mount -t ext2 /dev/fd0 /mnt/floppy
[root prompt]# grub-install –root-directory=/mnt/floppy ‘(fd0)’
[root prompt]# cp /boot/grub/grub.conf /mnt/floppy/boot/grub/grub.conf
[root prompt]# umount /mnt/floppy

it works (but i did not understand what this means) Question

notic this link contains another 2 methods to create a boot disk.
here it is the link
http://www.yolinux.com/TUTORIALS/LinuxTutorialRecoveryAndBootDisk.html

u will find it very nice
Assalamo Alikom
Back to top

Ahmed

Joined: 05 Aug 2004
Posts: 198

PostPosted: Wed Mar 16, 2005 6:36 pm Post subject: Reply with quote
The tutorial has this command which is what I wanted u to do

/sbin/mkbootdisk –device /dev/fd0 2.2.17-14

You juts need to change the last number to match your kernel version. You can know your kernel number using `uname -r`