[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub floppy snafu

From: Johan
Subject: Re: grub floppy snafu
Date: Sat, 02 Oct 2004 22:06:12 +0200

On Sat, 2004-10-02 at 15:39 -0400, Haines Brown wrote:
> > >Then came a econd problem with floppies. When I insert a vfat
> > >unmounted floppy and do: 
> > >
> > >   # cd /usr/lib/grub/i386-pc
> > >        # dd if=stage1 of=/dev/fd0 bs=512 count=1
> << snip >>

> I tried fiddling with the map file in /boot without luck, and tried a
> map command in the menu, also without luck. 
> Haines Brown 
To make a grub boot floppy..
here is one I use without fail.
Be super user
Put blank formatted disk in floppy drive.
umount /media/floppy    ..      make sure it is not mounted.
mke2fs /dev/fd0
mount /media/floppy
mkdir /media/floppy/boot
mkdir /media/floppy/boot/grub
cp /boot/grub/stage1 /media/floppy/boot/grub/
cp /boot/grub/stage2 /media/floppy/boot/grub/
grub> root (fd0)
grub> setup (fd0)
grub> quit
cp /boot/grub/menu.lst /media/floppy/boot/grub/
umount /media/floppy   .. make sure buffer is flushed.

Reboot with floppy in drive and your menu will look the same as on HD.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]