Shamus,

I use a script on OS X, after sanity checking for the img.gz file (IMAGEFILE) 
and the diskN (DISK), the core is as follows:
(Note: I have only used this on OS X 10.6.x and earlier.)
-- begin snippet --
diskutil unmountDisk $DISK

echo
echo "Erasing /dev/$DISK..."
if ! diskutil zeroDisk $DISK; then
  exit 1
fi

echo
echo "Writing \"$IMAGEFILE\" to /dev/$DISK"
echo "This may take a long time..."

gzcat "$IMAGEFILE" | dd of=/dev/$DISK

echo
if diskutil eject $DISK; then
  echo "You can safely remove your $DISK."
fi
-- end --

No sudo is necessary.

Lonnie

PS:  What does your console say when it "hangs"?


On Oct 28, 2011, at 9:14 PM, Shamus Rask wrote:

> I was able to download, extract (double-clicking in Finder) and copy the 
> latest version of AstLinux onto a CF card; however when I went to boot, the 
> system seemed to hang, almost as though the card was not being seen as 
> bootable.
> 
>> From the CLI in Mac, I did the following:
>  imac:$ sudo diskutil unmount /Volumes/RUNNIX
>  imac:$ sudo dd 
> if=/Users/shamus/Downloads/astlinux-0.7.10-asterisk-1.8.7.1.img of=/dev/disk1
>  262080+0 records in
>  262080+0 records out
>  134184960 bytes transferred in 97.199067 secs (1380517 bytes/sec)
> 
> Mac then remounted the CF card I could see a volume entitled RUNNIX. I'm 
> assuming I'm doing something wrong from the CLI, not setting some sort of 
> flag or something... any suggestions?
> 
> cheers,
>   Shamus
> ------------------------------------------------------------------------------
> Get your Android app more play: Bring it to the BlackBerry PlayBook 
> in minutes. BlackBerry App World™ now supports Android™ Apps 
> for the BlackBerry® PlayBook™. Discover just how easy and simple 
> it is! http://p.sf.net/sfu/android-dev2dev
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 


------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to