How to create a rescue CD for RHEL 5?
Hi everyone,
I've installed RHEL 5 for my server and configured kernel 2.6.18-8.el5 as a Monolithic kernel (loadable modules aren't supported). Now I need to create a rescue CD. I put the new CD to the driver and use this command: cp /boot/vmlinux-2.6.18-8.el5 /dev/cdrom But it announces that: Cannot create a file in /dev/cdrom, it is a read-only file system. Could you please give me the way to create a rescue CD? Thank you! |
There's a command line utility called cdrecord that lets you burn discs.
|
Are you wanting to be able to boot from this CD?
|
Quote:
|
Why don't you just add the new kernel to your grub boot list?
|
Quote:
But I need a rescue CD so that whenever my server goes down by attackers or by my bad configuration, I can reboot the server with the expected kernel. |
Quote:
|
See if this gets you any closer to where you want to be
http://www.linuxquestions.org/questi...+bootable+disk |
Quote:
|
Quote:
|
Quote:
And I didn't understand the thread? What was my original response, wiseguy? |
The initial request was to create a rescue CD. cdrecord won't do that unless you have a bootable image.
Pull your head in. |
Yes, but it's a good place to start by telling someone they need to burn the CD when they're trying to copy a file to a CD device using the cp command. And pull my head in? I never said anything about your posts.
|
Quote:
IMHO, it's best to make a bootable CD with a kernel, custom-suited to your hardware. That way, if you boot from it, you know you'll have all the hardware modules needed to get disk drives/network adapters/video, etc., working right off the bat. From there, you can (at least with mondoarchive), pull an ISO from a network resource. That'll let you have an aged recovery CD in the drive, with a current 'snapshot' (created with CRON or other scheduled job), on a network resource elsewhere. |
All times are GMT -5. The time now is 02:32 PM. |