Wednesday, October 24, 2007

Triple Boot in MacBook (Debian AMD64) using rEFIt

I have got success to create triple boot in mac book using rEFIt

salahuddin-pashas-computer:~ salahuddin$ diskutil list
#: type name size identifier
0: GUID_ partition_scheme *111.8 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 111.2 GB disk0s2

Resize the volume

diskutil resizeVolume /dev/disk$OSX OSXpartsize 2ndPartType 2ndPartLabel 2ndPartSize 3rdPartType 3rdPartLabel 3rdPartSize

Here I am giving

diskutil resizeVolume /dev/disk0s2 71.1G Linux Linux 25G "MS-DOS FAT32" Windows 15G

(If you face problem while resizing the partitions, install/reinstall a fresh copy of Mac OS)

Install rEFIt in Mac OS (Mac disk image)

reboot your mac book and ensure that rEFIt is loading at boot time.

Boot Windows XP SP2 32bit, you will find the CD appear in the boot menu of rEFIt or use 'C' to boot. Now install it sda4
(warning: just format the sda4 in (fat32 or ntfs) while installing windows, but do not repartition/change anything!!!)

reboot and you will find 2 option for booting the Mac OS and Windows.
(warning: do not update the partition record in the rEFIt now, the Linux partition may update as fat32)

Installing Debian:

Get the AMD64 version of Debian (you can also use generic 32 bit)

Install Debian normally without the grub or lilo

(when it will try to install grub or lilo use go back, and from main menu select finish installation from Debian installation CD.)

From rEFIt menu update the partition record. Important!!!

Now boot with Debian installation CD up to the partitioning.
(otherwise you will face problem while installing lilo)
(*** you can see the easy way below after update the partition table)

go to console mode
mkdir /tmp/debian
mount /dev/sda3 /tmp/debian
chroot /tmp/debian
mount /proc
apt-get install lilo
nano /etc/lilo.conf

sample lilo config


image=/vmlinuz initrd=/initrd.img

Install lilo in sda3
lilo -b /dev/sda3


(***another easy way is install debian from begining again, now install lilo in /dev/sda3)(do not install grub) done...

After reboot you will find 3 OS boot option in rEFIt menu.

Important configuration!!!

Install CPU frequency, otherwise you mac book can be too hot in a short time.

Configure the Color Profile (install xcalib using apt)

F1, F2, F3... Key configuration
apt-get install pommed



Saturday, October 06, 2007

Bought a MacBook

Today I bought

Intel Core 2 Duo 2.16 GHZ (white)
2 GB Ram

With Mr. Jamil and Mofidul Islam