You are not logged in.
Pages: 1
Can somebody add pxelinux to aur..
its a perfect tool for pxebooting your computer, which I really need..
cheers mates.
Jinn
---------edit
never mind.. just found out that syslinux contains pxelinux..
The ultimate Archlinux release name: "I am your father"
Offline
also if you are looking for tftp checkout atftp in aur. I use it for my diskless systems and it works well.
Offline
sweet.. I was looking for atftp.
is there a nice guide for pxebooting? I would appreciate one.
cheers mate!
The ultimate Archlinux release name: "I am your father"
Offline
I haven't been able to make netboot work properly with the initrd kernels... If you've got one running properly syamajala, I'd love to know what you did.
Thanks!
Offline
kleptophobiac i don't use an initrd, because most of my systems are the same. also i was planning on writing a guide for the wiki someday. I have setup this stuff a bunch of times in arch. I'll post a quick guide in a few minutes and then someone else can put it in the wiki.
Offline
damn, i was hoping to get away without custom kernels. i hate rebuilding kernel specific packages. Anyway, i'll very much be looking forward to your guide. thanks again!
Offline
ok here it is:
1. required packages on server nfs-utils, nfsidmap, portmap, dhcp, syslinux, and atftp.
2. set a static ip for you server
3. configure the dhcp server,
ddns-update-style none;
subnet 10.0.0.0 netmask 255.255.0.0 {
pool {
max-lease-time 86400;
default-lease-time 86400;
deny unknown-clients;
range 10.0.0.2 10.0.0.5;
}
option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
option routers 10.0.0.1;
option domain-name-servers 10.0.0.1;
option domain-name "syp.local";
server-name "rh1.syp";
filename "/pxelinux.0";
next-server 10.0.0.1;
host diskless3{
hardware ethernet 00:60:08:AD:7E:0F;
fixed-address 10.0.0.4;
option host-name "diskless3";
option root-path "/diskless/10.0.0.4";
}
host diskless2{
hardware ethernet 00:10:4B:1F:6D:61;
fixed-address 10.0.0.3;
option host-name "diskless2";
option root-path "/diskless/10.0.0.3";
}
host diskless1{
hardware ethernet 00:60:97:0E:BB:75;
fixed-address 10.0.0.2;
option host-name "diskless1";
option root-path "/diskless/10.0.0.2";
}
}
4. start atftpd with the following
atftpd --logfile /var/log/atftpd.log --user nobody.nobody --bind-address 10.0.0.1 --daemon /diskless
5. create client fs. (i need to think of a good way to do this because the steps i use are complicated and messy). mkdir /diskless
6. build a kernel for the client make sure to include the following
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Device Drivers --->
[*] Networking support
Networking options --->
<*> Packet socket
<*> Unix domain sockets
[*] TCP/IP networking
[*] IP: multicasting
[*] IP: kernel level autoconfiguration
[*] IP: DHCP support (NEW)
File systems --->
Network File Systems --->
<*> file system support
[*] Provide NFSv3 client support
[*] Root file system on NFS
make sure to include support for the ethernet card that your diskless system uses.
6. setup /etc/exports
/diskless/10.0.0.2 10.0.0.2/255.255.0.0(rw,sync,no_root_squash,no_all_squash)
/diskless/10.0.0.3 10.0.0.3/255.255.0.0(rw,sync,no_root_squash,no_all_squash)
/diskless/10.0.0.4 10.0.0.4/255.255.0.0(rw,sync,no_root_squash,no_all_squash)
i can't remember the rest of the steps right now but once i do i'll post them. Also this is a very very rough draft.
Offline
i'm going to be doing another diskless setup soon, this time i'll write down good instructions as i do the setup. look for it soon!
Offline
Pages: 1