Quantcast
Channel: LUG@USTC
Viewing all articles
Browse latest Browse all 670

中国科学技术大学网络启动服务 - 增加非校园网使用方法

$
0
0

中国科学技术大学网络启动服务

pxe.ustc.edu.cn 由中科大图书馆、中科大 Linux 用户协会共同维护,旨在为科大校园网提供各种网络启动服务,如网络安装 Linux、图书馆查询机系统、实用维护工具等。

该服务器由吴峰光在2001-2005年创建、维护,为校园网提供 PXE 启动服务。在校园网里可以通过网络启动安装 Debian、Ubuntu、OpenSuSE、Fedora 等常见 Linux 发行版,可以启动 Knoppix、slax、dsl 等一些 Live Linux 系统,同时还提供一些实用系统维护工具,如CloneZilla、pm、PXEknife 等。

如果您的上网环境不支持 PXE,您可以下载 ustc.ipxe.lkrn,放到 /boot/ 中,使用 grub 引导。

例如,对 grub legacy/grub4dos 用户,可以编辑 menu.lst,添加以下内容:

    title USTC PXE
    kernel /boot/ustc.ipxe.lkrn

对 grub2 用户,可以编辑 /boot/grub/grub.cfg(不推荐)或者编辑 /etc/grub.d/40_custom,添加以下内容:

    menuentry 'PXE on pxe.ustc.edu.cn' {
            set root='(hd0,msdos1)'
            linux16 /boot/ustc.ipxe.lkrn
    }

具体配置细节请按照不同计算机的环境进行调整。

在非校园网如何使用

首先需要进入 PXE 环境,这里以在 virtualbox 虚拟机使用 iPXE 为例, virtualbox 自带的 PXE 功能比较简单,所以使用 iPXE 替代之。从 iPXE 官网下载 iPXE 的 ISO,然后让虚拟机从这个 ISO 启动。 按 Ctrl + B 进入 iPXE 的命令行模式。然后输入以下命令:

dhcp //如果已经获取到了地址则请忽略
set 210:string http://202.38.93.94/boot/tftp/
chain ${210:string}pxelinux.0

接下来你就能见到 USTC PXE 的界面了 :)

注意到我们使用的 iPXE 的命令里使用的是 http 协议,这也为一些在 NAT 后面而无法使用 tftp 的用户提供使用 USTC PXE 的方法。

其他信息

以下内容可能过时,阅读时请注意辨别可用性。FIXME

有任何问题,请发邮件至 lug AT ustc.edu.cn


Viewing all articles
Browse latest Browse all 670

Trending Articles


Girasoles para colorear


mayabang Quotes, Torpe Quotes, tanga Quotes


Tagalog Quotes About Crush – Tagalog Love Quotes


OFW quotes : Pinoy Tagalog Quotes


Long Distance Relationship Tagalog Love Quotes


Tagalog Quotes To Move on and More Love Love Love Quotes


5 Tagalog Relationship Rules


Best Crush Tagalog Quotes And Sayings 2017


Re:Mutton Pies (lleechef)


FORECLOSURE OF REAL ESTATE MORTGAGE


Sapos para colorear


tagalog love Quotes – Tiwala Quotes


Break up Quotes Tagalog Love Quote – Broken Hearted Quotes Tagalog


Patama Quotes : Tagalog Inspirational Quotes


Pamatay na Banat and Mga Patama Love Quotes


Tagalog Long Distance Relationship Love Quotes


BARKADA TAGALOG QUOTES


“BAHAY KUBO HUGOT”


Vimeo 10.7.0 by Vimeo.com, Inc.


Vimeo 10.7.1 by Vimeo.com, Inc.