Am 29.10.2011 um 04:45 schrieb Lonnie Abelbeck:

> 
> 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"?

The script works also fine in Lion.

Michael

http://www.mksolutions.info






------------------------------------------------------------------------------
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