Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > Kickstart client FC5 howto eject the cdrom

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-26-2006   #1 (permalink)
Just Joined!
 
Join Date: Mar 2006
Posts: 1
Kickstart client FC5 howto eject the cdrom

Hi to all

i am trying to get my kickstart client to eject the cdrom after the installation.
the problem is after installation the cdrom is still in the cdrom drive and the system reboots and the installation proccess begins again...
i know i can change the boot sequence or configure the kickstart script to not reboot...
but it have to be possible to eject the cdrom.


i have tried the following

here is a part from the configuration file

Code:
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5  --enablenis --nisdomain=q --nisserver=10.0.0.1
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel 
# Use graphical install
text
# Firewall configuration
firewall --disabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use NFS installation media
nfs --server=10.0.0.1 --dir=/data/fedora-mirror/core/5/i386/os
# Network information
network --bootproto=dhcp --device=eth0 --onboot=yes
# Reboot after installation
reboot
and at the end from the file i have tested

Code:
# cdrom eject
eject /dev/cdrom
eject /dev/hdb
did not work

and i found with google to try this

Code:
%pre
PYTHONPATH=/usr/lib/anaconda python -c 'import isys; 
    isys.ejectCdrom("/dev/hdc")'
did not work too

but after serveral times testing and searching i did not find a solution...
maybe the forum users can help me...

i know that i can disable the reboot but there have to be a solution to eject the cdrom... its one of those 1U cdrom's that dont move back inside at boot time...

thank you
Yaniv-Fer is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:42 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2