dd image not working
James B. Byrne
byrnejb at harte-lyne.ca
Thu Apr 20 16:01:16 UTC 2017
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 at 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
More information about the freebsd-questions
mailing list