Author Topic: Chameleon Dual Boot Mac and Ubuntu  (Read 9454 times)

0 Members and 1 Guest are viewing this topic.

hobong

  • Entrant
  • Posts: 2
Chameleon Dual Boot Mac and Ubuntu
« on: December 19, 2009, 10:34:12 AM »
Hello
I need help to boot linux from Chameleon. I'm using Chameleon2 RC4_r684, MacOS X 10.5.8 ( iAtkos ) and Ubunut 9.10 Karmic Koala ( installing Grub2 on /dev/sda5 root ubuntu partition )

Here's my Hard Disk Layout :


and what i am doing to update Chameleon is :

$cd Chameleon2_RC4
$sudo fdisk -f boot0 -u -y /dev/rdisk0
$sudo dd if=boot1h of=/dev/rdisk0s1
$sudo cp boot /

the I restart the Mac, but i still don't have option to boot into ubuntu 9.10

Any one can help me with Chameleon boot ?

Thanks
« Last Edit: December 19, 2009, 10:18:16 PM by hobong »

julien

  • Entrant
  • Posts: 1
Re: Chameleon Dual Boot Mac and Ubuntu
« Reply #1 on: December 19, 2009, 04:10:17 PM »
Hello,

You need to install grub on your linux partition (not the MBR of your disk).

Boot from your Ubuntu Live DVD and type these commands in a terminal :

sudo mount /dev/sda5 /mnt
sudo chroot /mnt
sudo grub-install /dev/sda5


Reboot and your linux partition should appear in the Chameleon boot menu.

hobong

  • Entrant
  • Posts: 2
Re: Chameleon Dual Boot Mac and Ubuntu
« Reply #2 on: December 19, 2009, 10:17:42 PM »
I solved the problem with change the Linux ( ubuntu ) partition to primary
here's the disk layout after i changed the partition layout :

( compare with my first post picture )

So If you wanna make double boot Macinthos  and Ubuntu. Here's the way i did it.

1. Install MacOSX first on MBR Partition, Let's say disk0 ( use Chameleon2 )
2. Then Install Linux Partition over Second Primary, Let's say disk0s2 ( Never install linux on Extended / Logical partition, Chameleon will never read the extended / logical partition ) REMEMBER to install GRUB on root Linux partition let's say /dev/sda2 NOT IN MBR

« Last Edit: December 19, 2009, 10:19:30 PM by hobong »