grub-devel
[Top][All Lists]
Advanced

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

Re: GRUB2 hangs on boot from floppy


From: Sergey Matveychuk
Subject: Re: GRUB2 hangs on boot from floppy
Date: Thu, 18 Mar 2004 16:17:09 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Yoshinori K. Okuji wrote:

On Thursday 18 March 2004 09:39, Sergey Matveychuk wrote:

# dd if=core.img of=/dev/fd0 bs=512 seek=1
dd: /dev/fd0: Invalid argument
41+1 records in
41+0 records out
20992 bytes transferred in 1.038010 secs (20223 bytes/sec)

I've tried different floppy disks to be sure they are good. With all
of them I've got that message.

# ls -la boot.img core.img
-rwxr-xr-x  1 root  wheel    512 Mar 16 10:10 boot.img
-rw-r--r--  1 root  wheel  21256 Mar 16 10:11 core.img

It looks like dd can't write full core.img? Why?
How can I fix it?


Apparently, dd fails in your environment. Doesn't your FreeBSD support seeking on a floppy device?

Hmmm. I'm not sure. But I wrote GRUB1 floppy this way and it works.
May be we need something like sector align? I don't know dd deeply.

--
Sem.




reply via email to

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