Update 'syslinux.md'

master
D4VID 9 months ago
parent 4ad822bd90
commit d2a0306bb9

@ -66,16 +66,6 @@ LABEL FIKS OS
## Client system
~~`apt install live-build live-config`~~
~~`mkdir live-fiks && cd live-fiks`~~
~~`lb config -b netboot --net-root-path "/srv/nfs" --net-root-server "192.168.11.11"`~~
~~`lb build`~~
~~`cd ..`~~
`mkdir initrd-workdir && cd initrd-workdir`
`unmkinitramfs /boot/initrd.img-$(uname -r) .`
@ -100,7 +90,20 @@ overlay
`find . | cpio -H newc -o | gzip -9 > /srv/tftp/initrd.img`
Disable systemd-resolved (requires writable /etc/resolve.conf):
`systemctl mask systemd-resolved`
`systemctl mask systemd-resolved.service`
`systemctl mask systemd-hostnamed.service`
`systemctl mask systemd-timesyncd.service`
`systemctl mask systemd-update-utmp.service`
`systemctl mask systemd-update-utmp-runlevel.service`
`systemctl mask ModemManager.service`
`systemctl mask man-db.service`
`systemctl mask logrotate.service`
`systemctl mask grub-initrd-fallback.service`
`systemctl mask grub-common.service`
`systemctl mask snapd`
`systemctl enable tmp.mount`
`mksquashfs / /opt/fiks-image.squashfs -e /proc /sys /dev /tmp /run /mnt /media /var/cache /var/tmp /opt`
@ -114,4 +117,16 @@ Disable systemd-resolved (requires writable /etc/resolve.conf):
`cp -a /srv/nfs/tmp/* /srv/nfs/live/`
`mkdir live/{dev,proc,run,sys,tmp}`
`mkdir -p live/{dev,proc,run,sys,tmp}`
`mkdir -p live/var/tmp`
`etc/fstab`
```
192.168.11.11:/srv/nfs/live / nfs nolock,ro 0 0
tmpfs /var/tmp tmpfs defaults,nosuid,nodev,mode=1777,size=64M 0 1
```

Loading…
Cancel
Save