Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: CD-eject after shutdown., How do I disable it?< Next Oldest | Next Newest >
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 13 2006,03:38 QUOTE

Solved!

I didn't get any real answers so I strugled trough DSL system and stumbled into /etc/init.d/knoppix-reboot.
Ok that's a symlink. You must copy the real one and replace the symlink. Then add it to your filetool.lst.
Then edit it:

Near end you'll see line like this:
Code Sample
NOEJECT=""

Replace it with:
Code Sample
NOEJECT="yes"


That's it. It works just fine. :cool:
Note that on halt/shutdown it still ejects your CD if you ran DSL from CD without toram boot option.
For shutdown/halt tuning, tweak /etc/init.d/knoppix-halt file. ;-)


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 13 2006,14:01 QUOTE

Oh. Seems like it's not gonna work as I believed... ;(
I have to investigate this again.


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
Zucca Offline





Group: Members
Posts: 524
Joined: Feb. 2006
Posted: June 13 2006,14:15 QUOTE

A HA! :D

You need to edit few lines at the very end:
Quote
if [ -z "$INSTALLED" ]; then
 # echo -n "${CYAN}Wait for CD to eject, then remove CD, close cdrom drive and press enter.${NORMAL}"
 echo "${CYAN}No CD eject when rebooting.${NORMAL}"
 sleep 5
fi


Those are just example lines, but now It it SHOULD work.

*boot*


--------------
Do you have it? - http://dy.fi/mak
Back to top
Profile PM WEB ICQ MSN 
ZoOp Offline





Group: Members
Posts: 218
Joined: Sep. 2005
Posted: June 13 2006,15:00 QUOTE

:)

cool!! thanks a lot

yours
z
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 13 2006,19:43 QUOTE

With a frugal/poorman's install, the wait message appears unless you use the "dsl frugal" boot option.  I have never tried it with a live cd, but i think it's worth a test...it would save having to add another file to a backup.

A possible issue with this is that DSL may try to remount the cd read-write, which would fail and probably print an error mesage.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
17 replies since June 12 2006,08:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: CD-eject after shutdown.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code