As mentioned on official resource, there is a need to obtain /etc/packages.conf first.

Now, I'm playing with live Slitaz 4.0 and there is no packages.conf in /etc folder (on the Debian the same).

Online information is very scarce, so, could you provide more details about this packages.conf file? My uname -r shows 2.6.37-slitaz.


As mentioned in official resource:

The file /etc/packages.conf in the initramfs ...

initramfs file you can get in /boot directory.

It will be named as initramfs... or initrd....

You can inspect this file with lsinitramfs or lsinitrd or even extact over cpio command. But you need to ensure if the initramfs is compressed or not via file <initramfs_file> command. If it will be zipped/gziped you need to use zcat instead of cat.

So create some directory (<your_directory>) and copy initramfs to it initramfs file. Enter to <your_directory> and (considering compression) execute:

cat <initramfs_file> | cpio -idmv .


zcat <initramfs_file> | cpio -idmv .

Finally you can get packages.conf in <your_directory>/etc/packages.conf.

  • there is no boot folder in file system of slitaz and was not found neither initramfs nor initrd. But Debian system has a initrd.img-4.9 compressed file that includes /conf/initramfs.conf not packages.conf.
    – Alexey Lot
    May 18 '19 at 9:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.