[Top][All Lists]

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

Re: grub floppy snafu

From: Uwe Dippel
Subject: Re: grub floppy snafu
Date: Sat, 02 Oct 2004 10:43:19 +0800
User-agent: Mozilla Thunderbird 0.8 (X11/20040918)

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
       1+0 records in
       1+0 records out
       # dd if=stage2 of=/dev/fd0 bs=512 seek=1
       153+1 records in
       153+1 records out

The floppy becomes bootable, but is no longer mountable:

        $ mount /floppy 
        mount: I could not determine the filesystem type, and none was

        # mount /floppy
        mount: you must specify the filesystem type

        # mount -t vfat /dev/df0   /floppy
mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems
This is very normal

I can boot the floppy to the grub> prompt, but being unable to mount
it, can't put on it the directories and files needed for a grub
menu. If I try the dd to copy stage1 and stage2 after constructing
putting in place the directory and files for the menu, doing so
destroys the ability to bring up the grub menu.
May I with all respect ask you to RTFM ?
Or, on Debian,

apt-get install grub-doc

and then

info grub

This will tell you exactly what and how to do.

(Hint: you don't copy anything to floppy, but the menu and the other
stages reside on hd.)


reply via email to

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