I tried to make some changes in init file to make sysrcd.dat load from other directory (and i have no problem with that). It turned out fast that every time i try to boot with rebuilded initram.igz i get kernel panic errors. So i made simple initram.igz extraction/rebuild without any file changes to se if it was me who screwed, but no - I had the same result. I followed SystemRescueCD manual from here:
https://www.system-rescue-cd.org/Sysres ... _initramfs
When i extract initram.igz and rebuild it back according to SysRecCD manual, i get Kernel Panic errors, even when i didnt make any changes to initram archive files.
This is what i type for extraction:
cat initram.igz | xz -d | cpio -id
And this is what i type for rebuild:
find . | cpio -H newc -o | xz --check=crc32 --x86 --lzma2 > /usr/src/initram.igz
As you see it's the same as in the manual, and every time im doing this the such made initram.igz wont load, dropping an Kernel Panic error like this:
[ 4.053675] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
The problem is I DONT MAKE ANY CHANGES to extracted files! So even when they are 100% unchanged, why am i getting an error everytime?
I tried to unpack/build it on ext3 formated pendrive and that didnt help either. cpio extractions shows 71040 blocks, and no errors. Packing it up shows the same 71040 blocks and still no errors. Just the output archive seems to be a little (few KB) smaller than the original. What goes wrong? no errors and cant run it. i dont get it. Is this the problem with symbolic link points?
I found that two other users had the same problem and resolved it, but i dont understand how they made it - their solutions are unclear to me. Maybe someone could look under these topics and help me out?
edit: tried to build it with "busybox cpio" - no changes... still error :(