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

Re: Q: Etherboot per LILO statt PXE BootROM?



Rudi Effe wrote:

> Liebe Liste,
> 
> normalerweise verwendet man Etherboot (z.B. per PXE), wenn man diskless
> thin clients von einem Terminalserver (z.B. ltsp) booten möchte.
> Insofern scheint meine Frage ungewöhnlich. Wir haben aber einige
> bestehende Rechnersysteme (Thick Clients, also Desktoprechner mit
> Platte), die wir optional als Client vom Terminalserver booten wollen.
> 
> Wenn wir (was einen gewissen Aufwand bedeutet) alle Netzkarten mit dem
> PXE-ROM nachrüsten, müsste man vermutlich jedesmal im Bios einstellen,
> ob via LAN oder von Platte gebootet werden soll. (Stimmt das so?).
> 
> Da wir aber eine Platte haben, muss es doch möglich sein, die
> erforderliche Bootroutine in das Lilo einzubinden, das eh drauf ist.
> Hat jemand damit Erfahrungen oder kennt eine entsprechende Anleitung?

Ja wir machen das ähnlich, haben auch thickclients (teilweise richtig fette 
mit 3GB RAM und 120GB Platten ;) ), booten aber trotzdem 
übers Netz.

Ich poste hier mal das gesamte etherboot howto, dass ich für uns 
geschrieben habe. 
Du musst Dir im Punkt 4 die *.lilo Datei erzeugen. Alternativ gibts die 
Dateien auch bei http://rom-o-matic.net/ . Die PCI-ID's brauchst Du aber
trotzdem.

Grüsse,
        Bernd


bernd@bathl doku>cat etherboot_README
1.) To get to know which image to create, run:

lscpi

The output of the 1. row shows the "bus, slot and function",
the  2. row shows the identifier string. Remember the number
of the first row for your network card.

e.g.:

bernd@euklid bernd>lspci
        00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
        00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
        00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
        00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
        00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
        00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
        00:06.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891
---->   00:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) <--remember this !!!
        01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF


2.) After running: 'lspci -n' you can find in the 4. row, the PCI-vendor-ID:PCI-device-ID.

e.g.:

bernd@euklid bernd>lspci -n
        00:00.0 Class 0600: 8086:7190 (rev 03)
        00:01.0 Class 0604: 8086:7191 (rev 03)
        00:04.0 Class 0601: 8086:7110 (rev 02)
        00:04.1 Class 0101: 8086:7111 (rev 01)
        00:04.2 Class 0c03: 8086:7112 (rev 01)
        00:04.3 Class 0680: 8086:7113 (rev 02)
        00:06.0 Class 0100: 9005:001f
---->   00:0a.0 Class 0200: 10b7:9055 (rev 30) <--- 10b7:9055 is our number
        01:00.0 Class 0300: 1002:5446


3.) When you go to http://www.etherboot.org/db/ and click on
"Technical Data" for your networkcard Chip manufacturer, you
get the needed "rom-name" for your network card. Just use the
data from the 2nd step to do so.

4.) Go into the ertherboot-x.y/src directory and run:
        make bin32/{rom-name}.lilo or make bin32/{rom-name}.fd0

        (e.g.: make bin32/3c905b-tpo100.fd0 will prepare a floppy
        for being used as boot-device for 3c905B 10/ 100 TPO
        network card)



Reply to: