How to make a bootable floppy?

Johan johansche at absamail.co.za
Mon Dec 20 20:41:27 UTC 2004



On Sat, 18 Dec 2004 16:35:34 -0800
Eric Potter <ecp62 at fastmail.fm> wrote:

> I want to make a bootable floppy disk so I tried:
> 
> grub-install /dev/fd0
> 
> The error I got was:
> 
> /dev/fd0 does not have any corresponding BIOS drive.
> 
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
*********************
Here is one I use and it works every time without fail for me.
Be sure to be superuser.
Put blank disk in 1.44mb drive.
****This is for ubuntu on my system.
umount /media/floppy0		make sure floppy is <not> mounted.
mke2fs /dev/fd0
mount /media/floppy0
mkdir /media/floppy0/boot
mkdir /media/floppy0/boot/grub
cp /boot/grub/stage1 /media/floppy0/boot/grub
cp /boot/grub/stage2 /media/floppy0/boot/grub
grub
grub> find /boot/grub/stage1
>>>> here will be displayed all partitions that has stage1  (multi boot system)
>>>> make sure that (fd0) is displayed...otherwise it won't work.
grub> root (fd0)
grub> setup (fd0)
>>>>> Here will be displayed some info that will say yes and success..else  <error>.
grub> quit
cp /boot/grub/menu.lst /media/floppy0/boot/grub/
umount /media/flopp0		Make sure the buffer is flushed and written to floppy0
Leave the floppy in drive and reboot..grub menu display will look the same as when booting from HD.

-- 
Johan Sch
Registered linux user #333034
May this be a good day for learning




More information about the ubuntu-users mailing list