[NTLUG:Discuss] Eject CD before reboot?
Eric Waguespack
ewaguespack at gmail.com
Fri Jan 11 10:22:18 CST 2008
Make sure your cdrom does not boot by default. Instead, make the bios
boot the hard drive by default (and only boot the cdrom when it is
selected in the bios boot menu.
-Eric
On Jan 10, 2008 10:50 PM, Daniel Hauck <daniel at yacg.com> wrote:
> When running the live CD, it's running from a RAM disk. If you're doing
> that, you should be able to unmount the CDROM drive. I'm guessing
> you're not doing it the same way as in the LiveCDs you have used.
>
>
>
> Keller Giacomarro wrote:
> > Much thanks for all the awesome help in the past - it's been
> > invaluable. Got another one for you guys:
> >
> > I'm creating an automated CD to image computers for a school lab. I've
> > written a custom script with a 'reboot' at the end. However, there is
> > no opportunity to have the user remove the CD before the reboot.
> >
> > If I put a pause and an eject before the reboot, the filesystem won't be
> > unmounted, so it can't eject.
> >
> > Is there a way to get Linux to eject the CD after shutting everything
> > down, and then giving a pause for the user to remove the CD? I've seen
> > Ubuntu do it before to remove the LiveCD, but I'm not sure how to figure
> > out how they do it.
> >
> > Thanks in advance for the great advice. =)
> >
> > -Keller
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
> >
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list