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 02-02-2005, 11:28 AM   #1
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Rep: Reputation: 15
Advice please: boot problem with Solaris 10 on x86


I had this working before. I have a 120GB disk with Solaris on the first primary partition, Fedore Core 3 on the second, Slackware on the third, And FreeBSD 5.3 on the 4th. Booting was handled by grub, and everything was working fine.

I decided to wipe everything out and start from scratch because I didn't like the way the partitions were layed out and I didn't like the way the Solaris slices were layed out within the Solaris partition.

So I repartitioned the disk and installed Solaris 10 on the first partition like I had it before. The install went fine, I booted it, logged in, made some minor changes, like clicking on the StarOffice icon to install that app, made a loghost or logname file in /etc, and enabling XDMCP from the graphical login configuration application. Then I rebooted.

Now it will not boot. I get this:

Quote:
<<< Current Boot Parameters >>>
Boot Path: /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0:a
Boot args:

Type b [file-name] [boot-flag] <ENTER> to boot with options
or i <ENTER> to enter boot interpreter
or <ENTER> to boot wih defaluts

<<< timeout in 5 seconds >>>

Select (b)oot or (i)nterpreter:
If I let it time out, it gives this:

Quote:
Run Error: File not found.
could not run now
then it resdisplays the screen.

I have only been playing with Solaris 10 for a very short time, so I am unfamiliar with it. How can I tell why "File not found"? And more importantly, what can I do to fix it?

Thanks.
 
Old 02-02-2005, 12:38 PM   #2
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
You can try manual booting of the system by typing "b kernel/amd64/unix" (assuming x86 version of Solaris 10) at "Select (b)oot or (i)nterpreter:" prompt
 
Old 02-02-2005, 01:26 PM   #3
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
No dice. I tried

kernel/genunix
/kernel/genunix
genuix
/genunix
kernel/amd64/genunix

All give me

Quote:
Run Error: File not found.
could not run ________
I can boot the CDROM and then it'll boot.

I'm thinking there might be something wrong with the mbr on the hard disk. How do I check it and correct it if necessary?
 
Old 02-02-2005, 02:04 PM   #4
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
I now know what's wrong, but I do not know how to fix it.

I made the following discoveries:

In the "intepreter" mode, I type "set" and can see all the variables. def_bootfile was set to 'now', which explains why I get the error message "can't run now".

I can boot the CDROM, and when I do, it's def_bootfile is 'kernel/unix'

So I changed the def_bootfile to 'kernel/unix' and I am able to boot.

However, every time I reboot, def_bootfile gets reset to 'now'. How to I make it permanent?
 
Old 02-02-2005, 06:03 PM   #5
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
Solaris 10 reads the boot variables from a file called: /boot/solaris/boot.rc. You may have to play with that file a bit

Also you may need to check (and edit) the value of "boot-file" in /boot/solaris/bootenv.rc
 
Old 02-03-2005, 05:21 AM   #6
lyonsd
Member
 
Registered: Mar 2004
Location: Flowery Branch, GA
Distribution: FC3, FreeBSD 5.3, Solaris 10
Posts: 43

Original Poster
Rep: Reputation: 15
Exclamation Eureka!

The problem and solution in Cliff's Notes format:

Problem: System would not boot. It gave
Quote:
Run Error: File not found.
could not run now
Running "set" in the boot interpeter showed def_bootfile and rb_file were both set to "now".

According to /boot/solaris/boot.rc
Quote:
# If a boot file name was supplied at reboot, use it as the default file name
# to boot.
#
# If none was supplied, instead set the default file name to be that specified
# by the /options node property "boot-file."
So where was "now" coming from?

When I rebooted, I ran shutdown -r now. Well, in Solaris, "-r" is not a legal flag for the shutdown command, so I ran reboot now.

Solution: Do not specifiy "now" as an argument to the reboot command.
 
  


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
winxp and solaris x86 dula boot UltraSoul Solaris / OpenSolaris 7 05-09-2005 01:33 AM
Initial boot screen - Solaris 9 (x86) grub Solaris / OpenSolaris 3 09-30-2004 03:36 AM
Solaris 9.0 x86 shutdown problem Mega Man X Solaris / OpenSolaris 6 02-13-2004 01:17 PM
Solaris 9 x86 Install Problem Astro Solaris / OpenSolaris 2 10-13-2003 06:14 AM
Solaris 9 x86 Multi-boot Tez218 Solaris / OpenSolaris 3 09-11-2003 01:16 PM

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

All times are GMT -5. The time now is 11:59 AM.

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