Tiny Core Base > Raspberry Pi
what is possible with core.gz initrd firmware cmdline.txt options ect
(1/1)
mocore:
can any one point out
how to have something using cpio.gz
like
--- Code: ---cat picore.gz Xlibs.gz Xprogs.gz Xvesa.gz > newpicore.gz
--- End code ---
or
--- Code: ---initrd=picore.gz,my_initramfs.gz
--- End code ---
with picore ?
and can /piCore3611a.gz be renamed or remastered ?
like handling multiple tinycore.gz files? or remastering tinycore.gz
/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! )
--- Quote ---initrd=0xa00000,0x3c02a7
--- End quote ---
is it necessary to recreate the kernel and or SD.img to change some thing ?
bmarkus:
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
mocore:
thanks!
idk how i missed that
anyway
"cat picore.gz nodejs.gz > catpicore.gz" works
after loading coreutils im using
--- Code: ---
printf '0x%x\n' $(stat -c%s catpicore.gz )
--- End code ---
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 .
Navigation
[0] Message Index
Go to full version