LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-17-2006, 02:51 PM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Grub


Why is that the SUSE grub doesn't pick up other OS (besides XP) when trying to set it up through yast? FC4, uBuntu and I think Mandriva grub certainly picked up the other Linux distros on the machine.

I am trying to add an installed uBuntu onto the grub menu.lst

Code:
# Modified by YaST2. Last modification on Thu Feb  2 19:33:56 SAST 2006

color white/blue black/light-gray
default 0
timeout 15
gfxmenu (hd1,0)/boot/message

###Don't change this comment - YaST2 identifier: Original name: uBuntu (/dev/hdc8)###
title uBuntu 
   root (hd1,7)
   kernel /vmlinuz root=/dev/hdc8
   initrd /boot/initrd.img
There are other entries that I have not included. The Mandriva that is on hdc6 has root(hd1,5) and boots without a problem.
 
Old 04-18-2006, 12:17 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
kernel /vmlinuz root=/dev/hdc8
initrd /boot/initrd.img

You must add (hd1,x) in front of /vmlinu and /boot.
x=number of partition-1, where /boot is placed.
 
Old 04-18-2006, 02:46 PM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Yeah that's exactly what I did. That's the format the Mandriva entry has and I copied it.Interesting that both the vmlinuz and initrd.img are on the / directory rather than /boot (where the other 3 distros have them located).
 
Old 04-18-2006, 02:53 PM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
But that still doesn't answer the question of why SUSE never seems to pick up other Linux distros (when using YaST). Or am I doing something wrong?
 
Old 04-18-2006, 10:00 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Given our freedom in Linux to use partitions any way we like, I'm not sure how grub could discover other installs unless they were already configured in /boot/grub/menu.lst.
 
Old 04-19-2006, 04:08 AM   #6
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Suse does not add other Linux distros to the boot menu.
 
Old 04-19-2006, 04:30 PM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by fragos
Given our freedom in Linux to use partitions any way we like, I'm not sure how grub could discover other installs unless they were already configured in /boot/grub/menu.lst.
FC4 and uBuntu picked up that there were other Linux distros installed. Why not SUSE?

Last edited by Jongi; 04-19-2006 at 04:31 PM.
 
Old 04-19-2006, 09:20 PM   #8
victorh
Member
 
Registered: Jul 2005
Location: La Paz, Bolivia
Distribution: Debian Sarge - Sid, Slackware, Gentoo, openSuse, Fedora, Ubuntu, Mandriva
Posts: 241

Rep: Reputation: 30
When I installed SuSE 10.1 RC1, it recognizes that I had FC5 and FC4 in my system, and created the corresponding entries in menu.lst:
Quote:
###Don't change this comment - YaST2 identifier: Original name: Fedora Core (2.6.15-1.1831_FC4) (/dev/hdb9)###
title Fedora Core (2.6.15-1.1831_FC4) (/dev/hdb9)
kernel (hd1,8)/boot/vmlinuz-2.6.15-1.1831_FC4 root=LABEL=/1 ro rhgb quiet
initrd (hd1,8)/boot/initrd-2.6.15-1.1831_FC4.img

###Don't change this comment - YaST2 identifier: Original name: Fedora Core (2.6.16-1.2080_FC5) (/dev/hdb10)###
title Fedora Core (2.6.16-1.2080_FC5) (/dev/hdb10)
kernel (hd0,9)/boot/vmlinuz-2.6.16-1.2080_FC5 root=LABEL=/ ro rhgb quiet
initrd (hd0,9)/boot/initrd-2.6.16-1.2080_FC5.img
On the other hand, it didn't recognize Gentoo, I had to add it manually. I believe this is because I don't have a vmlinuz file in the /boot directory of Gentoo, just 2.6.15-gentoo-r7.

As far I can tell SuSE do recognize other Linux distros.
 
Old 04-19-2006, 09:49 PM   #9
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
victorh,

Thanks for setting us all strait with the facts to back it up. I'm looking forward to the final release of 10.1.
 
  


Reply



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
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 04:04 AM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:59 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
Open Source Consulting | Domain Registration