Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripped PXE-booted distribution #3

Open
madworx opened this issue Jul 11, 2018 · 1 comment
Open

Stripped PXE-booted distribution #3

madworx opened this issue Jul 11, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@madworx
Copy link
Owner

madworx commented Jul 11, 2018

The current setup with a static qcow2 image is a bit clunky, does not utilize the underlying operating systems ability to expand etc.

To reach this goal, we'll need to ascertain the possibility to create a small net-boot or harddrive-based Minix distribution, which can boot enough to pivot the root file system to NFS.

The current Minix "ramdisk"-based solution packs the entire distribution (300Mbyte) into the ramdrive, occupying unnecessary RAM as well as docker image size.

@madworx madworx added the enhancement New feature or request label Jul 11, 2018
@madworx
Copy link
Owner Author

madworx commented Jul 11, 2018

Mounting another file system on top of initramfs works. (Although, /dev becoming empty was, of course, an issue)

minix# mount /dev/c0d0p0s0 /
/dev/c0d0p0s0 is mounted on /
minix# df -h
Filesystem          Size       Used      Avail %Cap Mounted on
bootramdisk         336M       320M        16M  95% /
none                  0B         0B         0B 100% /proc
none                  0B         0B         0B 100% /sys
none                  0B         0B         0B 100% /dev/pts
/dev/c0d0p0s0       128M        35M        93M  27% /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant