个人工具

UbuntuHelp:UbuntuLTSP/SetNBDRootSwap

来自Ubuntu中文

Wikibot讨论 | 贡献2009年5月18日 (一) 18:02的版本 (创建新页面为 '{{From|https://help.ubuntu.com/community/UbuntuLTSP/SetNBDRootSwap}} {{Languages|UbuntuHelp:UbuntuLTSP/SetNBDRootSwap}} This is a quick recap of the recent discussion on the lts...')

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

This is a quick recap of the recent discussion on the ltsp-discuss mailing list. See e. g. http://marc.info/?l=ltsp-discuss&m=123327065523650&w=2 This may only be applicable to Debian and Ubuntu implementations of LTSP. If it is desired to boot LTSP client from one server, and mount the root/swap NBD image(s) on another server (or a virtual machine), the following may be placed on the kernel command line, whichever way it is supplied (most likely via the PXELinux boot menu):

append ... nbdroot=1.2.3.4:2000 nbdswap=5.6.7.8:9572

In the example above, 1.2.3.4 stands for the IP of the server providing NBD root, and 5.6.7.8 stands for the IP of the server providing NBD swap. This overrides the results from ipconfig that usually drive the ltsp_nbd script responsible for root filesystem mount.