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 installed SuSE 11.1 on the fourth partition of a drive that has Ubuntu 9.04 on Part1; /home on Part2; swap on Part3. When I next booted up, after installation, I saw SuSE splash screen menu with the choice of: SuSE, SuSE failsafe, Ubuntu, and mem. However, when I clicked on Ubuntu, I got "Error 15 - file not found".
The menu.lst on the SuSE partition includes the following entries:
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.37-0.1
root (hd0,4)
kernel /boot/vmlinuz-2.6.27.37-0.1-default root=/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part5 resume=/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part3 splash=silent showopts vga=0x314
initrd /boot/initrd-2.6.27.37-0.1-default
##..
##.. fail safe SuSE
##..
###Don't change this comment - YaST2 identifier: Original name: Ubuntu 9.04, kernel 2.6.28-16-generic (/dev/sda1)###
title Ubuntu 9.04, kernel 2.6.28-16-generic (/dev/sda1)
root (hd0,0)
configfile /boot/grub/menu.lst
Here is the menu.lst file in the Ubu /boot/grub dir:
It seems to me that the Ubuntu entry in SuSE menu.lst is the problem. Should I insert text re: vmlinuz, etc., as in the menu.lst in the Ubu files, replacing: "configfile....".? Would this solve the problem? Is there some other fix? What exactly does the "configfile..." entry mean/imply?
Thank you,
Zenofronia
Last edited by zenofronia; 11-24-2009 at 10:44 PM.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
Quote:
Originally Posted by zenofronia
I installed SuSE 11.1 on the fourth partition of a drive that has Ubuntu 9.04 on Part1; /home on Part2; swap on Part3. When I next booted up, after installation, I saw SuSE splash screen menu with the choice of: SuSE, SuSE failsafe, Ubuntu, and mem. However, when I clicked on Ubuntu, I got "Error 15 - file not found".
The menu.lst on the SuSE partition includes the following entries:
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.37-0.1
root (hd0,4)
kernel /boot/vmlinuz-2.6.27.37-0.1-default root=/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part5 resume=/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part3 splash=silent showopts vga=0x314
initrd /boot/initrd-2.6.27.37-0.1-default
##..
##.. fail safe SuSE
##..
###Don't change this comment - YaST2 identifier: Original name: Ubuntu 9.04, kernel 2.6.28-16-generic (/dev/sda1)###
title Ubuntu 9.04, kernel 2.6.28-16-generic (/dev/sda1)
root (hd0,0)
configfile /boot/grub/menu.lst
Here is the menu.lst file in the Ubu /boot/grub dir:
It seems to me that the Ubuntu entry in SuSE menu.lst is the problem. Should I insert text re: vmlinuz, etc., as in the menu.lst in the Ubu files, replacing: "configfile....".? Would this solve the problem? Is there some other fix? What exactly does the "configfile..." entry mean/imply?
Thank you,
Zenofronia
Adding the UBUNTU items to suse menu.lst can do no harm , if you do it correctly .
But before doing so find out if the uuid has changed.
The next command will give you the UUID ls -l /dev/disk/by-uuid
If the UUID has changed than both option will not work
I would expect that configfile to work - do you have a separate /boot partition for Ubuntu ?. You could replace the configfile with the kernel line, but what about if the kernel gets updated ?. Not likely now with Jaunty, but the concern remains.
I would expect that configfile to work - do you have a separate /boot partition for Ubuntu ?. You could replace the configfile with the kernel line, but what about if the kernel gets updated ?. Not likely now with Jaunty, but the concern remains.
Thanks for responding. But...which configfile? The one that is already there? i.e. "configfile..." If I upgrade Ubu I can change the line at that time. But...is there another way to do this?
Nice to be able to have help from around the world. Such is Linux.
Adding the UBUNTU items to suse menu.lst can do no harm , if you do it correctly .
But before doing so find out if the uuid has changed.
The next command will give you the UUID ls -l /dev/disk/by-uuid
If the UUID has changed than both option will not work
Next I did cat to fstab for Ubu and SuSE and got the results below. So this is two different ways of naming. So I am unable to verify if the files are the same or not. (sda1 is Ubu and sda5 is SuSE.)
I actually meant "configfile command" should work.
In your situation I would (re-)install grub into the boot sector record on sda1 as follows
Code:
sudo grub
root (hd0,0)
setup (hd0,0)
quit
Needs to be done as root so if you don't have sudo, su first. Then replace the configfile line in your SuSE menu.lst with
Code:
chainloader +1
This will save you ever having to make changes again.
Thank you for your suggestion. It seemed quite reasonable. But when I typed: "sudo grub", the reply was: "bash: grub: command not found" ??
Should I be asking another shell?
Thank you so much for your help. You may not have SuSE, but you certainly know Linux. I followed your suggestions and learned that grub was indeed not in my PATH. Then, with a few simple steps, I arrived at a solution. It was a joy. It also demonstrated the spirit of Linux: a community of people learning from and teaching one another.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.