Fwd: Re: Fwd: system -invalid argument 1m #### dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M conv=sync

Polytropon freebsd at edvax.de
Fri Dec 30 22:19:15 UTC 2016


On Fri, 30 Dec 2016 22:07:31 +0100, swjatoslaw gerus wrote:
> this questions was answered before 
> 
> for linux   not 1m ,but  1048576 without suffiks
> that work file is sended to /dev/sdb1

But read with caution: /dev/sdb (no "1" appended) needs to
be the device the file has to be written to. Remember:
/dev/sdb1 is the 1st partition of the 2nd disk unit,
/dev/sdb1 is _the_ 2nd disk unit, and _that_ is where
the image needs to go - it represents a whole device
content.



> but  plug sandisk  16 gb before start , notebook can not start

This is to be expected because the stick hasn't been
prepared correctly. Again:

	# dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb bs=1M conv=sync

is the correct command here. That kind of mistake can
be summarized as "fat fingers"... ;-)



> file after mounting can see with more, but can not see with ls -lsar

You can even "more /dev/sdb1" and "more /dev/sdb" without
mounting it, there is no relation.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list