Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:remastering [2011/05/04 11:27] – [[[Dynamic root filesystem remastering]]] gutmensch | wiki:remastering [2015/09/17 20:42] (current) – Updated file names because the new releases are different mzs.112000 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ===== Unpacking ===== | ===== Unpacking ===== | ||
| - | First, get the kernel and '' | + | First, get the kernel and '' |
| < | < | ||
| sudo mount tinycore.iso /mnt/tmp -o loop,ro | sudo mount tinycore.iso /mnt/tmp -o loop,ro | ||
| - | cp / | + | cp / |
| sudo umount / | sudo umount / | ||
| Line 28: | Line 28: | ||
| sudo umount / | sudo umount / | ||
| - | Then, extract '' | + | Then, extract '' |
| < | < | ||
| cd / | cd / | ||
| - | zcat /tmp/tinycore.gz | sudo cpio -i -H newc -d</ | + | zcat /tmp/core.gz | sudo cpio -i -H newc -d</ |
| Now, the full filesystem is in ''/ | Now, the full filesystem is in ''/ | ||
| Line 38: | Line 38: | ||
| ==== Alternative approach to adding extensions. (Overlay using cat) ==== | ==== Alternative approach to adding extensions. (Overlay using cat) ==== | ||
| - | As per [[http:// | + | As per [[http://forum.tinycorelinux.net/ |
| + | |||
| + | You should be aware that this way results in a slightly slower boot, and likely bigger initramfs size. | ||
| For example: | For example: | ||
| Line 53: | Line 55: | ||
| You must use chroot because " | You must use chroot because " | ||
| - | For versions 2.x where x >= 2 and later: | + | For versions 2.x where x >= 2 and later (replace the kernel uname with the right one): |
| - | < | + | < |
| If you added shared libraries then execute | If you added shared libraries then execute | ||
| Line 65: | Line 67: | ||
| cd /tmp | cd /tmp | ||
| advdef -z4 tinycore.gz</ | advdef -z4 tinycore.gz</ | ||
| + | | ||
| It is packed at level 2 to save time. advdef -z4 is equivalent to about -11 on gzip. | It is packed at level 2 to save time. advdef -z4 is equivalent to about -11 on gzip. | ||
| Line 92: | Line 94: | ||
| You may find [[http:// | You may find [[http:// | ||
| - | ====== [[wiki: | + | |
| + | ===== Possible Errors When Booting | ||
| + | |||
| + | * //Loading / | ||
| + | Could not find ramdisk image: / | ||
| + | - There seems to be a limit on the number of characters in the name of the ramdisk image file (if it's >= 10 chars it failed for all my tries, but 7 chars worked). | ||
| + | |||
| + | [[wiki: | ||