LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-20-2010, 03:39 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Question Open Suse 11.2 Install grub entry for chainloading ubuntu


I intend to re-install open suse 11.2, 32-bit. On a previous install,
suse did not provide a grub entry for ubuntu.
My current setup has
ubuntu/root on /dev/sda6
ubuntu/home on /dev/sda7
ubuntu/usr/local on /dev/sda8
mint/root on /dev/sda1
mint/home on /dev/sda2
mint/usr/local on /dev/sda9
with mint handling the boot loading.
I intend to replace the mint partitions with the same sequence of
suse partions (reformatted).
What would be the grub entry to execute chainloading of ubuntu?
would it be something like?
Code:
title Ubuntu
root (hd0,6)
chainloader (hd0,6)+1
I'm not clear about the usage of the +1, but it would be great if
someone could verify or correct the entry above.
Thanks
tim
 
Old 07-20-2010, 06:03 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,809

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
Make that "(hd0,5)" - for the old grub both harddisk and partition numbering is zero based.
Will only work if grub on Ubuntu was installed into the partition boot sector record.

May be better to use
Code:
title Ubuntu
configfile (hd0,5)/boot/grub/menu.lst
(substitute grub.cfg if using grub2 on Ubuntu).
 
1 members found this post helpful.
Old 07-20-2010, 06:44 PM   #3
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by syg00 View Post
Make that "(hd0,5)" - for the old grub both harddisk and partition numbering is zero based.
Will only work if grub on Ubuntu was installed into the partition boot sector record.
Understood.
Quote:
May be better to use
Code:
title Ubuntu
configfile (hd0,5)/boot/grub/menu.lst
(substitute grub.cfg if using grub2 on Ubuntu).
FYI: Ubuntu 10.04 does use grub2. I prefer grub, but
that is progress I guess, or feature-itis.
Thanks
tim
 
Old 07-20-2010, 06:58 PM   #4
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
You can chainload from Suse 11.2 which I believe still uses grub legacy.
The menu lst entry should be

Title ubuntu
root (hd0,5)
chainloader +1

That will work if your ubuntu grub was installed to /
 
1 members found this post helpful.
Old 07-20-2010, 08:00 PM   #5
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Larry Webb View Post
You can chainload from Suse 11.2 which I believe still uses grub legacy.
The menu lst entry should be

Title ubuntu
root (hd0,5)
chainloader +1

That will work if your ubuntu grub was installed to /
Thanks Larry, that would be the case.
tim
 
  


Reply

Tags
boot loader, chainload, ubuntu


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chainloading Grub from Lilo Unr3a164 Slackware 5 06-04-2008 10:35 AM
Fresh install of SUSE, windows partition is mounted but no GRUB entry irunfast1000 Linux - General 1 10-12-2006 03:49 PM
GRUB & XP w/out Chainloading: Possible? Computer Guru Linux - Software 5 06-14-2006 12:23 PM
Open SuSE doesn't install GRUB. infornography Linux - Distributions 1 12-21-2005 11:19 PM
grub and second linux, chainloading lacrimae Linux - Software 4 07-15-2002 09:17 PM


All times are GMT -5. The time now is 05:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration