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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nextra X1 Solaris bootfailure HELP!

Status
Not open for further replies.

JonathanNWJames

Programmer
Feb 25, 2002
2
SE
Hi,
I've just been configuring a Nextra X1 server through a serial link. Somehow, the /etc/passwd file got corrupted and Solaris won't boot without a couple of Segmentation faults (core dumped) and a zillion error messages. I had disabled the NFSserver/client daemon, rpc daemon etc.

Is there some way to edit the file through LOM or equiv?

Dear God..

Jonathan
 
Can you boot into single user mode ?

faq60-1509

-Danny
dan@snoboarder.net






 
Hi,
no I can't it seems like the /etc/passwd file is corrupt.

Regards
Jonathan
 
Try this

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 passwd file /etc/passwd


-Danny
dan@snoboarder.net






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top