Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: mocore on April 20, 2013, 01:48:12 PM
-
can any one point out
how to have something using cpio.gz
like
cat picore.gz Xlibs.gz Xprogs.gz Xvesa.gz > newpicore.gz
or
initrd=picore.gz,my_initramfs.gz
with picore ?
and can /piCore3611a.gz be renamed or remastered ?
like handling multiple tinycore.gz files? (http://forum.tinycorelinux.net/index.php?topic=664.0) or remastering tinycore.gz (http://forum.tinycorelinux.net/index.php?topic=157.0)
/cmdline.txt from the image has this ??? ( usually i could just change or append 'initrd=ZZZ.gz' it seems not so simple in this case! )
initrd=0xa00000,0x3c02a7
is it necessary to recreate the kernel and or SD.img to change some thing ?
-
Check config.txt in /mnt/mmcblk0p1 boot partition. At the beginning you can specify name of kernel and initrd file. It means you can use whatever name you want.
In the command line edit second hex number to match size of your initrd.
initrd=0xa00000,0x3c02a7
-
thanks!
idk how i missed that
anyway
"cat picore.gz nodejs.gz > catpicore.gz" works
after loading coreutils im using
printf '0x%x\n' $(stat -c%s catpicore.gz )
to get the hexsize from the initrd file
change
cmdline.txt
initrd=0xa00000,$hexsize
and
config.txt
ramfsfile=catpicore.gz
it boots! and node can be started from terminal .