Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Breaking Boot Process on Nextra X1

Status
Not open for further replies.

abovebrd

IS-IT--Management
May 9, 2000
690
US
I need to boot into another run level on a Sun Netra X1 server. I have a start up stript in /etc/rc2.d that hangs the system and locks up the boot process.

Is there a way I can boot into into single users mode during the boot process ?

Help
-Danny
techie@snoboarder.net






 
more detail:

I have a SUN Netra X1server. The server runs headless and is managed thru a serial port. I made a change to the ssh conf file. Now when the server boots it simply hangs when that rc2 script executes. I would just assume I could boot into single user mode and fix the rc2 script. Which leads into problem. Since the server is headless and does not have a cdrom or floppy I have no way to boot a boot disk and repair the script. My other thought would be to change the run level at boot time. I know on other flavors you can change the run level at some point in the boot. My problem is I can't figure out how to do that on this box, very perplexing.

Any advice would be appreciated

-Danny
techie@snoboarder.net






 
Just in case anyone one runs into this problem here is the answer. After much research and poor documentation.

Booting into single user mode on a Sun Netra X1 server

1. Break into the lomlite shell "lom>" during boot
#.

2. from the lomlite shell use the "break" command. This will put you at the ROM prompt (OK)
lom> break

Note: I had to run through steps 1 and 2 twice before I was able to break out into the "ROM" prompt (OK)

3. boot -s

4. Now re-mount "/" filesystem with read-write permissions
mount -o remount /

5. Now you can edit the faulty startup script (/etc/rc2.d)
-Danny
techie@snoboarder.net






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top