Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:remastering [2011/08/24 02:09] – small tweaks curagawiki: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 ''tinycore.gz'' from the iso:+First, get the kernel and ''core.gz'' from the iso:
  
 <code>sudo mkdir /mnt/tmp <code>sudo mkdir /mnt/tmp
 sudo mount tinycore.iso /mnt/tmp -o loop,ro sudo mount tinycore.iso /mnt/tmp -o loop,ro
-cp /mnt/tmp/boot/bzImage /mnt/tmp/boot/tinycore.gz /tmp+cp /mnt/tmp/boot/vmlinuz /mnt/tmp/boot/core.gz /tmp
 sudo umount /mnt/tmp</code> sudo umount /mnt/tmp</code>
  
Line 28: Line 28:
 sudo umount /mnt/tmp</code> sudo umount /mnt/tmp</code>
  
-Then, extract ''tinycore.gz'' for adding/removing something:+Then, extract ''core.gz'' for adding/removing something:
  
 <code>mkdir /tmp/extract <code>mkdir /tmp/extract
 cd /tmp/extract cd /tmp/extract
-zcat /tmp/tinycore.gz | sudo cpio -i -H newc -d</code>+zcat /tmp/core.gz | sudo cpio -i -H newc -d</code>
  
 Now, the full filesystem is in ''/tmp/extract''. Feel free to add, remove, or edit anything you like. Now, the full filesystem is in ''/tmp/extract''. Feel free to add, remove, or edit anything you like.
Line 67: Line 67:
 cd /tmp cd /tmp
 advdef -z4 tinycore.gz</code> advdef -z4 tinycore.gz</code>
 +    
 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 93: Line 93:
  
 You may find [[http://www.littlesvr.ca/isomaster/|ISO Master]] useful. Its a GUI disk image editing tool, available in the repository as a .tcz extension. You may find [[http://www.littlesvr.ca/isomaster/|ISO Master]] useful. Its a GUI disk image editing tool, available in the repository as a .tcz extension.
 +
 +
 +===== Possible Errors When Booting =====
 +
 +  * //Loading /boot/vmlinuz....
 +     Could not find ramdisk image: /boot/<myrdimg>.gz//  
 +    - 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:dynamic_root_filesystem_remastering|Follow dynamic root fs remastering here]] [[wiki:dynamic_root_filesystem_remastering|Follow dynamic root fs remastering here]]
Print/export
QR Code
QR Code wiki:remastering (generated for current page)