unable to dd an image onto a USB floppy
Joel Diaz
joeldiaz at nc.rr.com
Fri Jan 27 19:20:08 PST 2006
I've been trying to dump a disk image I downloaded off the internet
onto a USB floppy drive.
I was reading through dd(1) and at the bottom it pointed me to geom
(4) and so I set:
sysctl kern.geom.debugflags=16
Then tried the following:
dd if=/root/bios.img of=/dev/da0
The drive makes some noise and after a few minutes it just gives up
with:
dd: /dev/da0: Device busy
1+0 records in
0+0 records out
0 bytes transfered in 2.667840 secs (0 bytes/sec)
'geom disk list da0' gives:
Geom name: da0
Providers:
1. Name: da0
Mediasize: 1474560 (1.4M)
Sectorsize: 512
Mode: r0w0e0
fwsectors: 32
fwheads: 64
dmesg contained the following:
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have
changed
(da0:umass-sim0:0:0:0): Retries Exhausted
Opened disk da0 -> 6
This was all done as root with 0640 permissions on /dev/da0 on 6.0-
STABLE built Jan 24th.
Not sure where to go from here. Any help would be greatly appreciated.
Joel
More information about the freebsd-geom
mailing list