All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Matveychuk <sem@ciam.ru>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: GRUB2 hangs on boot from floppy
Date: Thu, 18 Mar 2004 16:17:09 +0300	[thread overview]
Message-ID: <4059A155.5040102@ciam.ru> (raw)
In-Reply-To: <200403181334.28323.okuji@enbug.org>

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	other threads:[~2004-03-18 13:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18  8:39 GRUB2 hangs on boot from floppy Sergey Matveychuk
2004-03-18 12:34 ` Yoshinori K. Okuji
2004-03-18 13:17   ` Sergey Matveychuk [this message]
2004-03-18 17:18   ` Marco Gerards
2004-03-18 22:09     ` Sergey Matveychuk
2004-03-19 10:16       ` Yoshinori K. Okuji
2004-03-19 11:01         ` Sergey Matveychuk
2004-03-19 11:58           ` Yoshinori K. Okuji
2004-03-19 12:40             ` Sergey Matveychuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4059A155.5040102@ciam.ru \
    --to=sem@ciam.ru \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.