Wednesday, January 7, 2009

My Life with Linux on the Mac!

Well another post when am bored....non-tech guys please stay away u wont understand anything. I have a Macbook for the past year and a half  it works pretty well (thank god or nature) depending wether your a believer or no. Its an Intel C2D 2.16 ghz  1 GB DDR2 RAM 160 gigs of hard drive space not too bad. It runs Mac OS X 10.5.4 ( Leopard u fool!) well a few days back I wanted to install linux on the macbook to c what it can do. I started off by installing FC 9 which i downloaded off the internet. Installation went smooth could successfully dual boot OS X and FC 9. Played around with it for a while installing the drivers can prove cumbersome the macbook chipsets are closely guarded secrets as though they deal with the armed forces of a nation. Googling helped locate the chipset make. Had to get reverse engineered drivers for linux most of the builds never worked but hey after some R&D managed to get the wifi, sound, the webcam working fine. A few days passed and i ordered a RHEL CD for myself since i found fedora a little boring to use. Inserted the Leopard CD and deleted the Linux partition ( for installing RHEL) got it deleted and went on to partition the drive again using diskutil so as to create space for my RHEL installation it simply wouldn't partition the drive giving some mundane error saying that it wasnt one single partition. Then I figured that the swap space didnt get deleted. I was cursing myself damn! i had about 1 gig of swap space. No matter what I did the swap space wouldnt go. So I figured that I'd have to delete my mac os  fully and then reinstall it something which is quite boring coz it requires backing up of data and all the bull crap that goes along with it. Googled again  found little or nothing that could be of use. Then I figured if i can somehow use a terminal i could delete the partition using the parted utility that comes with Linux. Downloaded  Gparted from the web burnt it on a disc and voila the swap space just went in a jiffy!! no need to reformat the Mac partition rebooted into OS X. Used diskutil again and created the 'single' partition required by OS X again created a 15 gig partition for my linux. Downloaded rEfit for the dual booting rebooting using the linux cd installed it and there u go works like a charm. For queries do ask and I will give you the procedure exactly 

No comments: