Squashfs As Root Filesystem

Home » CentOS » Squashfs As Root Filesystem
CentOS 1 Comment

Hello all

I have squashfs file i want use as root filesystem for diskless machines
(PXE boot). I can’t figure out how to configure it.

I was able to embed this file in initrd (builded by dracut) – but i don’t know how to mount it in /sysroot automatically, and what put in
‘kernel=’ commandline option.

Maybe there is another way to achieve this?

One thought on - Squashfs As Root Filesystem

  • W dniu 01.02.2017 o 13:37, Marcin Trendota pisze:

    OK, i did it MoonWolf’s way(TM). I wrote dracut module to deal with squashfs root.