bug-parted
[Top][All Lists]
Advanced

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

Re: bootdisk


From: Timshel Knoll
Subject: Re: bootdisk
Date: Fri, 20 Oct 2000 12:33:09 +1100
User-agent: Mutt/1.2.5i

On Thu, Oct 19, 2000 at 06:04:28PM -0700, Michael Matsumura wrote:
> On Fri, Oct 20, 2000 at 11:56:26AM +1100, Timshel Knoll wrote:
> > On Thu, Oct 19, 2000 at 05:38:10PM -0700, Michael Matsumura wrote:
> > > Hi, the bootdisk image uploaded on ftp://ftp.gnu.org/gnu/parted/bootdisk/
> > > seems to be corrupt...
> > > 
> > > [root:~]# dd if=partboot.img of=/dev/fd0 bs=1440k
> > 
> > Try dropping the bs=1440k bit. dd doesn't like it if it doesn't get the size
> > you specify, and since the boot image is 1468347 bytes and 1440k is
> > 1440*1024=1474560 bytes, this could cause a problem, since dd thinks it
> > hasn't read a full sector ...
> 
> What would I drop it to?  I've even tried it without a bs=, which usually
> works for most boot images. This is what I get for the error..

Yes, that is what I was meaning - drop it altogether ...

> [root:~]# dd if=partboot.img of=/dev/fd0
> dd: /dev/fd0: Invalid argument
> 2867+1 records in
> 2867+0 records out
> 1467904 bytes transferred in 81.435808 secs (18025 bytes/sec)
> > 
> > As for this, make sure that /dev/fd0 exists and is a valid floppy drive.
> > The only thing I can think of is that FreeBSD's dd works a bit different -
> > although last time I used it, I don't remember it being at all wierdly
> > different from Linux's dd ...
> 
> It exists and it is a valid floppy drive.
> I get a 'block device' error from windows with rawrite2 (different
> computer, same image).

Wierd, so you can mount it etc ...? strange ... does
'cat partboot.img >/dev/null' report any error? I just did a
'dd if=partboot-1.2.11.img of=/dev/fd0' on my Debian box and it worked
fine ... Unless the disk you're trying to write it to has errors on it
or something ...

> -- 
> Michael Matsumura
> address@hidden

-- 
   Timshel Knoll <address@hidden>  for Debian email: <address@hidden>
    Second year Computer Science, RMIT   |   CS108 Tutor (Semester 2, 2000)
        Debian GNU/Linux developer, see http://www.debian.org/~timshel/
   For GnuPG public key: finger address@hidden or address@hidden

Attachment: pgpWI9RZocfgY.pgp
Description: PGP signature


reply via email to

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