LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-24-2009, 11:39 PM   #1
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Rep: Reputation: 0
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.
 
Old 11-25-2009, 05:55 AM   #2
ronlau9
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: Reputation: Disabled
Quote:
Originally Posted by zenofronia View Post
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
 
Old 11-25-2009, 07:08 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,840

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
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.
 
Old 11-25-2009, 09:30 AM   #4
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Original Poster
Rep: Reputation: 0
grub error 15

Quote:
Originally Posted by syg00 View Post
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
 
Old 11-25-2009, 10:04 AM   #5
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
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
 
Old 11-25-2009, 07:50 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,840

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
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.
 
Old 11-25-2009, 10:21 PM   #7
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Original Poster
Rep: Reputation: 0
Thank you...but...?

Quote:
Originally Posted by syg00 View Post
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?

Zeno
 
Old 11-25-2009, 10:29 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,840

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Not in your path - I don't have SuSe but try
Code:
sudo $(which grub)
 
1 members found this post helpful.
Old 11-27-2009, 12:42 AM   #9
zenofronia
Member
 
Registered: Nov 2009
Posts: 33

Original Poster
Rep: Reputation: 0
error 15 problem SOLVED

Quote:
Originally Posted by syg00 View Post
Not in your path - I don't have SuSe but try
Code:
sudo $(which grub)
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
 
  


Reply

Tags
boot, grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another Grub 1.5 Error 21 question. slipa Linux - Newbie 16 02-02-2011 09:06 AM
GRUB question. I want to delete the partition of the distro that installed GRUB... brjoon1021 Linux - General 2 09-29-2009 12:14 PM
Another noob question: Grub error 17 technowar Linux - Newbie 16 08-06-2009 01:12 PM
GRUB error question PipeDreams Debian 4 03-18-2006 08:19 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM


All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration