From owner-freebsd-questions@freebsd.org Fri Dec 30 23:52:40 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 C7AF3C9858E for ; Fri, 30 Dec 2016 23:52:40 +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 9EC9A1635 for ; Fri, 30 Dec 2016 23:52: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 8B02E204F7 for ; Fri, 30 Dec 2016 18:52:39 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Fri, 30 Dec 2016 18:52: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=sNYukrOIJhbZhdQUKBt9Exkaxhg=; b=hqNFdPeHpjTjf7o5VR4Tq g6k9O6FDfyoGKHlhni1sTt+PFzDfDQUlfkwDs6LyRoGg/16MdZhKvy9AtfMCWEaS g+MIrL+X8A3FA9Be2km3adJYrbJ7/AVgaoVB2IoAUmj7lVNSzsByWUOHn0BaXhh5 AR3z7ke18j2dA3Pvf+fJ1Q= 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=sNYukrOIJhbZhdQUKBt9Exkax hg=; b=nyosvhn/w9a6nv4JJJh3j/cR9GBMGRbazHrWwLk0cLsR2WgH/b+GXdK20 zMG7VEaygl31TqyNJEFAc3B259VTzOvtfUKBB2RduUxapCp6aPh3n+jVsV7/af/K JYJLXgCxVM25s3gyMkKEed8rvICwv1H2g4HVTkBn8tiBBOrXBw= X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 6BBAE9EEF6; Fri, 30 Dec 2016 18:52:39 -0500 (EST) Message-Id: <1483141959.794193.833395217.1E36B466@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:52:39 +0100 Subject: 2-Fwd: You have made error ...#### dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M conv=sync X-Forwarded-Message-Id: <1483141659.792184.833392937.6B88E280@webmail.messagingengine.com> 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:52:40 -0000 1.Author corrected your error 2. with 1m -invalid argument for both case sdb1 or sdb -- swjatoslaw gerus milstar2@eml.cc ----- Original message ----- From: swjatoslaw gerus To: freebsd-questions@freebsd.org Subject: You have made error ...#### dd if=FreeBSD-11-RELEASE-amd64-memstick.img of=/dev/sdb1 bs=1M conv=sync Date: Sat, 31 Dec 2016 00:47:39 +0100 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 -- http://www.fastmail.com - Faster than the air-speed velocity of an unladen european swallow