- 1 Q: can i have multiple terminal server run simultaneously? so pxe client can choose wheter to boot ltsp or knoppix or clusterknoppix or damnsmalllinux, or other...??
- 2 Q: is PXE + ssh possible??
- 3 Q: What is PXE?
- 4 Q: Where can I find more information about PXE & GNU/Linux?
- 5 Q: Can I boot via a PCMCIA-network-card?
- 6 Q: How can I boot with PXE?
- 7 Tip: Grub
Q: can i have multiple terminal server run simultaneously? so pxe client can choose wheter to boot ltsp or knoppix or clusterknoppix or damnsmalllinux, or other...??
A: Yes, for instance, have a look at PXELinux which allows you to make a menu (with submenus...).
Q: is PXE + ssh possible??
A:Yes SSH is possible from a PXE boot environment even if the environment is read-only. When running in a read-only environment, SSH keys should be generated during the boot scripts and saved to a ram filesystem that will be cleared during a reset or powerdown.
Q: What is PXE?
A: PXE stands for 'Preboot Execution Environment' and is part of Intels(tm) Wired for Management (WfM).
The Linux Magazine has written a good article about 'Network Booting' - Please read it first to learn and understand Network Booting and PXE!
Intel offers 103 pages of PXE Specifications 2.1 (Sep. 20.1999).
Q: Where can I find more information about PXE & GNU/Linux?
Q: Can I boot via a PCMCIA-network-card?
A: Probably yes, but the boot rom-o-matic site does not support any PCMCIA cards. We still have to write a guide or a script to support this. Suggestions Welcome.
- (Do you know more? Please add and comment here)
Q: How can I boot with PXE?
A: There are a number of possible routes:
- Modern BIOS with a PCI or an on-board network card (AFAIK no PCMCIA-cards)
- PXE-bootimage on a floppy
- PXE-bootimage on a cdrom
- PXE Capable bootloader (e.g. Grub)
- PXE-bootimage on the hard drive
1. Modern Bios with a PCI or an on-board network card (AFAIK no PCMCIA-cards) Go into your Bios and choose your NIC as primary Boot device. At boottime you can configure this to use PXE and DHCP. You will probably have to enable Network booting before it shows up in the boot order menu, this depends on the particular Bios.
2. PXE with Floppy Quick-Tutorial: (by Fabian)
- Start Knoppix with CD on computer 1...
- Start knoppix-terminalserver (Choose the right network card you want to use in computer two which will boot from network)
- Make an floppydisk for you NIC (network interface card) from rom-o-matic.net ... (lzdsk)
- Write image to floppy
- dd if=eb-5.0.7-xx.lzdsk of=/dev/floppy
- Boot computer two from floppy ...
- Choose boot from network, when asked (press 'n')
From the mailing list by Michael Bramer:
But beware, Openoffice takes more than 10 Minutes to start with 133MHz;-)), but it works, if you are not typing too fast! Shouldn't it run on the server? No, it's a FAT client. The Server only exports the compressed images and the kernel, the software runs completely on the Clients, with access to local drives (if not being run in secure mode).
To run a THIN client shouldn't be a big task.
on the server:
- start the normal terminal server:
- start kdm/xdm/... with XDMCP
- maybe add user01 - user30 with empty passwords..
on the client:
- boot normally (like the FAT client) - use the following boot parameters : knoppix 2
- Start X with `X -broadcast` or a `X -query $SERVER` (where $SERVER is the name or IP of your server)
A remastered CD will also be able to create a hybrid thin-fat client where both involved hosts share their CPU power using openMosix or similar, (while still running their own programs from the image), however, pre-remastered CDs [e.g. ClusterKnoppix 3.6] with this capability are currently only available for dated versions of Knoppix, especially because of the restriction of this "technology" currently to 2.4 series kernels.
3. PXE-boot image on a CD-ROM
4. PXE Capable Bootloader (e.g. Grub) see 'man grub, info grub and grub webpage
Now here is a quote from gnu.org for you about grub and PXE:
Booting from a network It is sometimes very useful to boot from a network, especially, when you use a machine which has no local disk. In this case, you need to obtain a kind of Net Boot ROM, such as a PXE ROM or a free software package like Etherboot. Such a Boot ROM first boots the machine, sets up the network card installed into the machine and downloads a second stage boot image from the network.
Then, the second image will try to boot an operating system from the network actually. GRUB provides two second stage images, nbgrub and pxegrub (see Images).
Those images are the same as the normal Stage 2, except that they set up a network automatically, and try to load a configuration file from the network, if specified. The usage is very simple: If the machine has a PXE ROM, use pxegrub. If the machine has a NBI loader such as Etherboot, use nbgrub. There is no difference between them but their formats. As how to load a second stage image you want to use should be described in the manual on your Net Boot ROM, please refer to the manual, for more information. However, there is one thing specific to GRUB. Namely, how to specify a configuration file in a BOOTP/DHCP server. For now, GRUB uses the tag 150, to get the name of a configuration file. This below is an example about a BOOTP configuration: .allhost:hd=/tmp:bf=null:\ :ds=22.214.171.124 126.96.36.199:\ :sm=255.255.254.0:\ :gw=188.8.131.52:\ :sa=184.108.40.206: foo:ht=1:ha=63655d0334a7:ip=220.127.116.11:\ :bf=/nbgrub:\ :tc=.allhost:\ :T150="(nd)/tftpboot/menu.lst.foo": Note that you should specify the drive name (nd) in the name of the configuration file. That is because you can change the root drive before downloading the configuration from the TFTP server, when the preset menu feature is used (see Preset Menu) See the manual about your BOOTP/DHCP server, for more information. The exact syntax should differ from the example, more or less.
You should be familar with grub before tring this. Take time to learn grub from the ground on and you will enjoy grub!
5. PXE-bootimage on hd see 4. bootloader (grub)
This wiki-page was revised by: Robert Michel, thadk