Fedora Linux Support Community & Resources Center
  #1  
Old 20th January 2010, 09:13 PM
Mordocai Offline
Registered User
 
Join Date: Jan 2010
Posts: 25
windows_xp_2003firefox
LiveCD auto CD eject or Prompt

I am using a slightly edited fedora-live-base.ks file to make a liveCD. I have fixed every issue I have come across except one: There is no way to remove the disc before the system is completely shut down, thus I must turn the PC back on to remove the CD. This disc will be commonly used on many computers one after another and the computers will stay shutdown for some time after the use, so this problem is rather annoying. I noticed a commented out script in the kickstart file that is supposed to auto-eject the cd, but apparently there were issues so it was commented: https://bugzilla.redhat.com/show_bug.cgi?id=531924.

In short, I need fedora to either auto-eject the disc or I need a prompt to come up saying "Remove the CD and press Enter to finish shutdown".

This is a text only liveCD.
Reply With Quote
  #2  
Old 25th January 2010, 02:21 PM
Mordocai Offline
Registered User
 
Join Date: Jan 2010
Posts: 25
windows_xp_2003firefox
Well, after a few experiments, I found that adding /usr/sbin/eject and read -n 1 -p "<whatever>" to the file /etc/init.d/halt, right before it calls the binary /sbin/halt on the last line, works. I don't know what the liveCD creators were trying to do... though after reading about it a lot, and looking at some other bugs, i'd guess that it's because the plymouth shutdown was covering up the prompt. I had a similar issue at first with my boot up script, and ended up throwing it my .bash_profile file instead...
Reply With Quote
Reply

Tags
auto, eject, livecd, prompt

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Eject CDROM With The Eject Button carney1979 Guides & Solutions (No Questions) 8 11th September 2011 10:41 AM
Fedora 11 dvd eject button does eject when disc is in drive The Grum EOL (End Of Life) Versions 1 8th February 2011 10:22 AM
eject refusing to eject usb flash after some recent system update abbot Using Fedora 7 22nd March 2008 12:33 AM
Fedora 7 Install off LiveCD Ends at grub prompt mowestusa Installation and Live Media 20 19th July 2007 02:20 AM


Current GMT-time: 08:36 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat