Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Akane on May 26, 2013, 12:05:33 AM

Title: How can I make proper core.gz of Raspberry Pi?
Post by: Akane on May 26, 2013, 12:05:33 AM
Hi all.

I would like to use my remastered initramfs, core.gz.
I know the procedure of making core.gz is below(according to wiki):
Code: [Select]
# cd coredir
# find | cpio -o -H newc | gzip -c9 >../rpicore.gz

But it doesn't work. Kernel was panicked.
The message is below:
Code: [Select]
Kernel panic - not syncing: VFS: Unable to mount root fs...
So I would like to know how to make proper core.gz.

Thanks,
Akane.
Title: Re: How can I make proper core.gz of Raspberry Pi?
Post by: bmarkus on May 26, 2013, 01:32:08 AM
Did you set the length in cmdline.txt (initrd=...)?
Title: Re: How can I make proper core.gz of Raspberry Pi?
Post by: Akane on May 26, 2013, 01:41:53 AM
Hello bmarkus.

Oh! Thank you for your advice!
I didn't know the 2nd parameter of initrd= of cmdline.txt is the core.gz's file size.
Now it booted properly.

Thanks a lot!

Regards,
Akane.