From owner-freebsd-questions@freebsd.org Thu Apr 20 16:50:39 2017 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 E12F9D48BE8 for ; Thu, 20 Apr 2017 16:50:39 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B06F2D92 for ; Thu, 20 Apr 2017 16:50:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.101.171] (helo=[192.168.2.103]) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1d1FHv-0002Dh-Rh for freebsd-questions@freebsd.org; Thu, 20 Apr 2017 18:50:35 +0200 From: Matthias Apitz To: Subject: Re: dd image not working Date: Thu, 20 Apr 2017 18:50:35 +0200 User-Agent: Dekko/0.6.20; Qt/5.4.1; ubuntumirclient; Linux; MIME-Version: 1.0 Message-ID: <4ce88806-41f9-4323-b0ef-53d5251a380a@unixarea.de> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.101.171 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: Thu, 20 Apr 2017 16:50:40 -0000 El jueves, 20 de abril de 2017 18:01:07 (CEST), James B. Byrne=20 escribi=C3=B3: > I am trying to create a bootable USB image for FreeBSD. The device > name of the USB flash memory appears to me to be /dev/sb1 >=20 > # mount -l > . . . > /dev/sr0 on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > /dev/sdb1 on /media/KINGSTON type vfat > (rw,nosuid,nodev,uhelper=3Dudisks,uid=3D500,gid=3D500,shortname=3Dmixed,dma= sk=3D0077,utf8=3D1,flush) > # >=20 > I dismount that device >=20 > # umount /dev/sdb1 >=20 > and check >=20 > # mount -l > . . . > /dev/sr0 on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev) > [Bluebirds] > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > # >=20 > Now I run dd > # dd > if=3D/var/data/disk_images/FreeBSD/FreeBSD-11.0-RELEASE-i386-memstick.img > of=3D/dev/sbd1 bs=3D512 conv=3Dsync > 1256080+0 records in > 1256080+0 records out > 643112960 bytes (643 MB) copied, 1.92347 s, 334 MB/s > # >=20 >=20 > But the usb key does not appear to have been altered at all. If I > remove it and reinsert then it automounts with the same information as > before: > # mount -l > . . . > /dev/sr0 on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev) > [Bluebirds] > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > /dev/sdb1 on /media/KINGSTON type vfat > (rw,nosuid,nodev,uhelper=3Dudisks,uid=3D500,gid=3D500,shortname=3Dmixed,dma= sk=3D0077,utf8=3D1,flush) > [KINGSTON] >=20 please show # fdisk /dev/sdb I think you should dd to /dev/sdb and not to sdb1 matthias --=20 Sent from my Ubuntu phone http://www.unixarea.de/