Karmic Koala, back into legacy GRUB

One of  a lot of new feature of Ubuntu Karmic Koala (9.10) is GRUB2 (GRand Unified Bootloader 2).  GRUB2 has replaced formerly known GRUB-Legacy (0.9x), which no longer being developed. It has significant different comparing with previous version, there is no longer /boot/grub/menu.lst  file, GRUB2 boot menu handled by /boot/grub/grub.cfg. This file automatically generated when system boot. but how if we still want to use old stuff, For example, i didn’t succeed to configure this newest version for pc_efi boot, meanwhile i need this for dual booting with my OSX86.
First, we need to remove this GRUB2 version

sudo apt-get --purge remove grub*

Remove all files from latest installation

sudo rm -rf /boot/grub/*

Now, installing GRUB legacy

sudo apt-get install grub

Then, we have to generate menu.lst file, which needed for booting

sudo update-grub

You can configure menu.lst file as you needed, and installing to system with this command,

sudo grub 

Find where your linux root partision located with :

find /boot/grub/stage1

Set root partition with result of command above, i my case (hd0,4)

root (hd0,4)

Install into MBR, normally hd0, maybe different in your machine

setup (hd0)

Bingo, now your GRUB back to legacy.

Advertisements

About singgihpraditya

Gua cuma orang biasa, gak lebih , gak kurang. code maniac (i've been entrust all whole live just to make a good code)
This entry was posted in Linux. Bookmark the permalink.

3 Responses to Karmic Koala, back into legacy GRUB

  1. Pingback: Howto install and configure dual boot Kalyway OSX86 and Ubuntu « ::: Gambatte ::::::

  2. Caue Rego says:

    that’s weird. I could both configure grub2 to work with my PC_EFI and it also automagically identified my osx86 installed (kalyway) and when I boot through that it even can see my 2 processors, while through EFI it can’t.

    I was hoping it would also fix my sound or airport, but that didn’t happen.

    Anyway, here’s my EFI configuration on grub2 in case you want to try it:

    menuentry “Mac OSX (bootloader)” {
    set root=(hd0,8) #this is my ubuntu partition
    multiboot /boot/boot_v8
    }

    • singgihpraditya says:

      Hi Caue Rego
      Thanks for your info, you can check this site for reference. there is alot of device driver in that site. hope it’ ll solves your problem 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s