sharhalakis / fsprotect

Debian tool (helper scripts) to make filesystems immutable
30 stars 5 forks source link

Would it work if I use nfsroot? #2

Open carlos-alarcon opened 8 years ago

carlos-alarcon commented 8 years ago

I am just wondering if it would work if instead of having everything in the disk it would work using ipxe and the following command line:

!ipxe

kernel http://boot_server/vmlinuz root=/dev/nfs nfsroot=boot_server:/nfsroot ip=dhcp initrd http://boot_server/initrd.img

boot

??

carlos-alarcon commented 8 years ago

I answer my self, I did a debootstrap on the nfs server, installed a kernel with aufs and:

running:

!ipxe

dhcp kernel http://boot_server_ip/test/vmlinuz root=/dev/nfs nfsroot=boot_server_ip:/test ip=dhcp fsprotect initrd http://boot_server_ip/test/initrd.img

did the work