UbuntuHelp:UbuntuLTSP/LTSPEtherbootSetup
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
This page is specific to Ubuntu versions <= 6.10 |
If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.
The ubuntu/edubuntu LTSP Setup in dapper and before defaults to PXE netbooting after install, if you use etherboot based Network Cards in your Thin Clients, use the following instructions to set up your LTSP Server to serve etherboot images instead of PXE images to the Thin Clients. Beginning with the edgy release etherboot images are created automatically (as nbi.img files) and the dhcpd.conf has a case matching function to boot it, from edgy onwards there is no need for manual work.
Preparation
To create etherboot capable Kernel Images, you need the tool mknbi which you can find in the ubuntu universe repository.
sudo apt-get install mknbi
That will install the binarys mknbi-dos, mknbi-fdos, mknbi-linux, mknbi-menu and mknbi-rom. We will use mknbi-linux to create our images.
Creating the Netboot Image
Change to the directory where LTSP stores the bootimages:
cd /var/lib/tftpboot/ltsp/
Use mknbi to create etherboot Kernel Images.
sudo mknbi-linux --output=vmlinuz.etherboot --rootdir="/dev/ram0" --append="rw" vmlinuz initrd.img
Change the dhcp Configuration for etherboot
Edit the dhcp configuration.
gksudo gedit /etc/ltsp/dhcpd.conf
change the line:
filename "/ltsp/pxelinux.0";
to be:
filename "/ltsp/vmlinuz.etherboot";
Save the file and restart the dhcp server to apply your changes.
sudo /etc/init.d/dhcp3-server restart
Now you have an etherboot capable LTSP Server, boot a Thin Client to try it out.