Two distros, two GRUBS, can't boot the other distro
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Two distros, two GRUBS, can't boot the other distro
Hi
Running OpenSUSE as a main distro, with GRUB on the MBR. (root at hda5)
Had 2 unused partitions, onto which I have installed /home and root (at hda6) of Arch Linux (earlier Debian). When installing, I put the GRUB to the root partition (hda6).
To the openSUSE grub at MBR, I have added a new chainloader option, which, when selected, takes me to the Arch Linux GRUB at hda6.
Now, I haven't been able to actually boot Arch, nor Debian earlier with this same setting. Neither from the Arch, nor the openSUSE GRUB (even by editing the GRUBS to point to the correct kernel and initrd's.
Menu.lst of the Arch GRUB:
-------------------------------
# (0) Arch Linux
title Arch Linux
root DEVICE NOT FOUND
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/4652b23e-b2a4-4a44-82cb-be9709c4de7f ro
initrd /boot/kernel26.img
--------------------------------
/boot of Arch:
--------------------------------
config-2.6.26-1-amd64
grub
initrd.img-2.6.26-1-amd64
System.map-2.6.26-1-amd64
vmlinuz-2.6.26-1-amd64
--------------------
Menu.lst of SUSE:
--------------------------------------
title openSUSE 11.0 - 2.6.25.18-0.2
root (hd1,4)
kernel /boot/vmlinuz-2.6.25.18-0.2-default root=/dev/disk/by-id/scsi-SATA_IC35L020AVER07-_SVPTVF08599-part5 resume=/dev/sda1 splash=silent showopts vga=0x317
initrd /boot/initrd-2.6.25.18-0.2-default
title Arch chainloader
rootnoverify (hd1,4)
chainloader (hd1,5)+1
title Arch direct
root (hd1,4)
kernel /boot/vmlinuz root=/dev/disk/by-id/scsi-SATA_IC35L020AVER07-_SVPTVF08599-part6
initrd /boot/kernel26.img
-------------------------------------
Note the "DEVICE NOT FOUND" in GRUB. I have edited it to point to correct hd(1,5). Note SUSE is hd(1,4)
Also note the last line of SUSE GRUB "Arch direct". I have added it using YAST, and while pointing it to the correct device (hda6 = hd(1,6)), Yast assigned it hd(1,4), and even if I edit it manually in grub to be hd(1,6), I can't boot to Arch.
The GRUBs do not give consistent error messages either. Sometimes it's "file not found", sometimes something else.
I am totally puzzled by this. Suggestions greatly appreciated..!
You could always use the command mode of grub. "c" instead of selecting a menu option. Type in the menu.lst entry manually. It has help and tab completion so you should be able to notice what grub is trying to do, versus what you have in your configuration. And adjust accordingly. Or not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.