LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-11-2008, 01:04 PM   #1
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Rep: Reputation: 15
Question Cannot boot solaris


I have a multiboot system with solaris express developer edition 9/07 , fedora 7 and windows. all of them were working properly before I update my fedora system by "yum -y update".

My old /etc/grub.conf was :

#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora 7 (2.6.21-1.3194.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Solaris XDE 9/07
rootnoverify (hd0,1)
chainloader +1
title Windows XP SP3
rootnoverify (hd0,0)
chainloader +1


and now (after updating fedora7):

#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.15-80.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.15-80.fc7.img
title Fedora 7 (2.6.21-1.3194.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Solaris XDE 9/07
rootnoverify (hd0,1)
chainloader +1
title Windows XP SP3
rootnoverify (hd0,0)
chainloader +1


Now I can't boot solaris. after pressing enter a 'grub' is coming for a moment, but after a second again boot prompt is coming.

Please tell me how can I boot solaris.

thank you.

Last edited by rithik_ghoshal; 04-11-2008 at 01:56 PM.
 
Old 04-12-2008, 03:55 AM   #2
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
anyone please help.....
 
Old 04-12-2008, 04:37 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Can you clarify "after pressing enter a 'grub' is coming for a moment, but after a second again boot prompt is coming".

yum update is unlikely to have modified anything in the Solaris partition.
 
Old 04-12-2008, 05:05 AM   #4
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
switch on my laptop..

boot fedora in 5 seconds...

press any key..

grub :

fedora (2.6.23...)
fedora 7 (2.6.21...)
solaris xde 9/07
windows xp sp3

i select solaris xde 9/07. press enter.

solaris xde 9/07
rootnoverify (hd0,1)
chainloader +1
grub

after a moment.....

boot fedora in 5 seconds...
 
Old 04-12-2008, 08:00 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You mean when you select SXDE, Solaris own Grub menu doesn't show up ?
 
Old 04-12-2008, 08:08 AM   #6
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
You mean when you select SXDE, Solaris own Grub menu doesn't show up ?
yes... exactly !!!! please tell me how can I get solaris own grub menu again .
 
Old 04-12-2008, 08:12 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You probably need to reinstall grub on the Solaris partition.

Are you sure the Solaris filesystems/slices are still there ?
 
Old 04-12-2008, 08:21 AM   #8
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
You probably need to reinstall grub on the Solaris partition.

Are you sure the Solaris filesystems/slices are still there ?
yes I am sure.

fdisk -l from fedora showing /dev/sda2 partition type as solaris.

and also , I checked it by sxde installation dvd. It's showing me that solaris is available in my harddisk , 'upgrade' option is also available which is probably disabled if a system doesn't have solaris installed.

please tell me how can I reinstall grub on solaris .

thank you very much.
 
Old 04-12-2008, 08:37 AM   #9
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
should I execute this command
Code:
/sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0
by inserting installation dvd and choosing single user shell ????
 
Old 04-12-2008, 09:23 AM   #10
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
above command solved my problem , I can use solaris again. but I have lost linux.

in my hard disk I have 4 partitions.
1. windows
2. solaris
3. linux
4. a ntfs partition

what should be written in /boot/grub/menu.lst ??
rootnoverify (hd0,2)
chainloader +1

or
rootnoverify (hd0,3)
chainloader +1

or
something else ???

In case of '2' , it's giving an error 'NTLDR is missing. press ctrl+alt+del to restart'.
 
Old 04-12-2008, 09:49 AM   #11
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
ohh... I solved it...
i add the following lines in /grub/menu.lst and everything is now going on perfectly...
Code:
title Fedora (2.6.23.15-80.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.23.15-80.fc7.img
 
Old 04-12-2008, 10:49 AM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Glad you succeeded. Thanks for sharing your solution !
 
Old 05-18-2008, 04:12 AM   #13
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Wink

Quote:
Originally Posted by rithik_ghoshal View Post
should I execute this command
Code:
/sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0
by inserting installation dvd and choosing single user shell ????

thanks boey your above command helped me to at least get grub menu back.

Last edited by vikas027; 05-18-2008 at 04:14 AM.
 
  


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
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Boot Solaris 9 tataros3 Solaris / OpenSolaris 5 08-09-2005 10:32 AM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM
new to solaris - is it possible to multi-boot with solaris? spyghost Solaris / OpenSolaris 6 02-08-2004 06:39 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 09:14 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:01 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