Hi,
ich benutze zum Systembackup erstellen Mondo(mit Mindi). Dies erstellt mir ein bootfähiges Image und ein Systemimage.
Allerdings bricht das Bootimage beim booten irgendwann mit einer Fehlermeldung ab. Hierzu habe ich wahrscheinlich die Lösung gefunden, allerdings verstehe ich den Text nicht so ganz, weil mir evtl. nähere Kenntnisse fehlen?! Hier mal die Errormessage und deren Lösung:
#########################
Why do I keep getting “sh: can’t access tty; job control turned off” errors? Why doesn’t Control-C work within my shell?
Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kernel will not provide a controlling terminal on the /dev/console device. Your should run your shell on a normal tty such as tty1 or ttyS0 and everything will work perfectly. If you REALLY want your shell to run on /dev/console, then you can hack your kernel (if you are into that sortof thing) by changing drivers/char/tty_io.c to change the lines where it sets “noctty = 1;” to instead set it to “0”. I recommend you instead run your shell on a real console…
#########################
Kann mir das mal bitte jemand verständlich erklären, was ich laut dem Text machen soll???
Vielen Dank.
Der Text sagt Dir, dass Du, falls Deine Shell über /dev/console laufen soll, dass Du Deinen Kernel modifizieren musst.
Das machst Du, indem Du Dir die Sourcen des Kernels besorgst, diese entpackst, und innerhalb des erzeugten Verzeichnisses (z.B. linux-2.6.16) im Verzeichnis drivers/char/ die Datei “tty_io.c” bearbeitest.
In dieser Datei suchst Du Dir die Zeile “noctty=1;” und änderst die Zeile auf “noctty=0;”.
Dann speicherst Du die Datei und kompilierst und installierst den Kernel neu.. (und machst n neues Image)..
In der Datei gibt es aber reichlich “noctty = 1”.
Die auf gut Glück zu ändern hatle ich für keine gute Idee. Es gibt halt auch Rechner ohne serielle Schnittstelle !
Das Problem muß im Mondo-Restore Ablauf noch behoben werden, irgendwo im Mindi-Start . . . .
Grüße in die Runde