PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : etherboot: in.tftpd



jack
14.07.02, 07:08
Hallo,
Ich habe mir einen "Sony VAIO PCG-R600MX Windoof IksP" Laptop gekauft -hat keine Laufwerke-, und möchte nun über's Netzwerk booten, und anschliesend SuSE 8.0 installieren...
Jetzt hänge ich bei: "in.tftpd: cannot set groups for user nobody"

Meldungen:

Server:
/var/log/messages:
#server dhcpd: DHCPDISCOVER from <laptop_mac_address> via eth0
#server dhcpd: DHCPOFFER on <laptop_ip> to <laptop_mac_address> via eth0
#server dhcpd: DHCPREQUEST for <laptop_ip> to <laptop_mac_address> via eth0
#server dhcpd: DHCPACK on <laptop_ip> to <laptop_mac_address> via eth0
#server in.tftpd[xxxx]: cannot set groups for user nobody
#server in.tftpd[xxxx]: cannot set groups for user nobody
...

Laptop:
#CLIENT MAC ADDR: <laptop_mac_address> GUID: XXXXX-XX-XXXX-X
#CLIENT IP: <laptop_ip> MASK: 255.255.255.0 DHCP IP: <server_ip>
#GATEWAY IP: 192.168.x.x
#PXE-E32: TFTP open timeout
#PXE-E32: TFTP open timeout
...


Laptop Netzwerkkarte:

Intel Boot Agent Version 3.0.05
PXE 2.0 Build 078 (WfM 2.0)

Config am Server:

/etc/inetd.conf:

#time stream tcp nowait root internal
#time dgram udp wait root internal
#ftpstream tcp nowait root /usr/sbin/tcpd in.ftpd
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnet.d
#tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd -s /tftpboot/
#finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w


/etc/dhcpd.conf:

#ddns-update-style none; ddns-updates off;
#default-lease-time 600;
#max-lease-time 7200;
#subnet 192.168.x.x netmask 255.255.255.0 {;
# option domain-name-servers x.x.x.x;
# option routers 192.168.x.x;
# option broadcast-address 192.168.x.x;
# max-lease-time 7200;
#}
#host laptop {
# hardware ethernet <laptop_mac_adress>;
# fixed-address <laptop_ip>;
# filename "/tftpboot/bootdisk";
#}


Im Verzeichniss "/tftpboot/" liegt die Datei "bootdisk" (boorimage von der 1. SuSE 8.0 CD). Das Verzeichniss und die Datei gehören "nobody.nobody".


cu Jack

wb1
14.07.02, 09:39
Deine NIC ist eine Intel mit bootrom (PXE).
Du hast zwei Möglichkeiten.
1. Hol dir das Paket pxelinux, es ist Bestandteil von syslinux.
Bootfile ist dann pxelinux.0, die configs der einzelnen zu bootenden Maschinen mußt du noch erstellen,oder du nimmst die default.cfg
2. Du schaltest PXE ab. Dazu erstellst du dir nen rom bei www.rom-o-matic.org für deinen NIC. Diesen file trägst du als bootfile ein.

wb1
14.07.02, 22:03
Noch etwas:

/etc/inetd.conf:

#time stream tcp nowait root internal
#time dgram udp wait root internal
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnet.d

tftp dgram udp wait root /usr/sbin/tcpd in.tftpd /tftpboot
bootps ...............
#finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w


/etc/dhcpd.conf:

#ddns-update-style none; ddns-updates off;
#default-lease-time 600;
#max-lease-time 7200;
#subnet 192.168.x.x netmask 255.255.255.0 {;
# option domain-name-servers x.x.x.x;
# option routers 192.168.x.x;
# option broadcast-address 192.168.x.x;
# max-lease-time 7200;
#}
#host laptop {
# hardware ethernet <laptop_mac_adress>;
# fixed-address <laptop_ip>;
# filename "/pxelinux.0";
#}

bootptab editieren
:bf="pxelinux.0":\

exports editieren

Bauchi
14.07.02, 23:12
zu dem thema gibts in einem IBM Redbook eine nette stelle ...
Unter RedHat gibt es das sogenannte Kickstart .. um viele Maschinen mit dem gleichen System zu betanken.

In dem Redbook - Linux Clustering with CSM and GPFS
http://publib-b.boulder.ibm.com/Redbooks.nsf/9445fa5b416f6e32852569ae006bb65f/4432cd8bdf2a58fa86256ac500797990?OpenDocument
gibts im pdf:
http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg246601.pdf

ein appendix b) kickstart modifications.
dort ist erklärt wie was wo ... aber nicht für n00bs

jack
22.07.02, 12:54
Ich danke euch! So weit funktioniert's jetzt.

Ich kann jetzt den Kern booten, und mit der initrd komme ich dann auch schon zum yast. (Habe vor den laptop übers lan aufzusetzen, da er ja keine Laufwerke besitzt)

Im yast stelle ich ihm dann "Install via NFS" ein, der Laptop greift noch kurz auf das CDRom zu, und das wars dann... -keine installation :-(

auf der konsole erhalte ich die Fehlermeldung:
#mount: /var/adm/mount/suse/images/root: we need a loop device
#mount: using /dev/loop0
#mount: /dev/loop0: No such device

Ich habe mir die initrd (von der SuSE8.0 CD) angesehen. Die devices loop0 - loop7 sind vorhanden.

Hmm, hat da jemand ne Idee?!?

cu Jack

Newbie2001
22.07.02, 13:15
wie wärs einfach mit "ifconfig lo up"

jack
22.07.02, 13:29
hallo newbie2001,
...wenn's so einfach wäre...
Prob.: ich habe das commando "ifconfig" nicht dabei. Habe es zwar schon zur initrd hinzugefügt. Ist dann auch auf der console, doch kann ich es nicht starten! (command not found)

#gunzip initrd
#mount initrd /mnt/ -o loop
#cp sbin/ifconfig /mnt/
#umount /mnt/
#gzip initrd

:( cu Jack

Newbie2001
22.07.02, 13:32
wieso kopierst du ifconfig nach mount um das gnaze dann wieder zu unmounten ???

jack
22.07.02, 13:40
wie soll ich die ifconfig sonst zur initrd hinzufügen?!?

wenn ich die platte von nem anderen rechner mounte um zur ifconfig zu kommen, schreibt der laptop beim starten der ifconfig ebenfals: command not found.

- änerung -

mein kern und die initrd liegen noch am server (nicht auf dem laptop -etherboot)
Damit ich ifconfig auf den Laptop bekomme kann ich 1. eine platte mounten wo das File drauf ist, oder 2. das file zur initrd hinzufügen. Oder?

cu Jack

Newbie2001
22.07.02, 13:54
und wenn du den kompletten pfa zu ifconfig angibst ???
wenn du ifocnifg in /mnt hast dann kannst du ja in der command-line nicht ifconfig eingeben, weil dann vermuetet er ifconfig entweder in /usr/bin, /usr/sbin, /bin oder /sbin und nicht in /mnt. alos musst du um ifconfig zu starten /mnt/ifconfig angeben.

jack
22.07.02, 14:00
Ja, ich weis :mad: ! Ich habe es in der initrd in's Verzeichniss /bin/ gelegt, bin am Laptop in das Verzeichniss /bin/ gegangen, ls zeigt mir die datei auch an! - nur ausführen lässt sie sich nicht! werder ifconfig noch ./ifconfig :(

Newbie2001
22.07.02, 15:00
mal ne blöde frage, fehlt villeicht nur das executable bit ????

jack
22.07.02, 15:22
Hab' ich mich auch schon gefragt...

ls hat keine Optionen!
chmod ist nicht dabei, und funktioniert genausowenig...

eine andere möglichkeit zum ansehen/ändern kenn ich nicht.


- SO KURZ VOR DEM ZIEL KANN MAN DOCH NICHT AN SO EINEM PROBLEM SCHEITERN ?! -