View Full Version : Write CF from OSX
Beebe
03-28-2007, 01:41 PM
I have a new OSX machine here, and I'm having trouble using it to write a CF card for use in wrap boards. It does recognize the CF Card when I plug it in - it appears on my desktop.
I've become root user and tried to use dd to copy the image and I get this:
roger-hs-computer:/users/rogerh/staros/wrap root# dd if=vncOs-1.1.13-2080.X86-WRAP.cf of=/dev/disk1
dd: /dev/disk1: Resource busy
Can anyone see what I'm doing wrong?
Thanks,
Roger
Beebe
03-28-2007, 02:01 PM
If it helps...
roger-hs-computer:/users/rogerh/staros/wrap root# df
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/disk0s1 234492992 12841208 221139784 5% /
devfs 207 207 0 100% /dev
fdesc 2 2 0 100% /dev
<volfs> 1024 1024 0 100% /.vol
automount -nsl [182] 0 0 0 100% /Network
automount -fstab [186] 0 0 0 100% /automount/Servers
automount -static [186] 0 0 0 100% /automount/static
//G5I;roger@FILESERVER/SHARED 466183720 179098584 287085136 38% /Volumes/G5I;FILESERVER
/dev/disk2s2 24496 22408 2088 91% /Volumes/DivX for Mac
/dev/disk3s2 12208 4912 7296 40% /Volumes/DivX Stage6 Bundle
/dev/disk4s2 12208 4912 7296 40% /Volumes/DivX Stage6 Bundle 1
/dev/disk5s2 23288 21288 2000 91% /Volumes/ircle OS X
/dev/disk1s1 999344 80 999264 0% /Volumes/TOSHIBA512M
It's the TOSHIBA512M that I'm trying to write to.
Simply unmount /Volumes/TOSHIBA512M before you 'dd' the CF, and things should be A-Ok.
Beebe
03-28-2007, 02:22 PM
Great, that worked. Thanks. I thought "ejecting" it from the desktop was the same as doing a umount, but apparently not.
Cheers!
Roger
valenti
06-08-2007, 11:02 AM
I'm trying to do the same thing, except with vncOs-1.1.13-2080.X86-PC.cf
If I do an "od" (octal dump) the file and the compact flash compare, but when the PC boots, I get an "L 99 99 99 99 .... 99" for half a screen. I've tried 2 computers and get the same result.
I have also gone back and compared the original file at files.star-os.com with the one I dd'ed. The MD5 matches.
I don't have an immediate need for this, just wanted to experiment with the PC version of StarV3. (the CF-to-IDE converter I'm using worked a year ago with Mikrotik)
[Oh, would a bootable CD work for this purpose? Or does the CF need to be writeable -- never mind, I just figured that out, must be writeable, otherwise the settings couldn't be saved -- no way to save the config on yet another USB memory stick, right?]