Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-02-2011, 01:57 PM   #1
Registered: Dec 2010
Posts: 61

Rep: Reputation: 0
Inserting entry of opensuse in grub 2 of linux mint 10 Problem

i installed opensuse 11.3 on sda6
and linux mint 10 on sda8

currently the grub2 appears at start of system and there is no entry for opensuse 11.3

i didn't installed the grub bootloader at time of opensuse installation as then i would be having grub and grub2 both

please tell how to insert the entry of opensuse in grub 2 ?

i want to know which files are to be edited and what has to be inserted to accomplish this task ?

any tutorial or example would be really helpful
Old 03-02-2011, 02:28 PM   #2
Senior Member
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
You have two options.

You can either install grub in your opensuse installation and install it to the root partition, NOT the MBR.


You can just make a /boot/grub folder with a menu.lst file that contains the info for your suse kernels.

when you update-grub in your mint install grub2 will then pick up the contents of your menu.lst file.

The first approach has the drawback of installing grub to a partition boot record using blocklists, which are said to be unreliable.

The second approach has the drawback of the need to manually update the /boot/grub/menu.lst file each time you upgrade the kernel.

I use the second approach on my Gentoo installation.
Originally Posted by gentoo /boot/grub/menu.lst
title Gentoo 2.6.38-rc6+
root (hd1,7)
kernel /boot/kernel-2.6.38-rc6+ root=/dev/sdb8 ro

title Gentoo 2.6.38-rc5+
root (hd1,7)
kernel /boot/kernel-2.6.38-rc5+ root=/dev/sdb8 ro

title Gentoo 2.6.37-gentoo
root (hd1,7)
kernel /boot/kernel-2.6.37-gentoo root=/dev/sdb8 ro

title Gentoo 2.6.38-latest
root (hd1,7)
kernel /boot/vmlinuz root=/dev/sdb8 ro
If you look at the last entry, you will see that I have an entry called latest. What I do here is use a symbolic link to point to the newest kernel. If you use an initrd you will also have to have a line for those

EDIT: I guess that you really have a third option. Which would be to cerate a custom entry in the
/etc/grub.d/40_custom file. If you would like to go that route let me know and I can help you with that.

Last edited by andrewthomas; 03-02-2011 at 02:30 PM. Reason: added third option
Old 03-02-2011, 04:38 PM   #3
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
This seems to be one of the best tutorials on grub2.


This tutorial is from ubuntu but will work for you. The easiest way would be to do a repair from the suse cd and install grub to / and then from grub2 run os-prober and then update-grub and that should straighten things out.


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
[Bootloader]Adding Linux Mint Entry to Lilo on slackware zine92Linux Slackware 7 04-16-2010 10:25 PM
uninstall GRUB used with linux mint origami-sheep Linux - Newbie 7 02-10-2010 11:51 AM
[SOLVED] adding Ubuntu boot entry into openSUSE GRUB menu subuntu SUSE / openSUSE 11 01-28-2010 09:00 PM
Grub Entry Problem? PipeDreams Linux - Newbie 5 11-15-2008 01:08 PM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 AM.

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