Date: Fri, 30 Dec 2016 23:19:09 +0100 From: Polytropon <freebsd@edvax.de> To: swjatoslaw gerus <milstar2@eml.cc> Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: Re: Fwd: system -invalid argument 1m #### dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M conv=sync Message-ID: <20161230231909.652499f9.freebsd@edvax.de> In-Reply-To: <1483132051.752644.833300521.4E2EBB2A@webmail.messagingengine.com> References: <1483132051.752644.833300521.4E2EBB2A@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161230231909.652499f9.freebsd>