Author: alexander Date: 2007-05-07 08:09:40 -0600 (Mon, 07 May 2007) New Revision: 1877
Added: trunk/packages/initramfs/README trunk/packages/initramfs/fakecd.iso.head Log: Added a binary file that is supposed to be used when loading root.ext2 into RAM (one needs to make a fake ZISO image containing only root.ext2). TODO: implement the functionality mentioned above in the init.in script. Added: trunk/packages/initramfs/README =================================================================== --- trunk/packages/initramfs/README (rev 0) +++ trunk/packages/initramfs/README 2007-05-07 14:09:40 UTC (rev 1877) @@ -0,0 +1,14 @@ +The fakecd.iso.head file is stored in pregenerated binary form in order +to avoid breakage that can be caused by new cdrtools. Append a single +file compressed by mkzftree to it, and adjust DWORDs at offsets mentioned below +in order to get a valid iso image containing that single file as /root.ext2. + +DWORDs to change: + +Offset 0xb8f8: compressed length, little-endian +Offset 0xb8fc: compressed length, big-endian +Offset 0xb973: uncompressed length, little-endian +Offset 0xb977: uncompressed length, big-endian + +Uncompressed length can be found at offset 8 in the compressed file, in the +little-endian form. Added: trunk/packages/initramfs/fakecd.iso.head =================================================================== (Binary files differ) Property changes on: trunk/packages/initramfs/fakecd.iso.head ___________________________________________________________________ Name: svn:mime-type + application/octet-stream -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
