[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] More control while shutting down KNOPPIX



Am Dienstag, 5. November 2002 20:07 schrieb Marc Haber:
> On Tue, Nov 05, 2002 at 07:55:35PM +0100, Fabian Franz wrote:
> > Am Dienstag, 5. November 2002 11:40 schrieb Marc Haber:
> > > On Mon, Nov 04, 2002 at 02:21:45AM +0100, Klaus Knopper wrote:
> > > > On Sat, Nov 02, 2002 at 11:51:16AM +0100, Marc Haber wrote:
> > > > > /etc/init.d/knoppix-reboot looks like it has been written to
> > > > > support this. It looks like if I set the NOEJECT to a nonempty
> > > > > value, the CD is not ejected. But I didn't find code that asks for
> > > > > <ENTER> to be pressed before reboot. This is probably in the
> > > > > patched /sbin/init from the knoppix distribution.
> > > >
> > > > Boot with the "noeject" option. This is documented in the
> > > > knoppix-cheatcodes.txt.
> > >
> > > Is there a possibility to set this after booting? People booting the
> > > systems are usually non-knowledgeable and I would prefer if the only
> > > needed to drop in the CD.
> >
> > How about changing the boot.img in the KNOPPIX-ISO-Image, it should be a
> > breeze to add noeject to syslinux.cfg in the file boot.img ...
> >
> > Hint: man syslinux ...
> >
> > You could then give those people the modified image and all would work
> > well
> >
> > :-))
>
> Please stop hurling manpages at people when you didn't read their
> postings. 

I did read your posting ... Stop flaming at me ... I just wanted to help ...

> I think that I did make it clear that there is need for
> _both_ options. If I eject the knoppix CD, the system boots into the
> local OO, and if I don't eject the knoppix CD, Knoppix is rebooted.
> Both of these options are valid in a remote
> installation/update/diagnosis setting.

No, you did it not make clear. You just asked for an option how to prevent 
people from having to type in: knoppix noeject ...

And I had an solution for you ...

Now this all makes sense and I understand, what you want ...

A dirty hack, I had would be to use: 

reboot -f

To reboot hard and so reboot the rescue-system ...

>
> And I am not yet this perfect to know on system bootup if I'll need
> the rescue system to reboot after doing some work or if I'll need the
> local OS.

Sure ...

Anyway to be helpful at all: 

http://www.knopper.net/download/knoppix/sysvinit_2.84-121.tar.gz

Here are the sources of the halt and reboot-utilities, which do the waiting 
for the keystroke ...

And you were right, it is always asking for keystroke, so I understand your 
problem now ...

cu

Fabian
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: