Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
I've been trying for quite some time to make my Acer ZG5 netbook boot the multiple operating systems I have installed on it. I even bought the Linux Genius Guide, Vol. 2 simply because it had what I thought were the ultimate instructions on multibooting a Windows XP partition with several Linux OS's using a chainloader. All of the Linux OS's (except the first one on the extended Linux partition) have been installed with their respective boot-loaders on there own partition (not the master boot record), as directed by the Linux Genius Guide instructions. I went into the /etc/grub.d/40_custom file and entered something like this (with each linux name different):
menuentry "AV Linux Loader" {
set root=(hd0,7)
chainloader +1
}
As well as the other linux entries, I have an entry for Windows:
menuentry "Windows XP Loader" {
set root=(hd0,7)
chainloader +1
}
I have done this for each OS installed.
I also did a sudo chmod -x /etc/grub.d/30_os-prober as instructed by the article in order to disable the os-prober of grub2 that, according to the article in the Genius Guide magazine, "actually adds unbootable boot menus because it detects the root FS for other operating systems in an incorrect way."
Anyhow, the net result is that I can only boot the first of 6 Linux operating systems on an extended partition and the Windows XP partition, but none of the other Linux operating systems.
It appears that your system is set up somewhat similar to mine - I've got WinXP, three versions of Fedora, and two versions of Ubuntu on my ZG5. My system is set up with legacy grub (grub-0.97) in the MBR pointing to a separate boot partition with the rest of the grub files. Each installaed distro has grub2 in its partition. The chainload stanzas look something like this one:
Note that the rootnoverify line in each points to each distro's partition.
If you're using grub2 as your bootloader, the syntax will be a little different; more like this (and I'm guessing here, I don't have my multi-distro desktop PC handy:
sorry I can't help u with your issue, but here's my advice. forget about it. make your boot partition with grub legacy instead. it is just so much simpler and easy to edit as needed.
To BigRigDriver - Thanks for noticing that both menu entries are pointing to the same partition. However, that was the result of a typo and not what I actually did (I copied the first XP entry and forgot to change the partition number along with the OS name just for the LQ thread).
To RockDoctor and Knightron - Thanks for the detailed advice. Very nice of your both. I'm going to give your ideas a try and post my results soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.