From owner-freebsd-questions@freebsd.org Fri Dec 30 22:19:15 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 6D577C97A6A for ; Fri, 30 Dec 2016 22:19:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (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 D1989109B for ; Fri, 30 Dec 2016 22:19:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Fri, 30 Dec 2016 23:21:49 +0100 Received: from r56.edvax.de (port-92-195-83-137.dynamic.qsc.de [92.195.83.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 3C96D3CC3F; Fri, 30 Dec 2016 23:19:09 +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 uBUMJ9x9002791; Fri, 30 Dec 2016 23:19:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2016 23:19:09 +0100 From: Polytropon To: swjatoslaw gerus 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> 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 mailrelay12.qsc.de with 66A636BE726 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1961 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: Fri, 30 Dec 2016 22:19:15 -0000 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, ...