LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to upgrade a .squashfs? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-upgrade-a-squashfs-4175506178/)

funkypunkypinkypow 05-27-2014 05:50 AM

how to upgrade a .squashfs?
 
Good Morning,
How do I update a *.squashfs file? I have Kali Linux 1.0.6 Debian Wheezy based live, I know how to extract the filesystem.squashfs files but I wish after installing Kali Linux and doing apt-get update && apt-get upgrade, so next time when I use the live DVD again I won't have to do apt-get update && apt-get upgrade again I mean if my Kali Linux is the latest with the latest packages versions I pack the system in squashfs and make a new fully upgraded ISO file
I hope you undertand what I mean because I am a non English speaker
Thank you very much for your answers

Shadow_7 05-27-2014 10:48 AM

# mount -t squashfs -o loop image.iso /mnt

And then rsync, tar, or whatever the filesystem to a partition. There's also unsquashfs that could be used for that. Bear in mind that a 2GB squashfs iso might expand to an 8GB install. And you'll need to point a bootloader at it's new home and maybe update /etc/fstab to know it's new location if it exists.


All times are GMT -5. The time now is 01:35 PM.