Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-24-2009, 11:39 PM
|
#1
|
Member
Registered: Nov 2009
Posts: 33
Rep:
|
Grub error 15 question
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:
title Ubuntu 9.04, kernel 2.6.28-16-generic
uuid dd299f57-f3fb-45db-b551-bb46087909a2
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=dd299f57-f3fb-45db-b551-bb46087909a2 ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet
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 11:44 PM.
|
|
|
11-25-2009, 05:55 AM
|
#2
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
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:
title Ubuntu 9.04, kernel 2.6.28-16-generic
uuid dd299f57-f3fb-45db-b551-bb46087909a2
kernel /boot/vmlinuz-2.6.28-16-generic root=UUID=dd299f57-f3fb-45db-b551-bb46087909a2 ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet
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
|
|
|
11-25-2009, 07:08 AM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285
|
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.
|
|
|
11-25-2009, 09:30 AM
|
#4
|
Member
Registered: Nov 2009
Posts: 33
Original Poster
Rep:
|
grub error 15
Quote:
Originally Posted by syg00
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.
Zeno
|
|
|
11-25-2009, 10:04 AM
|
#5
|
Member
Registered: Nov 2009
Posts: 33
Original Poster
Rep:
|
Quote:
Originally Posted by ronlau9
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
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Thank you for your suggestions. I queried as per your advice and got the following in SuSE:
zeno@zeno:~> sudo ls -l /dev/disk/by-uuid
root's password:
total 0
lrwxrwxrwx 1 root root 10 2009-11-25 03:42 47dc325b-12bd-4c8d-a188-a94bca2282a3 -> ../../sda3
lrwxrwxrwx 1 root root 9 2009-11-25 08:42 8A27-7D16 -> ../../sdb
lrwxrwxrwx 1 root root 10 2009-11-25 03:42 8b993254-3beb-48ca-b56b-419ecaf294cb -> ../../sda2
lrwxrwxrwx 1 root root 10 2009-11-25 03:42 a026783e-d995-483a-a372-e1343f68ced9 -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-11-25 03:42 bc0d168f-efe2-4ef8-ad67-38c11089bba4 -> ../../sda6
lrwxrwxrwx 1 root root 10 2009-11-25 03:42 dd299f57-f3fb-45db-b551-bb46087909a2 -> ../../sda1
zeno@zeno:~>
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.)
UBU fstab:
UUID=dd299f57-f3fb-45db-b551-bb46087909a2 / ext3 relatime,errors=remount-ro 0 1
UUID=8b993254-3beb-48ca-b56b-419ecaf294cb /home ext3 relatime 0 2
UUID=47dc325b-12bd-4c8d-a188-a94bca2282a3 none swap sw 0 0
SuSE fstab:
/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part3 swap swap defaults 0 0
/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part5 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST380013AS_3JVCLFRX-part6 /home ext3 acl,user_xattr 1 2
Given this discrepancy, what would you do? Or... how do I correlate the two different name schemes?
And, once again, Many Thanks,
Zeno
|
|
|
11-25-2009, 07:50 PM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285
|
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 This will save you ever having to make changes again.
|
|
|
11-25-2009, 10:21 PM
|
#7
|
Member
Registered: Nov 2009
Posts: 33
Original Poster
Rep:
|
Thank you...but...?
Quote:
Originally Posted by syg00
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 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?
Zeno
|
|
|
11-25-2009, 10:29 PM
|
#8
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,285
|
Not in your path - I don't have SuSe but try
|
|
1 members found this post helpful.
|
11-27-2009, 12:42 AM
|
#9
|
Member
Registered: Nov 2009
Posts: 33
Original Poster
Rep:
|
error 15 problem SOLVED
Quote:
Originally Posted by syg00
Not in your path - I don't have SuSe but try
|
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.
All the best,
Geo Zeno
|
|
|
All times are GMT -5. The time now is 11:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|