Toan, On Oct 12, 2010, at 2:23 PM, Toan Pham wrote:
>> We already use the "new" initramfs everywhere for half a decade. > > > > From my understanding; the livecd image target generates three files: > kernel, initrd image, and squash root filesystem file. > At bootup; bootloader needs to load kernel and initrd image to memory > and bootup starts from here. > If we follow the new initramfs we would only have two files for livecd > target: kernel and squash root filesystem file (Ref. > http://www.mjmwired.net/kernel/Documentation/filesystems/ramfs-rootfs-initramfs.txt, > line# 97). Since we are using the new initramfs and preloaded by > bootloader; shouldn't we have an option in T2SDE to package initramfs > with the kernel as a feature stated in the linux documentation? Why do you think a "new style" would only need 2 files? You generally can not decompress the whole squashfs into memory and thus need either a kernel with zillion of drivers built-in or an new (or old) initramfs (or initrd) that loads kernel driver on demand and mount the squashfs after some automatic media discovers, ... If you just mean packing it with the kernel, then it is still the same "new" initramfs CPIO file just statically linked into the kernel. This does not give many benefits, in contrary it only makes handling the one image, and repacking the CPIO payload with a different kernel module (driver) set, RAID, LVM, etc. init script (for live auto-discovery instead of regular system boot) harder. René -- René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin http://exactcode.com | http://t2-project.org | http://rene.rebe.de
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
