How to make linux boot from network
来源:互联网 发布:计算机编程大学专业 编辑:程序博客网 时间:2024/04/30 03:02
1. Enable dhcp server on a linux server, the /etc/dhcpd.conf should be looked like this:
ddns-update-style interim;
ignore client-updates;
allow bootp;
allow booting;
subnet 192.168.253.0 netmask 255.255.255.0 {
option routers 192.168.253.9;
option subnet-mask 255.255.255.0;
option nis-domain "domain.org";
option domain-name "domain.org";
option domain-name-servers 192.168.253.9;
option time-offset -18000; # Eastern Standard Time
}
group {
next-server 192.168.253.9;
filename "pxelinux.0";
host klinux {
hardware ethernet 00:0C:29:17:B8:92;
fixed-address 192.168.253.10;
}
}
2. Start tftp server and create a directory named "/tftpboot"
3. Install syslinux and copy /usr/lib/syslinux/pxelinux.o into /tftpboot
4. Then let's go in the /tftpboot and create a directory named pxelinux.cfg
5. Create a file named as your target pc's ip address which must be written as uppercase hex format such like C0A8FD0A that means 192.168.0.10.
6. Wrtie something in this file like this:
DEFAULT 192.168.253.10/bzImage root=/dev/ram initrd=192.168.253.10/initrd.gz
This config file means using ramdisk for root filesystem and the ramdisk image's name is initrd.gz
7. Now put your target and server pc into the same network, make the target boot as network method, good luck !
- How to make linux boot from network
- How to make 9-patch image downloaded from the Network
- how to make boot image
- how to make boot image
- How to change Red Hat Linux to boot to command line mode from Gnome
- How to get a notification from Linux when the set of network interfaces changes
- How to make apache start at boot time
- How to make patch for linux
- How to make a random selection from an SQL table
- How to make more money from Google Adsense?
- how to make a good resume from Google Engineer
- how to get toolchain from android source -make windows sdk
- 360iDev: How to make money from a free app
- android - How to make a phone call from webview
- How to make a sprite from URL in cocos2d-x
- Want to Make a Living From Linux?
- How to configure the network for Linux
- How to disable Network Manager on Linux
- 系统无法正常开机了,弹出“NTLDR is missing…”的信息
- 我的blog
- C#学习笔记:.NET Remoting
- ICE概要
- C#常见面试题,考核一下~
- How to make linux boot from network
- 范伟—“经典爆笑语录全集(上)
- java面向对象浅析系列2——抽象类、接口与多继承
- 范伟—“经典爆笑语录全集(中)
- 关于printf()函数和scanf()函数
- eMule 协议分析翻译(四)
- 入川之行(二)
- JAVA完全控制Oracle中BLOB、CLOB说明
- 随机数