PDA

View Full Version : Prevent optical disc eject?


pwherry
2006-04-18, 08:28 PM CDT
Greetings! I've searched for an answer to this question but so far have come up empty. I'm hoping that there's an answer and that the readers of the forum can help!

I'm trying to minimize the amount of on-site time required to manage a server at a data center. I had the bright idea that I could even upgrade the operating system of a server using the built-in DVD-RW drive to write to a blank/reusable disc, then boot the DVD to run the installation. When done, I'd then change the BIOS settings to boot from the hard disk (via an IP KVM) in order to start up on the new OS.

The problem is that the servers I'm using are compact (1U) machines that have DVD-RW drives that are obviously derived from laptops. The tray is spring-loaded rather than motor-driven, so it will eject under software control but has to be manually pushed back in once this has happened.

I'd like to suppress the usual eject-after-completion behavior of the Fedora Core (I'm currently using FC5) installer so that I don't have to travel to the data center after every upgrade.

Short of duct-taping the drive closed (which I suppose I'm prepared to do if I have to), is there a way to prevent the installer from ejecting the disc at completion?

Phil

Jman
2006-04-18, 10:58 PM CDT
There is no kickstart configuration directive about ejecting as far as I know.

The anaconda source code (in the source rpm from a Fedora mirror) has eject code you can easily comment out. The problem is generating a new installable image.

Possibly you could use grub to boot the installer and not have to worry about CDs.