Skip site navigation (1)Skip section navigation (2)
Date:      27 May 2002 22:15:49 +0100
From:      lewiz <purple@lewiz.info>
To:        freebsd-questions@freebsd.org
Subject:   GRUB.
Message-ID:  <1022534149.359.4.camel@turtle.lewiz.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hey,

  A few days ago there was a thread about GRUB.  This is mostly
unrelated but I saw there was a fair bit of interest so I am hoping I
might be able to get some help.

  From the GRUB manual page
(http://www.gnu.org/manual/grub-0.92/html_mono/grub.html#Creating%20a%20GRUB%20boot%20floppy) I am told to run dd if=stage1 of=/dev/fd0 bs=512 count=1 && dd if=stage2 of=/dev/fd0 bs=512 seek=1 in order to build myself a GRUB boot floppy.
  I have attempted this to find:

root@turtle /usr/local/share/grub/i386-freebsd # dd if=stage1 of=/dev/fd0 bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 1.303267 secs (393 bytes/sec)
root@turtle /usr/local/share/grub/i386-freebsd # dd if=stage2 of=/dev/fd0 bs=512 seek=1
dd: /dev/fd0: Invalid argument
206+1 records in
206+0 records out
105472 bytes transferred in 4.463077 secs (23632 bytes/sec)
root@turtle /usr/local/share/grub/i386-freebsd #

  Basically I get dd: /dev/fd0: Invalid argument when I attempt to run the
second command.  Why should this be the case?  I have attempted to boot
with this disk just the same but, as I expected, it did not work.  Any help
would be greatly appreciated.

-lewiz.

-- 
`Linux is for people who hate Microsoft.  FreeBSD is for people who love
UNIX.`

Website accessible from http://www.lewiz.info/
GPG public keyring: http://www.westwood.karoo.net/pubring.gpg

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAjzyogUACgkQENEq59FkzSpzVgCbBqsF5Ry72vH8rAySqCKxtEXw
tOsAnRr9q/XulTmGmerziR06472LoEp1
=2Iv6
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1022534149.359.4.camel>