Tagged and Bagged: , , ,

BTW, for anyone who wants to dual, triple, etc boot from GRUB, and you want it easy, check this out. For as many distros as I’ve been able to, I’ve installed the bootloader on the root partition of the distro (my latest Ubuntu install is on /dev/sda5, for example). Then, I chainload it from the bootloader that I’ve already had installed. The advantage of this is that you don’t have to continually have to have your main bootloader reinstalled each time one of the distros has a kernel update.

Here’s how:

-add a new line in your /etc/menu.list or grub.conf file (and if you’re using LILO, 1.Why? and 2.You’re on your own. Read the man page). You will only need three lines for this to work.
-the first line is the title, so : “title Ubuntu 9.10″ (without the quotes)
-the second line is the “root (hdx,x)” line. I’ll use my Ubuntu install for an example. Use this command on this line (without the quotes, of course): “root (hd,0,5)”
-Then, put a third line: “chainloader +1″
-That’s it.

title Ubuntu 9.10
root (hd0,5)
chainloader +1

is how it would look.

What will happen, then, is that your grub will boot and then, if you select your new distro entry, it will load the grub install from the first partition of your new distro.

Now, its easy to add and remove distros in your bootloader without the risk of it being changed to a mangled state on a multi boot system.

6 Comments

  1. hari says:

    I agree. You can also you a non-OS specific bootloader in the MBR.

    This is worth it if you find yourself using more than 2 OSes. Otherwise, I think a simple GRUB setup in the MBR is better.

    Also these days I hardly experiment with Operating Systems. Looks like my geekiness is wearing out. I’m frankly bored.

    1
  2. MrCorey says:

    You reminded me of when I used GAG to load Linux and Windows. I had installed it on a floppy disk, of all things, about 18 months ago to boot when I couldn’t get in another way.

    2
  3. hari says:

    I used to go with XOSL.

    3
  4. Marie Curie High School says:

    I am a master of Marie Curie high school, I’d like your blog.
    I will tell my student about your post for them to get more exp

    4
  5. mrcorey says:

    Are you sure that you have enough english speaking students that can take advantage of this personal rambling?

    5
  6. MacBros says:

    They’re a Master Corey! Don’t taunt them or they may use a Jedi Death Grip on you!

    6

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Most of the traditional smiley text shortcuts will work as well

TopOfBlogs