Date: Tue, 27 Dec 2016 19:08:44 +0100 From: Polytropon <freebsd@edvax.de> To: swjatoslaw gerus <milstar2@eml.cc> Cc: freebsd-questions@freebsd.org Subject: Re: Fwd: dd -bs=BYTES read and write up to BYTES at a time system -invalid number 1m #### dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M conv=sync Message-ID: <20161227190844.fdc2390f.freebsd@edvax.de> In-Reply-To: <1482841113.1239624.830388025.494E966F@webmail.messagingengine.com> References: <1482841113.1239624.830388025.494E966F@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Dec 2016 13:18:33 +0100, swjatoslaw gerus wrote: > > > > dd help ....dd -bs=BYTES read and write up to BYTES at a time > > system -invalid number 1m #### On systems that do not support size suffixes (such as Linux dd might), you need to "manually multiply", for example: dd if=<image> of=<device> bs=1024k Or, if the "k" suffix isn't supported, dd if=<image> of=<device> bs=1048576 Note that this unit has to be converted as 2^10 = 2014 (instead of 10^3 = 1000). See "man dd" to check what your version of dd implements. > fdisk -l > system dev/sdb1 (new Sandisk ultrafit 16 gb) > > dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M > conv=sync > system -invalid number 1m #### The command is correct, just adjust the bs= parameter accordingly. -- 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?20161227190844.fdc2390f.freebsd>