LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to modify squashfs file ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-modify-squashfs-file-613883/)

kkpal 01-16-2008 12:39 AM

How to modify squashfs file ?
 
hi all

I want to reduce the size of pup_214.sfs. For that I mount pup_214.sfs and copy all the contents of mount directory(/mnt/test) in to a new directory(/mnt/test1) and unmount mounted directory. Then I create chroot environment and make a new pup_214.sfs file.
I used this command:
"mksquashfs archive/ etc/ mnt/ root/ usr/ bin/ grafburn-0.9.pet.specs proc/ sbin/ var/ dev/ lib/ tmp/ /pup_214.sfs"

and I also tried this command :
"mksquashfs archive/ etc/ mnt/ root/ usr/ bin/ grafburn-0.9.pet.specs proc/ sbin/ var/ dev/ lib/ tmp/ /pup_214.sfs -all-root"

But system is not booting. it shows error:
"Kernel panic - not syncing : Attempted to kill init!"
What I did wrong?
How to create new pup_214.sfs file using older one?


All times are GMT -5. The time now is 08:55 AM.