特殊:Badtitle/NS100:UbuntuLTSP/LTSPMultiboot:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第48行: | 第48行: | ||
Thse lines define the ''''localboot'''' option as used with the '''DEFAULT''' keyword earlier in the file. The only definition included in this option is the '''LOCALBOOT''' option, with a parameter of 0. This provides normal harddisk booting. Other parameters are available and these can be seen on the Syslinux page. | Thse lines define the ''''localboot'''' option as used with the '''DEFAULT''' keyword earlier in the file. The only definition included in this option is the '''LOCALBOOT''' option, with a parameter of 0. This provides normal harddisk booting. Other parameters are available and these can be seen on the Syslinux page. | ||
Upon rebooting of the client, the following changes should be seen and you will be presented with a screen similar to the following. | Upon rebooting of the client, the following changes should be seen and you will be presented with a screen similar to the following. | ||
https://help.ubuntu.com/community/ | https://help.ubuntu.com/community/UbuntuLTSP/LTSPMultiboot?action=AttachFile&do=get&target=LTSPMultibootScreenShot.png | ||
* '''Created''': [[Date(2006-04-21T09:26:44Z)]] by PeteSavage | * '''Created''': [[Date(2006-04-21T09:26:44Z)]] by PeteSavage | ||
---- | ---- |
2007年12月5日 (三) 12:31的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/UbuntuLTSP/LTSPMultiboot }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/af | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Afrikaans| [[::UbuntuLTSP/LTSPMultiboot/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ar | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|العربية| [[::UbuntuLTSP/LTSPMultiboot/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/az | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|azərbaycanca| [[::UbuntuLTSP/LTSPMultiboot/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/bcc | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|جهلسری بلوچی| [[::UbuntuLTSP/LTSPMultiboot/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/bg | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|български| [[::UbuntuLTSP/LTSPMultiboot/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/br | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|brezhoneg| [[::UbuntuLTSP/LTSPMultiboot/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ca | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|català| [[::UbuntuLTSP/LTSPMultiboot/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/cs | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|čeština| [[::UbuntuLTSP/LTSPMultiboot/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/de | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Deutsch| [[::UbuntuLTSP/LTSPMultiboot/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/el | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Ελληνικά| [[::UbuntuLTSP/LTSPMultiboot/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/es | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|español| [[::UbuntuLTSP/LTSPMultiboot/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/fa | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|فارسی| [[::UbuntuLTSP/LTSPMultiboot/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/fi | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|suomi| [[::UbuntuLTSP/LTSPMultiboot/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/fr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|français| [[::UbuntuLTSP/LTSPMultiboot/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/gu | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|ગુજરાતી| [[::UbuntuLTSP/LTSPMultiboot/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/he | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|עברית| [[::UbuntuLTSP/LTSPMultiboot/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/hu | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|magyar| [[::UbuntuLTSP/LTSPMultiboot/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/id | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Bahasa Indonesia| [[::UbuntuLTSP/LTSPMultiboot/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/it | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|italiano| [[::UbuntuLTSP/LTSPMultiboot/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ja | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|日本語| [[::UbuntuLTSP/LTSPMultiboot/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ko | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|한국어| [[::UbuntuLTSP/LTSPMultiboot/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ksh | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Ripoarisch| [[::UbuntuLTSP/LTSPMultiboot/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/mr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|मराठी| [[::UbuntuLTSP/LTSPMultiboot/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ms | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Bahasa Melayu| [[::UbuntuLTSP/LTSPMultiboot/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/nl | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Nederlands| [[::UbuntuLTSP/LTSPMultiboot/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/no | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|norsk| [[::UbuntuLTSP/LTSPMultiboot/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/oc | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|occitan| [[::UbuntuLTSP/LTSPMultiboot/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/pl | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|polski| [[::UbuntuLTSP/LTSPMultiboot/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/pt | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|português| [[::UbuntuLTSP/LTSPMultiboot/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ro | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|română| [[::UbuntuLTSP/LTSPMultiboot/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/ru | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|русский| [[::UbuntuLTSP/LTSPMultiboot/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/si | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|සිංහල| [[::UbuntuLTSP/LTSPMultiboot/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/sq | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|shqip| [[::UbuntuLTSP/LTSPMultiboot/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/sr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|српски / srpski| [[::UbuntuLTSP/LTSPMultiboot/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/sv | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|svenska| [[::UbuntuLTSP/LTSPMultiboot/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/th | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|ไทย| [[::UbuntuLTSP/LTSPMultiboot/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/tr | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Türkçe| [[::UbuntuLTSP/LTSPMultiboot/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/vi | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|Tiếng Việt| [[::UbuntuLTSP/LTSPMultiboot/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/yue | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|粵語| [[::UbuntuLTSP/LTSPMultiboot/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/zh | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|中文| [[::UbuntuLTSP/LTSPMultiboot/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/zh-hans | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|中文(简体)| [[::UbuntuLTSP/LTSPMultiboot/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot | UbuntuHelp:UbuntuLTSP/LTSPMultiboot | {{#if: | :}}UbuntuLTSP/LTSPMultiboot}}/zh-hant | • {{#if: UbuntuHelp:UbuntuLTSP/LTSPMultiboot|中文(繁體)| [[::UbuntuLTSP/LTSPMultiboot/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:UbuntuLTSP/LTSPMultiboot|:UbuntuLTSP/LTSPMultiboot|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :UbuntuLTSP/LTSPMultiboot/zh | | {{#ifexist: UbuntuLTSP/LTSPMultiboot/zh | | {{#ifeq: {{#titleparts:UbuntuLTSP/LTSPMultiboot|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UbuntuLTSP/LTSPMultiboot|1|-1|}} | zh | | }}
This page describes the steps needed to setup PXE network booting as well as local disk booting
Using the below method instead of the PXE clients booting straight off the network, the user is displayed a message and is allowed to choose whether to boot from the network or from the local hard drive. In this way, establishments who already have machines setup with local disk booting, can utilise both systems without having to modify anything on the client HDD. We need to first edit the pxelinux.cfg/default file to incorporate the choices for booting. On edubuntu 7.04 path /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default. The syntax is similar to lilo's configuration. More information can be found at [Syslinux]. First take a look at the configuration below and we will break it down line by line.
DEFAULT localboot TIMEOUT 50 PROMPT 1 DISPLAY display.msg LABEL linux KERNEL vmlinuz APPEND ro initrd=initrd.img quiet splash LABEL localboot LOCALBOOT 0
This overall configuration will present the user with a boot prompt. After 5 seconds, the default choice is made which is the localboot option. Users will have the choice to type in either localboot or linux, which will boot the respective operating system.
DEFAULT localboot TIMEOUT 50 PROMPT 1 DISPLAY display.msg
The DEFAULT keyword specifies which boot option will be chosen once the timeout runs out. The TIMEOUT option specifies how long to wait before booting the default option. This is measured in 1/10 of a second. Thus 50 = 5seconds. The PROMPT option specifies whether the PXE software displays the boot: prompt to enable users to choose an operating system. The DISPLAY option displays a text file on the screen as an introduction In this case, the file is called display.msg and must be in the root LTSP directory, alongside the pxelinux.0 file. An example of this file is proposed below.
============================================================================== Welcome to the Multiboot System (SGMS) The system will start in 5 seconds... for linux users type : linux at the boot: prompt and press <enter> ==============================================================================
This prompt will be displayed as soon as the computer begins to boot from the network.
LABEL linux KERNEL vmlinuz APPEND ro initrd=initrd.img quiet splash
The above 3 lines defines the 'linux' option for booting. This is defined by the KERNEL and APPEND options, which you will notice are extraced from the original default file. As shown below
DEFAULT vmlinuz ro initrd=initrd.img quiet splash
All that is needed now, is the option for booting from the local hard drive. As seen below
LABEL localboot LOCALBOOT 0
Thse lines define the 'localboot' option as used with the DEFAULT keyword earlier in the file. The only definition included in this option is the LOCALBOOT option, with a parameter of 0. This provides normal harddisk booting. Other parameters are available and these can be seen on the Syslinux page. Upon rebooting of the client, the following changes should be seen and you will be presented with a screen similar to the following.
- Created: Date(2006-04-21T09:26:44Z) by PeteSavage