LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-18-2009, 01:13 AM   #1
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool Is this GRUB problem?


I have Ubuntu , WinXP , openSUSE installed which having GRUB stage1 as (hd0,4) , and I just installed openSolaris and its having GRUB in (hd0,5).

So i went to change manually to get through solaris using grub editing , all showed successfull

When rebooted , I get the same GRUB window , and from there I edited once again to see through solaris [made my GRUB point to (hd0,5)], successful

But the problem is , when rebooted ,the GRUB console opens again , I couldnt figure out why its keep on coming , and I never get into my solaris

But when GRUB edited to (hd0,4) I can access rest of my OS .
IS this a GRUB fault , kindly help me to get solaris in my ubuntu GRUB menu list , I dont want to keep two GRUB pointers
 
Old 09-18-2009, 01:24 AM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
did you add the entry for solaris in /boot/grub/menu.lst?

post your menu.lst here
 
Old 09-18-2009, 03:05 AM   #3
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
IIRC, openSolaris needs primary partition and its bootloader should be installed in its root partition also it can only be booted by chainloading via grub.

btw, we need your menu.lst posted here.
 
Old 09-18-2009, 09:31 AM   #4
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Cool

Quote:
Originally Posted by mobinskariya View Post
did you add the entry for solaris in /boot/grub/menu.lst?

post your menu.lst here
There's the problem , now i'm not able to look solaris grub menu list , to copy that location to my Ubuntu's menu list .?

Is there anyway that i can see through from Ubuntu , will that mounting partition to folder works ?
Coz i havent done that operation yet
 
Old 09-18-2009, 12:42 PM   #5
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
Can you run 'fdisk -l' without the quote marks from your terminal as root and post the results. You do not need to see anything in solaris except know the partition number it is located in to be able to chainload. Both posters above are telling you it needs to be in a primary partition and fdisk -l will tell them which partition.
 
Old 09-18-2009, 05:59 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Last I looked, the Linux grub was unable to handle OpenSolaris filesystems. Hence the OpenSolaris grub had to be the controlling boot-loader (i.e. in the MBR). Nowadays it can be used to boot Linux systems by adding them to the menu.lst
Should all be documented.
 
Old 09-18-2009, 07:39 PM   #7
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
Quote:
Originally Posted by syg00 View Post
Last I looked, the Linux grub was unable to handle OpenSolaris filesystems. Hence the OpenSolaris grub had to be the controlling boot-loader (i.e. in the MBR).

I have had no experience with solaris but in this article if I am reading right it was dual booted with linux by chainloading from grub.

http://www.kegel.com/linux/solaris.html
 
Old 09-18-2009, 08:09 PM   #8
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Larry Webb View Post
Can you run 'fdisk -l' without the quote marks from your terminal as root and post the results. You do not need to see anything in solaris except know the partition number it is located in to be able to chainload. Both posters above are telling you it needs to be in a primary partition and fdisk -l will tell them which partition.
fdisk -l shows :

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa13ba13b

Device Boot Start End Blocks Id System
/dev/sda1 1 2611 20971408+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 2612 3525 7341705 bf Solaris
/dev/sda3 3526 4700 9438187+ 7 HPFS/NTFS
/dev/sda4 4701 9729 40395442+ f W95 Ext'd (LBA)
/dev/sda5 5615 9729 33053737+ 83 Linux
/dev/sda6 4701 5614 7341642 83 Linux

Partition table entries are not in disk order
 
Old 09-18-2009, 08:16 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by Larry Webb View Post
... in this article if I am reading right it was dual booted with linux by chainloading from grub.
That is a (very) old article. I can recall chainloading Solaris 10 as well. OpenSolaris defaults to zfs, and has some onerous (for open systems multi-boot users) requirements. See this and the next section.
 
Old 09-18-2009, 11:37 PM   #10
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
See if this works:

1. have grub point to (hd0,4) - which is associated with openSUSE.
2. modify the menu.lst file in (hd0,4) to include:

title OpenSolaris
rootnoverify (hd0,5)
chainloader +1


3. reboot
4. now try to get into OpenSolaris
 
Old 09-18-2009, 11:46 PM   #11
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
correction!
According to your fdisk -l, it seems you installed OpenSolaris to /dev/sda2. Assuming this is correct, do the following:

1. have grub point to (hd0,4) - which is associated with openSUSE.
2. modify the menu.lst file in (hd0,4) to include:

title OpenSolaris
rootnoverify (hd0,1)
chainloader +1

3. reboot
4. try to get into OpenSolaris

also, how did you know this to be true?
Quote:
I just installed openSolaris and its having GRUB in (hd0,5).
 
Old 09-19-2009, 02:03 AM   #12
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
It seems that opensolaris partition is on primary partition and its an active one. To follow suggestion from btncix in post #11 you need to install opensolaris bootloader in its root partition. Have you done this...?

Grub cannot boot opensolaris directly...just as other posters said above...you need to chainload it.
 
Old 09-19-2009, 04:42 AM   #13
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
Quote:
Originally Posted by syg00 View Post
That is a (very) old article. I can recall chainloading Solaris 10 as well. OpenSolaris defaults to zfs, and has some onerous (for open systems multi-boot users) requirements.
If I read your article and understood, it refers to using solaris to boot other distros, not using grub to chainload. I take it as grub can not load directly. I will do more research today.
 
Old 09-19-2009, 04:44 AM   #14
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
Sorry hurry hui, read your last post after I wrote mine.
 
Old 09-19-2009, 06:15 AM   #15
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by btncix View Post
correction!
According to your fdisk -l, it seems you installed OpenSolaris to /dev/sda2. Assuming this is correct, do the following:

1. have grub point to (hd0,4) - which is associated with openSUSE.
2. modify the menu.lst file in (hd0,4) to include:

title OpenSolaris
rootnoverify (hd0,1)
chainloader +1

3. reboot
4. try to get into OpenSolaris

also, how did you know this to be true?
Coz i'm having Ubuntu in (hd0,4) and after installing Solaris i come to know that its having one more GRUB , naturally its should be for Solaris , right? BUt i'm having unsuccessful installation of Gentoo , so thought of possibility only for Solaris GRUB as (hd0,5)

Any way i tried that menulist modification before as rootnotify (hd0,1)ur mention , it was just a trial , but it didnt work , same Error 15
 
  


Reply


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
Installing GRUB in another disk problem, GRUB Hangs in boot caosxxi Linux - General 7 08-26-2009 01:55 PM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:05 PM.

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