Advice please: boot problem with Solaris 10 on i86


 
Thread Tools Search this Thread
Operating Systems Solaris Advice please: boot problem with Solaris 10 on i86
# 1  
Old 02-02-2005
Advice please: boot problem with Solaris 10 on i86

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:

------------------------------------------------------------------------
<<< 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:

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.
# 2  
Old 02-02-2005
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?
# 3  
Old 02-02-2005
I'm not a Solaris person much anymore; on the face of it, it sound like you need to add a line in one of your boot scripts.

Maybe someone else has more details for you.....

Neo
# 4  
Old 02-02-2005
Sounds like something to do with the boot.rc file. Around page 104 of the PDF and this might help you.

Smilie
# 5  
Old 02-03-2005
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.
# 6  
Old 02-03-2005
Dear lyonsd,

Good detective work!

Thanks for posting your solution for others.
# 7  
Old 02-15-2005
In the future you could use one of the following
/usr/sbin/shutdown
/usr/sbin/halt
/usr/sbin/reboot
/usr/sbin/powerdown
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Problem boot Solaris

Hi I have a problem on a server, when he boot I have this type of message loop, do you know what it corresponds to ? ( requesting internet Adress for 0:3:ba:fa:33:91 ) Regards Sun Fire V240, No Keyboard Copyright 2007 Sun Microsystems, INC. All rights reserved. openboot 4.22.33,... (10 Replies)
Discussion started by: yoyo-tns
10 Replies

2. Solaris

Solaris 10 boot problem - ERROR: Last Trap: Fast Data Access MMU Miss

Hello, We have a T5140 server with Solaris 10 and its suddenly throwing "segmentation core" when I login into the server and not showing any output for commands like df, mount etc. so I had to reboot the server to fix this issue. Please note that there's no boot disk mirroring. But... (2 Replies)
Discussion started by: prvnrk
2 Replies

3. Solaris

Solaris boot problem

Hi All We have the Sun Solaris server ... Got a power cut suddenly .... Crash happened to the system almost You can access through Termnl .. But it seems he did not boot ... How to Make the process of the boot correctly without losing information Thanks for all (3 Replies)
Discussion started by: gogo888
3 Replies

4. Solaris

Problem with Solaris system on x86. It would not boot again after updates.

Hi All, I have an x86 system which I have just installed Solaris 10 on, I intend to use this as a database server for Oracle, I tried to patch the server with the latest updates from SUN in preparation for the Oracle installation as I wanted to make sure that I was running the latest patches. ... (0 Replies)
Discussion started by: platforminc
0 Replies

5. Solaris

Windows / Open Solaris dual boot problem.

Okay, let me sketch the problem. I did have a ubuntu / Windows XP dual boot scenario that ran grub as my boot loader. I decided I wanted to try out solaris, so I popped in the opensolaris CD and hit install and told it to format and install over my linux partition. Of course it did that, and... (2 Replies)
Discussion started by: syndex
2 Replies

6. Solaris

Boot problem with SMF svcs-Solaris 10 for x86

Hi All, I am newbie in solaris, please guide me. A week before i installed solaris10 on my x86 system, it was working fine i always used "init 5" to shutdown my system as per my collegue advice. But yesterday when i started my system it gave me following message ... (6 Replies)
Discussion started by: imrankhan.in
6 Replies

7. UNIX for Advanced & Expert Users

V480 w/ Solaris 9 boot problem

Our V480 w/ Solaris 9 would not boot properly. After recreating the LUNs on our StorEdge A1000, and then performing a reboot, the machine just keep cycling through the boot process. No error messages, it keeps trying to reboot over and over again. Any ideas? We managed to do a stop+a and... (6 Replies)
Discussion started by: xnightcrawl
6 Replies

8. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

9. Solaris

boot problem in Installation i86 sun solaris

Hello everybody, I installed sun solaris i86 , the programme installation install the "Mini Root" and after that he doing shutdown. the camputer coming up and he can't boot. how i can to resuled this problem ??? Thenk you in advence..... (2 Replies)
Discussion started by: yanly
2 Replies

10. UNIX for Advanced & Expert Users

Solaris boot problem

I couldnt get my hands on my solaris 2.6 cd soo i used solaris 7 cd to boot to single user mode. I typed boot cdrom -s it bought me to my root prompt , but when i typed fsck.....nothing happened. It was as though it couldnt go ahead with fscking. it just bought up the prompt again,... (1 Reply)
Discussion started by: lealyz
1 Replies
Login or Register to Ask a Question