From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with archive (Exim 4.30) id 1B3xlD-0006YJ-Fd for mharc-grub-devel@gnu.org; Thu, 18 Mar 2004 08:40:35 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3xl8-0006XE-8S for grub-devel@gnu.org; Thu, 18 Mar 2004 08:40:30 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3xkY-0006Q1-Pu for grub-devel@gnu.org; Thu, 18 Mar 2004 08:40:26 -0500 Received: from [213.147.57.66] (helo=mail.ciam.ru) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B3xNu-0003ny-CF for grub-devel@gnu.org; Thu, 18 Mar 2004 08:16:32 -0500 Received: from sem.ciam.ru ([192.168.45.10] helo=ciam.ru) by mail.ciam.ru with esmtp (Exim 4.x) id 1B3xNW-0002qj-0o for grub-devel@gnu.org; Thu, 18 Mar 2004 16:16:06 +0300 Message-ID: <4059A155.5040102@ciam.ru> Date: Thu, 18 Mar 2004 16:17:09 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <4059603F.2080507@ciam.ru> <200403181334.28323.okuji@enbug.org> In-Reply-To: <200403181334.28323.okuji@enbug.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: GRUB2 hangs on boot from floppy X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2004 13:40:33 -0000 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.