From owner-freebsd-questions@freebsd.org Thu Apr 20 16:01:16 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 AD8CAD48D61 for ; Thu, 20 Apr 2017 16:01:16 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8561BC95 for ; Thu, 20 Apr 2017 16:01:16 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 31B7A61EC3 for ; Thu, 20 Apr 2017 12:01:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4gtKJZNOecuD for ; Thu, 20 Apr 2017 12:01:07 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id C172C61346 for ; Thu, 20 Apr 2017 12:01:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1492704067; bh=+QkOlXzoPCHsNRtQR56RHU5i1GGuVm8meaU388IRn+k=; h=Date:Subject:From:To:Reply-To; b=LftdQjQUjICszOjsJ9BiwlsdgaR2N+z2UV2CRtYMrDkd0qjVxm4pTILea+NLoSOMG fr1danlY9JWgAM/vz1ZhtiB0LURAvB+SEVNl4OAmfhTY/jpNfFkvKDaFSjpL47rOCa jQMehYZD02+vP71qQG+ghulBiAN30lr1VBzhbyG9wLjuvXuz3U9Gf6wcCKX2TPCVDA I5VUZYUthQG5OAH54azoz+fgRT6CyRIMhv7odWuUa9jDrDhibMcbRwILXnikf7vLl1 yulxDogfcOm616YUQp1IgYP1Hex476sXESC3Hw++dR/c70AEdZ0UQVBLf1GEc7M93P mXT5oziGsG8BQ== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 20 Apr 2017 12:01:07 -0400 Message-ID: Date: Thu, 20 Apr 2017 12:01:07 -0400 Subject: dd image not working From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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:01:16 -0000 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 # 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=udisks,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush) # I dismount that device # umount /dev/sdb1 and check # 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) # Now I run dd # dd if=/var/data/disk_images/FreeBSD/FreeBSD-11.0-RELEASE-i386-memstick.img of=/dev/sbd1 bs=512 conv=sync 1256080+0 records in 1256080+0 records out 643112960 bytes (643 MB) copied, 1.92347 s, 334 MB/s # 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=udisks,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush) [KINGSTON] What am I doing wrong? -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3