2018年12月12日 星期三

boot on squashfs

mksquashfs archive

when squashfs image file is placed on hdd, boot parameter should look like below
rd.live.squashimg=xxx.img
rd.writable.fsimg

rd.writable.fsimg -> copy image file to ram. need to work with rd.live.squashimg if filename of image is not squashfs.img
readonlyroot -> for fstab

rd.live.dir -> if folder structure is not /LiveOS

losetup -a to check loop device mount status

沒有留言: