From 494b9eba9fa89a2702f2a7da8e82d14dcabbd777 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Wed, 11 Nov 2009 08:47:40 +0000 Subject: [PATCH] Some fixes to terminal howto --- hints/etch-x-term.html | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/hints/etch-x-term.html b/hints/etch-x-term.html index 3cf7018..6e38caa 100644 --- a/hints/etch-x-term.html +++ b/hints/etch-x-term.html @@ -42,9 +42,13 @@ etch">

óÎÁÞÁÌÁ ÓÏÂÉÒÁÅÍ ÑÄÒÏ Ó ÐÏÍÏÝØÀ kernel-package. ÷ ÐÁËÅÔ. ñÄÒÏ ÓÏÂÉÒÁÅÍ ÂÅÚ initrd, ÓÏ ×ÓÅÍÉ ÎÕÖÎÙÍÉ ÍÏÄÕÌÑÍÉ ÓÅÔÅ×ÙÈ ËÁÒÔ É ÐÏÄÄÅÒÖËÏÊ NFS-root -×ÎÕÔÒÉ. ú×ÕË É ÐÏÄÄÅÒÖËÕ USB ÍÏÖÎÏ ÍÏÄÕÌÑÍÉ. USB ÎÁÍ ÎÕÖÎÁ ÒÁÄÉ +×ÎÕÔÒÉ. ÷ ÓÍÙÓÌÅ NFS-ËÌÉÅÎÔ ÎÅ ÄÏÌÖÅÎ ÂÙÔØ ÍÏÄÕÌÅÍ. éÎÁÞÅ +NFS-root ÎÅ ×ËÌÀÞÉÔÓÑ. +

+ú×ÕË É ÐÏÄÄÅÒÖËÕ USB ÍÏÖÎÏ ÍÏÄÕÌÑÍÉ. USB ÎÁÍ ÎÕÖÎÁ ÒÁÄÉ usb-storage, ÞÔÏÂÙ ÍÏÖÎÏ ÂÙÌÏ ×ÔÙËÁÔØ ÆÌÜÛËÉ × ÔÅÒÍÉÎÁÌ É ÉÈ ÞÉÔÁÔØ Ó -ÐÏÍÏÝØÀ mtools +ÐÏÍÏÝØÀ mtools. ëÒÏÍÅ ÔÏÇÏ, ÍÏÖÅÔ ÏËÁÚÁÔØÓÑ ÐÏÌÅÚÎÙÍ ÉÓÐÏÌØÚÏ×ÁÔØ +×ÎÅÛÎÀÀ USB-ÁÕÄÉÏËÁÒÔÕ

âÅÒÅÍ ÎÁÂÏÒ ÓÌÅÄÕÀÝÉÊ ÐÁËÅÔÏ× (ÎÅËÏÔÏÒÙÅ ÚÁ×ÉÓÉÍÏÓÔÉ ÂÕÄÕÔ @@ -87,7 +91,7 @@ xserver-xorg-input-evdev òÁÓÐÁËÏ×Ù×ÁÅÍ ÔÕÄÁ ÐÅÒÅÞÉÓÌÅÎÙÎÎÙÅ ÐÁËÅÔÙ c ÐÏÍÏÝØÀ

-dpkg-deb -X ÐÁËÅÔ ÄÉÒÅËÔÏÒÉÑ
+dpkg-deb -È ÐÁËÅÔ ÄÉÒÅËÔÏÒÉÑ
 

îÉËÁËÉÅ postinst ÓËÒÉÐÔÙ ÎÅ ×ÙÐÏÌÎÑÀÔÓÑ, ÎÏ × ÄÁÎÎÏÍ ÓÌÕÞÁÅ @@ -127,6 +131,11 @@ dsp kmem null sda sda12 sda2 sda6 tty0 tty4 zero ëÌÁÄÅÍ xorg.conf × /etc/X11 (Õ ÎÅÇÏ ÄÏÌÖÅÎ ÂÙÔØ ÅÄÉÎÓÔ×ÅÎÎÙÊ ÜÌÅÍÅÎÔ font-path, ÕËÁÚÙ×ÁÀÝÉÊ ÎÁ ÆÏÎÔ-ÓÅÒ×ÅÒ) É ÉÍÅÅÍ ÐÒÁËÔÉÞÅÓËÉ ÇÏÔÏ×ÕÀ ÓÉÓÔÅÍÕ, ÚÁ ÉÓËÌÀÞÅÎÉÅÍ init. +

+åÓÌÉ Õ ÎÁÓ ÎÅÓËÏÌØËÏ ÔÅÒÍÉÎÁÌÏ×, ËÏÔÏÒÙÍ ÎÕÖÎÙ ÒÁÚÎÙÅ ËÏÎÆÉÇÕÒÁÃÉÉ x-Ï×, +ÔÏ ÏÐÉÓÙ×ÁÅÍ × xorg.conf ÎÅÓËÏÌØËÏ ÓÅËÃÉÊ ServerLayout Ó +ÉÄÅÎÔÉÆÉËÁÔÏÒÁÍÉ, ÓÏÏÔ×ÅÔÓÔ×ÕÝÉÍÉ ÉÍÅÎÁÍ ÈÏÓÔÏ× (ËÏÔÏÒÙÅ ÂÕÄÕÔ ÐÏÔÏÍ +ÒÏÚÄÁÎÙ ÐÏ dhcp ËÁË option host-name).

÷ÍÅÓÔÏ init ËÌÁÄÅÍ ÛÅÌÌÏ×ÓËÉÊ ÓËÒÉÐÔ ÓÌÅÄÕÀÝÅÇÏ ÓÏÄÅÒÖÁÎÉÑ: @@ -154,16 +163,18 @@ respawn() {
echo mounting all filesystems
mount /proc
mount /proc/bus/usb
-echo clearing /tmp
-cd /tmp&& rm -rf * .sockets .X0-lock
+mount -t ramfs none /tmp
+chmod 1777 /tmp

echo -n starting floppyd
floppyd -r root -d /dev/fd0&& echo -n " floppy" 
floppyd -r root -s 5704 /dev/sda1&& echo -n " flash"
echo .

+HOSTNAME=`hostname` +dmesg > /var/log/dmesg.$hostname.log respawn "nasd -aa"
-respawn "X -query wagner.wagner.home"
+respawn "X -query wagner.wagner.home -logfile /var/log/Xorg.$HOSTNAME.log -layout $HOSTNAME"
wait
@@ -185,14 +196,10 @@ ROM óÏÚÄÁÅÍ ÄÉÒÅËÔÏÒÉÀ /var/lib/ftpboot/pxelinux.cfg É ÐÏÍÅÝÁÅÍ ÔÕÄÁ ÆÁÊÌ default ÓÌÅÄÕÀÝÅÇÏ ÓÏÄÅÒÖÁÎÉÑ:

-DEFAULT term root=/dev/nfs 
-ip=192.168.217.5:192.168.217.1:192.168.217.1:255.255.255.0:xterm3:eth0:dhcp
-nfsroot=192.168.217.1:/var/diskless rw
-
+DEFAULT term root=/dev/nfs ip=dhcp rw
 LABEL term
 KERNEL vmlinuz-2.4.27-terminals
 
-

×ÓÅ ÞÔÏ ÉÄÅÔ ÐÏÓÌÅ ÓÌÏ×Á DEFAULT ÄÏÌÖÎÏ ÂÙÔØ ÏÄÎÏÊ ÓÔÒÏËÏÊ

åÓÌÉ ÐÏÞÉÔÁÔØ ÐÏÌÕÞÛÅ ÄÏËÕÍÅÎÔÁÃÉÀ ÎÁ ÏÐÃÉÀ nfsroot × ÑÄÒÅ, ÍÏÖÅÔ ÂÙÔØ ÕÄÁÓÔÓÑ ÏÂÏÊÔÉÓØ ÂÅÚ ËÏÍÁÎÄÙ ip, ËÏÔÏÒÁÑ ÆÁËÔØÞÅÓËÉ ÐÒÉ×ÏÄÉÔ Ë @@ -216,7 +223,7 @@ pxelinux next-server 192.168.217.1; option domain-name "wagner.home"; filename "pxelinux.0"; - option root-path "wagner.wagner,home:/var/diskless/"; + option root-path "/var/diskless/"; } @@ -240,7 +247,10 @@ DisplayManager.requestPort: 0

TBD

îÁÕÞÉÔØÓÑ ÐÏÌÕÞÁÔØ aÄÒÅÓ ÆÏÎÔ-ÓÅÒ×ÅÒÁ É ÁÄÒÅÓ ÈÏÓÔÁ, ÐÅÒÅÄÁ×ÁÅÍÏÇÏ × ÏÐÃÉÀ query ÐÏ dhcp (ÏÐÃÉÉ font-server É x-display-manager) - +

+äÌÑ ÜÔÏÇÏ ÎÁÄÏ ÐÅÒÅÓÏÂÒÁÔØ busybox ×ËÌÀÞÉ× ÔÁÍ ×ÓÔÒÏÅÎÎÙÊ dhcp-ËÌÉÅÎÔ, É +ÎÅÍÎÏÇÏ ÐÏÐÁÔÞÉÔØ ÜÔÏÔ ËÌÉÅÎÔ, ÐÏÓËÏÌØËÕ ÜÔÉ ÏÐÃÉÉ ÏÎ ÉÚ ËÏÒÏÂËÉ ÎÅ +ÕÍÅÅÔ. -- 2.39.5