From owner-freebsd-questions@freebsd.org Fri Dec 30 23:47:41 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 52907C9833E for ; Fri, 30 Dec 2016 23:47:41 +0000 (UTC) (envelope-from milstar2@eml.cc) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A404110D for ; Fri, 30 Dec 2016 23:47:40 +0000 (UTC) (envelope-from milstar2@eml.cc) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D053220825 for ; Fri, 30 Dec 2016 18:47:39 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Fri, 30 Dec 2016 18:47:39 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=eml.cc; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=QuJZUt4BIas/mSlX1GFb1UscjG8=; b=PyIFxcJH8DeSSx1kAQyUa zyhMvwKY/rOXcidVs/c6os3tTooTYSfBIlk4xo8GqCzooQGHXcp7djl2gjDIWQjm Tv6wBioeRlWjajwQPFpedZuuPuonUZpQJDIobdhjqtgI/w6DoHsHB6igpInx9MMh b3tEGfrlMFO7l2VqQwp48A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=smtpout; bh=QuJZUt4BIas/mSlX1GFb1Uscj G8=; b=oAJgli8eszb7gfQENEfKNLt9X/DYaZt1mn2FS1CaogAle9yL+Ez85bm0C d2NaO0Py6ya8rZqpW8DQ9m+uMGIdtWSyvAwFp6N68sBoIhhuGiWZvGLTe0bIHv1d 9dc4cEjjjNhyWkc+x2RaNejLbh5yB8HU3/n0AiBDKoZ1UMzCms= X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 9AD9C9EEF6; Fri, 30 Dec 2016 18:47:39 -0500 (EST) Message-Id: <1483141659.792184.833392937.6B88E280@webmail.messagingengine.com> From: swjatoslaw gerus To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-9c115fcf Date: Sat, 31 Dec 2016 00:47:39 +0100 Subject: You have made error ...#### dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M conv=sync X-Forwarded-Message-Id: <20161230231909.652499f9.freebsd@edvax.de> 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 23:47:41 -0000 From: Polytropon 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"... ;-) ############ You have made error -- swjatoslaw gerus milstar2@eml.cc ----- Original message ----- 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 Date: Fri, 30 Dec 2016 23:19:09 +0100 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, ... -- http://www.fastmail.com - Does exactly what it says on the tin