Author Topic: help please: chameleon i386 fdisk CPU error  (Read 2666 times)

0 Members and 1 Guest are viewing this topic.

ol_hipy

  • Entrant
  • Posts: 1
help please: chameleon i386 fdisk CPU error
« 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.

zef

  • Administrator
  • Posts: 265
Re: help please: chameleon i386 fdisk CPU error
« Reply #1 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
ASUS P8Z68-V PRO/GEN3 | i5-2500k | 16GB RAM | GTX560 | Keyboard | Mouse | Devilsound DAC