Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2017 12:01:07 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   dd image not working
Message-ID:  <c43fa169a6204b7e534ce0d86b6a4073.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c43fa169a6204b7e534ce0d86b6a4073.squirrel>