SliTaz SliTaz Forum

You are not logged in.

#1 2014-09-05 14:35:31

Guest
Guest

Editing rootfs.gz file in Slitaz 5.0 Rolling Version 24082014 (last version)

Hi.

My story:

I used to edit the rootfs.gz file when I used Slitaz-4.0-core.iso.

I did that with those commands:

---start

(zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id

rm rootfs.gz

#edit some files

find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs.gz

---end

Now, I use slitaz-rolling-core.iso downloaded from here: http://mirror.slitaz.org/iso/rolling/

Those commands do not work any more. I get this error: http://forum.slitaz.org/topic/slitaz-50-rc1-crashing-on-boot-up-with-kernel-panic-please-help

...even if I use the rolling version, and even if I do not edit anything.

The strange think is that the rootfs.gz file genrated by the command:

tazusb writefs lzma

works great!

So, I think you might have changed something to those 2 commands:

#extract command

(zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id

#compress command

find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs.gz

which I've found here: http://doc.slitaz.org/en:handbook:hacklivecd .

Thanks for help!

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.52 MiB (Peak: 1.77 MiB) ]