Note: All data on the current floopy(the one you are going to make bootable)
will be erased off.
The best way is to use the following command:
To run the following command you should be having the root login.
mkbootdisk --device deviceFile_path kernel_number
In my case it was something like this:
mkbootdisk 2.4.18-14
Note that I hadn't given the device argument. This is because if your
deviceFile_path is /dev/fd0 then you can skip the device argument.
But in case it is other than /dev/fd0 then you have to mention it.
So in your case the above command may look like this:
mkbootdisk --device /dev/fd1 2.4.18-14
Alternate you can perform the following series of steps:
To make a bootable floopy disk you have to copy the following files to the
first &
second block of the floppy disk respt.
stage1
stage2
The following commands will solve our purpose:
# cd /usr/share/grub/i386-pc # dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out # dd if=stage2 of=/dev/fd0 bs=512 seek=1
254+1 records in
254+1 records out
The number 254 above may vary in your case, so don't get paniced.