Persistant diskless Arch Linux system

balanga

Patron
Joined
Jul 10, 2014
Messages
271
Not sure if this is appropriate here, but I'll ask anyway...

I want to create a diskless Arch Linux system which is persistant, ie any data created/edited will remain after a reboot.

I already have a PXE environment running under FreeNAS and am able to boot Arch Linux from an ISO image, but don't know how to deploy a permanent Arch Linux filesystem hosted on a FreeNAS NFS share. I can't stumble upon the correct APPEND line in my Arch Linux Live menuentry in my pxelinux.cfg/default file.

Any suggestions would be appreciated.
 

balanga

Patron
Joined
Jul 10, 2014
Messages
271
Thanks, I already looked at that page, but looked again and see the section I need
Code:
TFTP_root/boot/pxelinux.cfg/default
DEFAULT linux

LABEL linux
    KERNEL vmlinuz-linux
    APPEND initrd=initramfs-linux.img quiet ip=:::::eth0:dhcp nfsroot=10.0.0.1:/arch


but am unable to figure how to configure ip=:::::eth0:dhcp nfsroot=10.0.0.1:/arch or what should be at that location.

On my system I have

APPEND initrd=images/archlinux/boot/initramfs-linux.img ip=:::::eth0:dhcp nfsroot=192.168.1.2:/mnt/tftproot/pxe/images/archlinux

and nfsroot is the directory of an ArchLinux rootfs.

Linux actually begins to start displaying:-
starting version 239
but then followed by
ERROR: device ' ' not found. Skipping fsck.
:: mounting '' on real root
mount: /new_root: no filesystem type spcified.
 
Top