What is the best way to multi-boot several Linux distros?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the best way to multi-boot several Linux distros?
I have a 120 GB hard drive I'm using for experimentation purposes. I want to install about a dozen or so different Linux distros to this drive and be able to boot into any of them. What is the best way to do that?
I'm interested in installing these distros:
sidux
Chakra Fuzzy
Kubuntu Karmic
Mythbuntu Karmic
Mandriva 2010
Crunchbang
openSUSE 11.2
and whatever others I decide to try later.
BTW, I also want to find out how to install these without burning CDs or DVDs. For several of them, I know how to do that, but I don't want to have to use a different USB stick for each distro. I have one 16GB stick that should hold all the ISO files. So it would be nice to use that for the installs.
I have a 120 GB hard drive I'm using for experimentation purposes. I want to install about a dozen or so different Linux distros to this drive and be able to boot into any of them. What is the best way to do that?
I'm interested in installing these distros:
sidux
Chakra Fuzzy
Kubuntu Karmic
Mythbuntu Karmic
Mandriva 2010
Crunchbang
openSUSE 11.2
and whatever others I decide to try later.
BTW, I also want to find out how to install these without burning CDs or DVDs. For several of them, I know how to do that, but I don't want to have to use a different USB stick for each distro. I have one 16GB stick that should hold all the ISO files. So it would be nice to use that for the installs.
Is this just so you can see what they are all like? Why don't you just use VirtualBox? If you aren't familiar with it: VirtualBox allows you to have as many "virtual" disk images as you want, and you run them inside the VirtualBox emulator. You could store the images on your 16GB stick if you didn't want to take up your own PC's hard disk space.
This won't really work in all cases. For example, it won't work with openSUSE 11.2 or with Chakra. I already tried something similar. In fact, this method doesn't work with most of the distros I have tried so far.
I just learned about Grub2. Now I would like to use it. Is there any good guide for multi-booting with Grub2 as the main boot loader? I understand Grub2 will boot OS's that use Grub1 (or any other boot loader) in their partition.
I'm thinking it may be as simple as installing grub 2 to the MBR (using grub-install) then editing grub.cfg like this:
Code:
# Entry N - Chainload another bootloader
menuentry "Chainload my OS" {
set root=(hd0,N)
chainloader +1
}
and following the general suggestions given at the above links for grub1. However, if anyone knows of a good guide, I would like to read up on how this is done with Grub2 before I start.
I just learned about Grub2. Now I would like to use it. Is there any good guide for multi-booting with Grub2 as the main boot loader? I understand Grub2 will boot OS's that use Grub1 (or any other boot loader) in their partition.
I'm thinking it may be as simple as installing grub 2 to the MBR (using grub-install) then editing grub.cfg like this:
Code:
# Entry N - Chainload another bootloader
menuentry "Chainload my OS" {
set root=(hd0,N)
chainloader +1
}
and following the general suggestions given at the above links for grub1. However, if anyone knows of a good guide, I would like to read up on how this is done with Grub2 before I start.
Although this is right, I run into the problem that after grub2 chainloaded a partition that contains grub legacy. That grub legacy starts, but cannot find its splash screen and cannot boot its operating system (ubuntu 8.04, 8.10 or mint 6 / 7) Even not after editing the grub lines at all. When I chainload this grub legacy containing partition from a mbr with grub legacy in it there's no problem at all.
Chainloading into a windows partition works OK.
My conclusion is that it is possible to chainload from grub legacy into grub 2 and boot succesfully, but not possible to chainload from grub 2 into grub legacy and boot succesfully.
So a dedicated grub 2 partition and grub2 starting from the MBR is not usable as long as one of the partitions containing an operating system uses grub legacy to boot.
Although this is right, I run into the problem that after grub2 chainloaded a partition that contains grub legacy. That grub legacy starts, but cannot find its splash screen and cannot boot its operating system (ubuntu 8.04, 8.10 or mint 6 / 7) Even not after editing the grub lines at all. When I chainload this grub legacy containing partition from a mbr with grub legacy in it there's no problem at all.
Chainloading into a windows partition works OK.
My conclusion is that it is possible to chainload from grub legacy into grub 2 and boot succesfully, but not possible to chainload from grub 2 into grub legacy and boot succesfully.
So a dedicated grub 2 partition and grub2 starting from the MBR is not usable as long as one of the partitions containing an operating system uses grub legacy to boot.
According to what I have been reading, grub and grub2 can boot any operating system via chainloading as long as that operating system has its own boot loader.
Grub2 can boot an OS on a partition containing legacy grub. In fact, I have made this work on my laptop with sidux. I have grub2 installed to the MBR and I have sidux installed to a partition. It works.
At my system it doesn't work. Grub2 boots, it chainloads all my partitions with Grub legacy on it and all my partitions with grub2 in it. But the partitions with grub legacy wont boot, but give error 22 no such partition.
When I install grub legacy in the MBR everything works fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.