You are not logged in.

#1 2014-03-09 14:11:36

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,424

PXE BSD style

I've been doing this PXE thing with Arch for sometime, but does anybody know if there's a way to have a base PXE install in TFTP, and then use the host's (assuming same architecture), /usr partition.  With the usr mkinitcpio hook I'm not sure that the /usr partition will be mounted in time after the kernel and initramfs is downloaded to be able to mount the /usr partition that is separate from the PXE client would work.

I have it down now to the point of soft linking the pacman databases to the host's databases saving redownloading the package database.
It looks like lsinitcpio shows that /etc/fstab is present in the initramfs image.  So it will just be a matter of whether the /usr partition will be mounted in time.  I think I tried this one other time and didn't suceed.

Last edited by nomorewindows (2014-03-09 14:27:19)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2014-03-12 18:54:42

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,424

Re: PXE BSD style

Even after enabling various nfs services via systemctl on the PXE client, and exporting the host's /usr errors come from systemd-remount-fs and /usr doesn't get mounted on the PXE client.  Even when PXE's client /etc/fstab is something like:

server:/usr /usr nfs rsize=16384,wsize=16384 0 0

So it looks like its' possibly not doable.
Remaking the initcpio may be the trick here.
Nope, /etc/fstab in initcpio has no effect, so /etc/fstab is being read from PXE client.

Last edited by nomorewindows (2014-03-12 19:03:14)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB