Voodooprojects

Chameleon => Bug Reports => Topic started by: ol_hipy on January 12, 2010, 09:54:17 PM

Title: help please: chameleon i386 fdisk CPU error
Post by: ol_hipy on January 12, 2010, 09:54:17 PM
I'm trying to run LifeHacker's process to put Snow Leopard on a USB stick and make it bootable on a netbook.

I downloaded the latest version of chameleon (Chameleon-2.0-RC4-r684-bin) and get to the step where you need to run fdisk against the USB stick.  Here's the Terminal commands and resulting error:

powerbook:~ oharamj$ cd /Users/oharamj/Desktop/Chameleon-2.0-RC4-r684-bin/i386
powerbook:i386 oharamj$ sudo fdisk -f boot0 -u /dev/rdisk2
Password:
mypassword
sudo: unable to execute /usr/sbin/fdisk: Bad CPU type in executable

I'm running this on a Powerbook G4 with 2 GB RAM under OSX Leopard 10.5, updated to current.

I was under the impression that this should work using a G4 ... am I wrong?

Is there an earlier version of chameleon I should download and use that works?

Thanks, I've search and searched and am coming up empty handed.
Title: Re: help please: chameleon i386 fdisk CPU error
Post by: zef on January 12, 2010, 09:58:30 PM
It seems the fdisk binary is i386 only. You may try to update the USB stick's MBR with dd if all volumes are unmounted on the stick:

Code: [Select]
dd if=boot0 of=/dev/rdisk2 bs=440