[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Is it possible to have squashfs inside initrd?



Hi all.

I've been trying to create a PXE bootable live Debian without the need to fetch the squashfs file from a network server. The use case is an easy way to clean hdds on computers that are to be sold or disposed. I'm aware of DBAN, it's not an option anymore since it's become payware

I would like to integrate filesystem.squashfs in initrd, if possible. The file transfer performance issue is solved with using http/iPXE instead of tftp.

I've spent a few days trying to find out if it's possible, the closest I've come is this patch: "Run debian live from initrd via PXE boot without NFS" (https://lists.debian.org/debian-live/2007/02/msg00126.html), but I can't see that it has been applied (at least not using the parameter frominitrd).

Is it possible to have the squashfs file inside initrd? What has to be done to make it work, besides actually inserting the file into initrd?

Cheers,
Daniel

Reply to: