Leopard, Ubuntu and Windows XP multiboot

I have been a fan of the Mac OS ever since i cam to know about it. When i got my first computer I tried my best to make the windows look like mac but it was not upto my expectations and buys a mac was not an option for me. Then came the OSX86 project and it made my dream come true. I started experimenting with OSX 10.4.8 and kept trying to get it working on my Minimachine [xps 1210]. It took me around 6 months and several GBs of downloads to get tit to work.

I joined college for MBA and the Mac os in its latest flavour named the leopard was with me till i had to let go of it to install Linux because I had never thought that I would be installing 3 OSs simultameously and it went on like that for 6 more months and i was without mac os. Today I reinstalled macosx 10.5.2 and it jsut didnt boot as I had Ubuntu too installed previously and i got the Grub error…

Then I did the following to fix grub and added an entry into grub for booting macosx…

How to fix grub….

1. Boot the Desktop/Live CD. (Use Ubuntu 8.04 or later)

2. Open a terminal (Applications -> Accessories -> Terminal)

3. Start grub as root with the following command :

     sudo grub

4. You will get a grub prompt (see below) which we will use to find the root partition and install grub to the MBR (hd0)

         [ Minimal BASH-like line editing is supported.   For
         the   first   word,  TAB  lists  possible  command
         completions.  Anywhere else TAB lists the possible
         completions of a device/filename. ]

grub>

Type the following and press enter:

find /boot/grub/stage1

If you get "Error 15: File not found", try the following:

find /grub/stage1

Using this information, set the root device (fill in X,Y with whatever the find command returned):

grub> root (hd0,3) // for me it was (hd0,3)

Install Grub:

grub> setup (hd0)

Exit Grub:

grub> quit

Boot into Ubuntu

Open Terminal and run this command.

" sudo gedit /boot/grub/menu.lst "
it will allow to configure your boot order.

3) Edit your OSX in Editor Window.

title OSX86

root (hd0,0) " Replace with your Partition of OSX "

chainloader +1

Now Grub lets me choose which os to boot….

Ubuntu

Leopard

Windows XP

Grub on minimachine
Grub on minimachine

when i chose leopard I am presented with the Darwinx86 booot loader which presents to me all partitions to boot from an if i choose Linux from Darwin then i again get back to Grub…. 🙂

Darwin boot loader on minimachine
Darwin boot loader on minimachine

I just can keep switching between boot loaders and boot any os that I want….

The existing issues of single core only and no camera and card reader and no shut down still bug me… The shutdown and sleep had worked for me at times but not always.

Leave a Reply

Your email address will not be published. Required fields are marked *