How to make a bootable floppy?
Eric Potter
ecp62 at fastmail.fm
Tue Dec 21 19:07:22 UTC 2004
On Mon, 2004-12-20 at 22:41 +0200, Johan wrote:
>
> 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
>
Thanks for the excellent tutorial. However, the problem, I discovered,
was that a reference was missing from device.map.
I added to /boot/grub/device.map
(fd0) /dev/fd0
I'm not counting this as a bug, because I didn't have a functioning
floppy drive when I installed Ubuntu.
More information about the ubuntu-users
mailing list