Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 1.68 KB

README.md

File metadata and controls

32 lines (16 loc) · 1.68 KB

A basic script to allow you to chroot inside any stock ubuntu ISO instead of doing the same thing manually or installing CUBIC software
I wrote this script just as a hobby

Make sure the following packages are installed for a conflict free script run:

  1. 7zip (sudo apt install p7zip-full)
  2. squashfs-tools(sudo apt install squashfs-tools)

How to Use:

Step1:Create a folder with desired name

Step2:Then put your ubuntu iso image inside the folder, make sure not to edit its name and keep it default

Step3: Download or clone this repository

Step4:Now for the final step, put the configure.py, mksq.py and write.py inside that folder and run the configure.py and follow the prompts

Step5: Once you are done with the configure.py script, you can enter the chroot environment with "sudo chroot . bash"

Step6: After you are done configuring the filesystem, exit and run mksq.py to squash the filesystem

Step7: Now for the final step copy the entire /unzipped directory to a pendrive or any bootable device and boot in your custom configured ubuntu os :D

Extra Step: Please check for leftover script generated file like (casperpath.txt or pathofworkdir.txt) left in /unzipped/casper directory and make sure to remove it to avoid any possible conflicts

Note: I have tested it on Linux mint-20.02 with ubuntu-20.04-desktop-amd64 ISO file, so you may test it on different ubuntu versions with different ubuntu iso files and you all are free to let me know about behaviour changes or any bugs or issues to be addressed in script

If you have any issues with the script, you may bring that up as an Issue here on github or contact me at => [email protected]