You are not logged in.
I'm having trouble getting an image I created using larch (I know not part of the standard arch packages).
I've figured out that I need to use a combination of DHCP/TFTP/NFS to get it to work. So far I've gotten pretty close to getting this working (it boots the kernel and initrd but it seems to fail on the nfs?) I get up to the point where it loads the hooks [net] and [larch], and it stops with a
: Looking for /dev/nfs
!! Sorry, couldn't find boot medium ...
I'm not familiar with a dev/nfs device, it certainly isn't here on the pxe server. dhcp/tftp/nfs-server daemons are all started (and I am able to mount the nfsshare on the server itself)
dhcp.conf looks like
subnet 192.168.0.0 netmask 255.255.0.0 {
option subnet-mask 255.255.0.0;
option time-offset -18000; # Eastern Standard Time
next-server 192.168.0.2;
filename "pxelinux.0";
allow booting;
allow bootp;
range 192.168.0.10 192.168.0.200;
authoritative;
}exports looks like
/var/nfsshare *(rw,subtree_check,no_root_squash)hosts.allow looks like
tftpd: ALL
in.tftpd: ALL
nfsd: ALL
rpcbind: ALL
mountd:ALLconf.d/tftpd looks like
TFTPD_ARGS="-l -s /var/tftpboot"and finally pxelinux default config
default pxelinux
label pxelinux
kernel vmlinuz26
append initrd=larch.img rootfstype=nfs root=/larch nfsroot=192.168.0.2:/var/nfsshare,v3,rsize=16384,wsize=16384 ip=::::::dhcpthe squashfs files in /var/nfsshare are r/w permissions to all (666). I do realized that I don't have the most secure setup in theese files, but I'm trying to get this working first before I tighten it down. (The entire network is within arms reach of me and not connected to anything else, so I'm not worried).
I'm a bit stuck, the creator of larch sent me a howto on pxebooting and I tried to follow it the best I could, if perhaps anyone saw an obvious problem
Last edited by valid (2011-04-06 15:45:25)
Offline
ok I tried doing this without using larch instead using the guide here:
https://wiki.archlinux.org/index.php/Di … t_NFS_root
I was able to get into arch (a bit slow, but speed issue can be worked on later)...the weird thing is......it never ran my rc.local command on startup (it looks like rc.multi is fine and calls rc.local if it exists, which it does at least by the time I login)........is there a different file I need to use to have a startup script when booting over pxe?
Last edited by valid (2011-04-06 15:25:03)
Offline
ok nm I forgot to set it to be executable....doh!
Offline