View Single Post
 
Old 04-17-2009, 01:02 AM
cmdshft's Avatar
cmdshft cmdshft is offline
Panther
 
Join Date: Dec 2008
Location: Hackensack, NJ
Posts: 240
Just boot your running install of Ubuntu and use:

Code:
sudo grub-install /dev/sdX
Where X is the drive number. Simple. After that, Chameleon will see Ubuntu.

Now, if you wanna make sure, you can dump the Ubuntu boot sector and run hexdump on it to check the signature.

To do so, boot OS X and launch terminal.

Code:
diskutil list


Find the partition that says "Linux" in the list, and note it's /dev/ location. For me, it was /dev/disk0s1.

So now, to dump the bootsector of my Ubuntu drive, I did the following:

Code:
sudo dd if=/dev/disk0s1 of=./bs bs=512 count=1
You will get a bunch of info, ignore that.

Then:

Code:
hexdump ./bs
You will now see a bunch of hex data. If it's:

Code:
00001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000200
Then the bootloader is not installed properly and you must go attempt it again.

If it is:

Code:
00001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
0000200
Then it's installed correctly and Chameleon will see it. It checks for the last two bytes for 55 aa. This tells Chameleon the bootsector is valid.

Mac OS X Leopard 10.5.8 (9L30) | Chameleon 2.0 RC3 | Intel Pentium 4 3Ghz 800Mhz FSB HyperThread 1MB L2 cache SSE3 1MB L2 cache works, cosmetic display of 512KB L2 cache | Asus P4V8X-MX VIA Chipset, VIA-VT8237 Southbridge | AC97 VIA8237 | Dual 1GB 333Mhz DDR SDRAM | nVidia PNY GeForce 7600GS 512MB 8x AGP DVI/TV-Out/VGA [NVinject 0.2.1; QE/CI/QuartzGL/Rotation] | Darwin Kernel Version 9.7.0: Sun Jun 14 20:48:28 IST 2009; Voodoo 2.0 Intel alpha3 :xnu-1228.12.14/BUILD/obj/RELEASE_I386 i386
Reply With Quote