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!

what exactly does "ok> boot -- -r" do ?? 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I replaced some memory in a 420 system and powered on the machine and it looked fine - new memory was recognised and booted up correctly. I then thought that I should do a reconfiguration boot to be sure to be sure - I ran a "boot -- -r" and the system puked on startup - not recognising the new DIMMs and generally not looking at all healthy.

I am wondering if some other problems I'm having could be related to this. Namely, I had connected a disk array that had previously been attached to another system and now I can't see the volumes that were set up already. Could boot -- -r have overwritten any information on this array ?

I'm a bit paranoid now that I have screwed up something - can someone please tell me the effect of running this command ?

TIA
 
Take a look at the man page for boot:

boot [ OBP names ] [ file ] [ -afV ] [ -D default-file ] [ boot-flags ] [ -- ] [ client-program-args ]

It looks to me as if you're using the -- incorrectly, and your boot command should be something like:

boot -r -- [ client-program-args ] (though it's probable you don't need the latter?). Hope this helps.

 
The Boot -r is used to reread all of the devices on your system. If you add a piece of equipment or repartition. Running the command with Boot -- -r the system will ignore it.
 
So you're saying that "boot -- -r" is the same as "boot" ??
So why all the extra typing ... I'm missing something !
 
Have you tried another boot -r (ie without the --)? As far as I can see all the -- is flagging the fact that the next options are relevant to 'client-program-args'. Let us know how you get on and good luck.
 
You use "reboot -- -r" to make the machine go down and then do a "boot -r". This sends a reboot command to stop the machine and then the "-- -r" passes the -r options to the subsequent boot.

If the machine is already down (at the OK prompt) all you need is "boot -r". As you have found boot -- -r is not recognised (except as a simple boot).

Steve
 
Thanks Steve. I knew I was missing something in my explanation and you have admirably filled in the gaps! Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top