LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub error 15 question (https://www.linuxquestions.org/questions/linux-newbie-8/grub-error-15-question-771365/)

zenofronia 11-24-2009 10:39 PM

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

ronlau9 11-25-2009 04:55 AM

Quote:

Originally Posted by zenofronia (Post 3768704)
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

syg00 11-25-2009 06:08 AM

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.

zenofronia 11-25-2009 08:30 AM

grub error 15
 
Quote:

Originally Posted by syg00 (Post 3769100)
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

zenofronia 11-25-2009 09:04 AM

Quote:

Originally Posted by ronlau9 (Post 3769048)
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

syg00 11-25-2009 06:50 PM

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.

zenofronia 11-25-2009 09:21 PM

Thank you...but...?
 
Quote:

Originally Posted by syg00 (Post 3769803)
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

syg00 11-25-2009 09:29 PM

Not in your path - I don't have SuSe but try
Code:

sudo $(which grub)

zenofronia 11-26-2009 11:42 PM

error 15 problem SOLVED
 
Quote:

Originally Posted by syg00 (Post 3769926)
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


All times are GMT -5. The time now is 04:45 AM.