Spreadfirefox Affiliate Button
Custom Search

Thursday, October 23, 2008

Add New OS in GRUB

We assume, we have a machine which alreday installed windows or macintosh. If we have windows and install linux, in OS menu list when we booting, windows already there. But for macintosh, mac not shows in menu list. So to shows mac in menu list we have add it to the menu.lst.

As we know, for primary partition we can make only 4 partition, from hd0 - hd3, and for secondary we can make more than 4.

Assume, our mac is in partition 1 (primary) and linux in partition 2 (primary).

Edit menu list from terminal:
root@hardy:/home/bearisusanto# nano /boot/grub/menu.lst

…………configuration already exist
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=cadd2657-226c-45cc-90$
initrd /boot/initrd.img-2.6.24-16-generic
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
…………add in this section for mac OS

title MAC Leopard
root (hd0,0)
makeactive
chainloader +1

Gotcha, when we reboot, the menu will be appear, when we press “esc” button.

No comments: