Jump to content

GRUB2 -> Chameleon


bcobco
 Share

6 posts in this topic

Recommended Posts

situation: disk containing osx86 and linux. boot loader was Chameleon, replaced by GRUB2.

 

boot linux and extract Chameleon's i386.zip into /boot/chameleon

then edit file /etc/grub.d/40_custom in order to add this lines:

menuentry "OSX86 Chameleon Boot Loader" {
chainloader /boot/chameleon/i386/boot0
}

after save, run update-grub2

done!

 

EDIT: simplification... chainloader pointing to chameleon's boot0 do the trick

________

useful chameleon recovery commands

(cd /boot/chameleon/i386)

dd   if=boot0   of=/dev/disk/by-id/TheDiskThatYouAreUsing   bs=440   count=1

dd   if=boot1h   of=/dev/disk/by-id/ThePartitionWithOsx86OfTheDiscThatYouAreUsing   bs=512   count=1

cp   boot   /the/root/of/your/osx86/mount/point/

 

dont copy-paste, just take as reference!

please use dd (destroyer of disks) with precaution, you can kill a little cat if used wrong!

________

http://en.wikipedia.org/wiki/Dd_%28Unix%29

Edited by bcobco
Link to comment
Share on other sites

i think it can be useful information for those who has a linux as backup system installed on their hard drive.

GRUB2 will be the main boot loader. it will chain load into Chameleon!

by default, GRUB2 does not detects propertly OSX86. this is a little fix for grub2.

Link to comment
Share on other sites

 Share

×
×
  • Create New...