Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to kickstart a system over the network into rescue using ILO/DRAC. Through the DRAC, I can virtually mount Redhat's boot.img ISO. Is there an easy way to do this? I created a kickstart file containing:

rescue --nomount

But it doesn't work. I have a funny feeling that 5.5 doesn't support it and I'm unable to find any Redhat RHEL documentation to tell me one way or another.

It is possible to boot into rescue from the linux prompt after boot.img loads. However, I'm looking for a kickstart solution to make it easy for other users. With a kickstart file, I can setup networking parameters and a URL to point to the media.

share|improve this question
2  
Can you clarify what you're trying to do or the problem you're trying to solve? Are you trying to PXE boot a server to get into the linux rescue mode? Or Are you in a position where you have media mounted (via physical or ILO/DRAC) and need to boot automatically into the rescue environment? Do you not have access to the console? –  ewwhite Nov 16 '11 at 13:08
add comment

2 Answers

Have you tried adding rescue to the command line options passed to the kernel in your TFTP setup? This will cause it to boot into rescue mode instead of install mode.

I don't think you can add --nomount this way but it doesn't hurt to try.

share|improve this answer
add comment

Okay, I see the question has been revised. I'm still trying to understand why you want to streamline the system rescue process. This isn't (or shouldn't be) a common thing... For system rescue, I tend to use Linux live/rescue CDs like PLD Linux or Knoppix because they have a greater suite of tools (and SSH) available.

The fix for what you're trying to do, though, is to PXE boot the system and create an entry in the PXE config that appends rescue to the kernel boot line.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.