[Top][All Lists]

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

Re: partroot-1.6.1 / 1.6.2.

From: CS Miller
Subject: Re: partroot-1.6.1 / 1.6.2.
Date: Sun, 3 Nov 2002 18:11:46 +0000

On Sunday 03 November 2002 15:04, you wrote\n%s:
> Hi,
>   I'm running FreeBSD 4.7-RELEASE and I've been trying to write the
> images to floppies.  The first disk (partboot.img) work just fine when I
> run dd if=partboot.img of=/dev/fd0 but when I try and copy the root
> images (either 1.6.1 or 1.6.2) I receive the following:
> # dd if=partroot-1.6.2.img of=/dev/fd0
> dd: /dev/fd0: Invalid argument
> 2328+1 records in
> 2328+0 records out
> 1191936 bytes transferred in 41.879547 secs (28461 bytes/sec)
> #
>   From here if I try and boot with the first disk it all goes fine but
> when I insert the second disk it appears to find a compressed image but
> after a while it fails with a different error each time (e.g. invalid
> compressed image).
>   Any suggestions?
Is 1,191,936 the size of the image file? My copy (1.6..2) is  1,192,053.  If 
not the floppy may be bad.

To check, try 
fc partroot-1.6.2.img /dev/fd0  (don't worry about partroot being shorter 
than the floppy, but worry about any other errors).

Otherwise, is the image valid? do
file -z on it, which should report

bash-2.05a$ file -z partroot-1.6.2.img
partroot-1.6.2.img: Linux rev 1.0 ext2 filesystem data (gzip compressed data, 
deflated, original filename, `parted.img', last modified: Sat Jul  6 02:00:06 
2002, max compression, os: Unix)

Then try mounting the file
cp partroot-1.6.2.img partroot-1.6.2.img.gz
gzip -d partroot-1.6.2.img.gz
mount  ./partroot-1.6.2.img /floppy -t ext -o loop

This should mount a linux root disk on /mount/floopy. The mount options are 
correct for Linux, might be different for *BSD.

You might also want to try
fsck ./partroot.img  
to see if the file is OK.

CS Miller

> -lewiz.
> Please CC me when replying as I am not subscribed to this list.
> -- 
> "We have reason to believe that man first walked upright to free his
> hands for masturbation."
>               -- Lily Tomlin
> ------------------------------------------------------------------------
> This message is intended only for the use of the person(s) (``the
> intended recipient(s)'') to whom it is addressed.  It may contain
> information which is privileged and confidential within the meaning of
> applicable law.  If you are not the intended recipient, please contact
> the sender as soon as possible.
> ------------------------------------------------------------------------
> --|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--

Humankind does not own the Earth, we are merely custodians for the future 

reply via email to

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