Results 1 to 8 of 8
It's been just a few days since i installed openSUSE 10.3 and there is an issue i'd like to ask about. I already had UBUNTU 7.10 installed on that drive ...
- 12-26-2007 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 3
question about GRUB
It's been just a few days since i installed openSUSE 10.3 and there is an issue i'd like to ask about. I already had UBUNTU 7.10 installed on that drive (a second hard drive, additional to my first one where i have win installed) and after i installed SUSE something weird (or maybe not?) is happening with my GRUB. GRUB -that i got installed by SUSE- is loading and i get the following options: 1.openSUSE 2.UBUNTU kernel 3. Win 1, etc... If i want to boot UBUNTU or Win, i have to select the second option (2.UBUNTU kernel) and after that, i get to the old GRUB (that was installed with UBUNTU) where i have to select again whether i want to boot UBUNTU or Win (no SUSE option this time). It seems like there are two GRUB loaders and the first one is redirecting me to the second (when i want win or Ubuntu as i said). I don't know if that has anything to do with that, but both loaders are installed on the first hard disk (hd0) where Win are installed. Is there any way to fix that "problem" and have just one loader where i can boot everything from, without being redirected anywhere?
I'm new to Linux and i'd appreciate any help!
- 12-26-2007 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Welcome to the forums, stafrosh!
Your situation seems a bit complicated and I'm not sure I follow it completely, but check out the SuperGRUB LiveCD. It can be used to fix GRUB, LILO, and Windows bootloaders.
It's a small download, and quick burn to CD, and is a good utility to keep on hand.
Do let us know if it works.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 12-26-2007 #3
Another idea would be to boot to suse, mount the ubuntu partition and copy the ubuntu boot entry from ubuntu's /boot/grub/menu.lst to suse's menu.lst. What you should copy will look like this
Replace the ubuntu entry in suse's /boot/grub/menu.lst with the one you copied from ubuntutitle Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/sda6 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
- 12-26-2007 #4Just Joined!
- Join Date
- Dec 2007
- Posts
- 3
@ozar Well, look, i'll try to give a better description.
At first, i only had UBUNTU 7.10 on my second hard disk (the first disk has Win installed on it). The GRUB that was installed along with Ubuntu was working perfectly(of course, it was giving me the options to boot in Win or Ubuntu). But when i additionaly installed openSUSE 10.3, a new GRUB was also installed ALONG with the first one, i mean, it was not a GRUB replacement, but rather an installation of an additional one. And now there are two GRUB menus. The first one is giving me the option to boot in SUSE or go to the old GRUB. And that old GRUB is giving me the options to boot in Win or Ubuntu. What i want to do is to get just one loader, with no submenus or sth like that, where i can choose to boot anything from.
Well, i hope i was more clear!!!
Anyway thanx for your suggestion, i'll probably try that
@valemon Hmmm..i'm not sure i really got that. i'm kinda newbie, could you be a little more specific? thanx anyway!
- 12-27-2007 #5
Boot suse and open the konsole. Become root by typing "su" and your root password. Type
This will output disk's partitions.Code:fdisk -l
where sdaX is the ubuntu partition. ThenCode:mkdir /mnt/ubuntu mount /dev/sdaX /mnt/ubuntu
Find the entry I mentioned above and copy it. thenCode:kwrite /mnt/ubuntu/boot/grub/menu.lst
This is the suse's grub menu. Find the ubuntu entry and replace it with the one you copied. If you got any questions don't hesitate to ask.Code:kwrite /boot/grub/menu.lst
- 12-27-2007 #6
Nothing is wrong wiht your GRUB configuration. You have two GRUBs. One in first HD ( SuSe ) and other in second HD ( Ubuntu ).
SuSe's GRUB is calling Ubuntu GRUB and thats good.
Just decrease timeout or dont call it.
Two ways :
* Open Ubuntu's /boot/grub/menu.lst file and set timeout and default values to 0 (zero).
* Follow Valemon's suggestion. Copy title, root, kernel and initrd lines from Ubuntu's menu.lst and paste in SuSe's menu.lst. Delete existing entry of Ubuntu from SUSe's Menu.lst file.
Dont use SuperGRUB CD. Either nothing will change Or you will erase SuSe's GRUB and Suse wont boot up after that.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-27-2007 #7Just Joined!
- Join Date
- Dec 2007
- Posts
- 3
That worked perfectly, i got just one menu as i wanted. Thank you guys! I think i'll be back sometime with questions again!!!
Last edited by oz; 12-27-2007 at 02:09 PM. Reason: Sorry guys, edited out non-english part of post...
- 12-27-2007 #8
Glad to hear you got this working!
Last edited by oz; 12-27-2007 at 02:10 PM. Reason: Sorry guys, edited out non-english part of post...


Reply With Quote