From owner-freebsd-questions@freebsd.org Tue Dec 27 18:08:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23FE7C93662 for ; Tue, 27 Dec 2016 18:08:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A60C18D8 for ; Tue, 27 Dec 2016 18:08:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Tue, 27 Dec 2016 19:09:50 +0100 Received: from r56.edvax.de (port-92-195-28-64.dynamic.qsc.de [92.195.28.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4836E3CC3F; Tue, 27 Dec 2016 19:08:45 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id uBRI8ivH002804; Tue, 27 Dec 2016 19:08:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 27 Dec 2016 19:08:44 +0100 From: Polytropon To: swjatoslaw gerus 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> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with EFB1D69D5B0 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1994 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 18:08:56 -0000 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= of= bs=1024k Or, if the "k" suffix isn't supported, dd if= of= 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, ...