linux初探

首页

应用服务器

Linux技巧

中文文档

Linux初级

服务器源代码

命令详解

Linux技术应用

Linux安全应用

Linux业界新闻

UniX技术文章

Linux编程与内核

Linux数据库

Linux服务器

Linux安装指导

Linux论坛

首页>>Linux服务器>>文章正文

网络安装Ubuntu

1,tftp部分:
下载http://download.chinaunix.net/down.php?id=20673&ResourceID=10322&site=1,tftp-hpa-0.42.tar.bz2
tar xvf
./configure --without-tcpwrapper
make && paco -lD "make install"
vi /etc/xinet.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -u nobody -s /tftpboot
disable = no
per_source = 11
cps = 100 2
}
:wq
mkdir /tftpboot
2,DHCP部分
我已经装好了DHCP,并且可以同了的,只要配置就行了
cp /etc/dhcpd.conf /etc/dhcpd.conf.orig
vi /etc/dhcpd.conf 删除原来的
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option PXE.discovery-control code 6 = unsigned integer 8;
option PXE.discovery-mcast-addr code 7 = ip-address;

class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
option vendor-class-identifier "PXEClient";
vendor-option-space PXE;

# At least one of the vendor-specific PXE options must be set in
# order for the client boot ROMs to realize that we are a PXE-compliant
# server. We set the MCAST IP address to 0.0.0.0 to tell the boot ROM
# that we can't provide multicast TFTP (address 0.0.0.0 means no
# address).

option PXE.mtftp-ip 0.0.0.0;

# This is the name of the file the boot ROMs should download.
filename "pxelinux.0";

# This is the name of the server they should get it from.
next-server 192.168.0.1;
}
ddns-update-style interim;
ignore client-updates;
default-lease-time 1200;
max-lease-time 9200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
option domain-name-servers 192.168.0.1,192.168.0.2;
option domain-name "mydomain.org";
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.100;
}
host q10 {
hardware ethernet 00:00:F0:6B:38:5B;
fixed-address 192.168.0.22;
}
当然这里要修改地址信息,和MAC地址信息
3,用我机器上的ubuntu5.10中netboot下面的i386下面的内容拷贝到/tftpboot下面,里面有网络启动所需要的pxelinux.0,linux,initrd
修改/tftpboot/pxelinux.cfg/default,如下模样
DEFAULT install
PROMPT 1
LABEL install
KERNEL vmlinuz
APPEND initrd=initrd.img devfs=nomount ramdisk_size=16384
4,启动Vmware,网络启动,F12,然后居然出来了
boot: 回车
Loading linux 。。。。。。
Loading initrd.gz..............
然后待会还是出现Kernel Panic....,说要附加一个 root= 选项,不能mount 根文件系统
艾,这是刚才被我删掉的了,只好跟着添上,现在是
append vga=normal initrd=initrd.gz ramdisk_size=16432 root=/dev/rd/0 rw --
这回可以了,就象我记得的以前装这个Ubutu时一样,启动Frame Buffer,在问我问题了,哈哈
然后我设置了代理什么的,还设置了ubutu的镜像站点,然后就开始自己安装了。

相关文章

·Red Flag Linux NFS 网络安装的筹备工作
·在安装Linux过程中创建扩展分区
·哪个linux版本支持双核的一些讨论
·使用PXE协议远程安装LINUX操作系统
·[推荐]不装虚拟机也能玩LINUX
·安装vmware tools
·Debian On Slug的安装笔记
·重装windows后无法进入ubuntu?看这里
·linux下 mplayer的安装笔记

热门文章

·求助,急,安装fc6后无法启动
·FC6 安装NVIDIA显卡驱动
·安装vmware tools
·Debian On Slug的安装笔记
·重装windows后无法进入ubunt
·网络安装Ubuntu
·linux下 mplayer的安装笔记
·linux下 amule的安装笔记
·fedora 5 下的qemu安装使用
·red flag 4.0安装提示硬件配

Copyright@2005 www.linuxGoo.com All Right Reserved