Jump to content

Chameleon 2.0 in Custom DVD problem


Dimarzio
 Share

2 posts in this topic

Recommended Posts

I use Chameleon in a package made with Iceberg. It installs the bootloader in my custom DVD at the end of installation. Already done a lot of custom DVDs - no problem at all.

 

With the previous version everything was fine. But with this new one at the end of the installation the Installer displays an error "Could not set target disk bootable". Although it boots fine (means my Iceberg package works). This error appears either on MBR and GUID.

 

I replace the /usr/standalone/i386 with Chameleons' one on the setup DVD and make a hybrid image.

What can it be? Looks annoying :unsure: Please advice!

 

PS: My postflighr script used in the .pkg

 

#!/bin/sh

# $0 = Script Path
# $1 = Package Path
# $2 = Default Location
# $3 = Target Volume

cd "$1/Contents/Resources"

DISK=`diskutil info "$3" | grep "Part Of Whole" | awk '{print $4}'`
DISKS=`diskutil info "$3" | grep "Device Identifier" | awk '{print $3}'`

copy ()
{ 
cp -r "$1" "$2"
chown -R root:wheel "$2/$1"
chmod -R 755 "$2/$1"
}

./fdisk -f boot0 -u -y /dev/r${DISK}
dd if=boot1h of=/dev/r${DISKS} bs=512 count=2
copy boot "$3/" && ./SetFile -a V "$3/boot"
copy Extra "$3/" && ./SetFile -a V "$3/Extra"

copy AppleDecrypt.kext "$3/System/Library/Extensions/"

kextcache -a i386 -l -n -m "$3/System/Library/Extensions.mkext" "$3/System/Library/Extensions"
kextcache -k "$3/System/Library/Extensions"

exit 0

 

Any advice?

Link to comment
Share on other sites

I can confirm that with new CDBOOT the installer from DVD throws an error "Could not set device boot property" at the end of the installation process.

With the old CDBOOT no such error appears. Reproduced twice on Gigabyte P35-DS3L.

Link to comment
Share on other sites

 Share

×
×
  • Create New...