One of the most common and utility things, when we use Linux is that we can personalize, copy and remaster our Linux installation according to our needs. Linux is very flexible so we have many ways to install and use it: we can install Linux from cd, DVD, network, USB, disk partition; and we can choose between a common installation medium or a medium that contains a live Linux system.
Also, we can create an ISO file of our current Linux installation and we can use the generated ISO file to make a bootable medium. In this article, you’re going to know the process to create an ISO of your current Linux installation and also know the alternatives that we have to do it.
Table of Contents
Ways To Make Current Installation’s ISO
There are many applications to create an ISO from the current installation, so I’ve listed the applications that I know to do it easy.
1. Linux Respin
It’s a fork of the discontinued Remastersys, this last was a free tool to personalize and create custom distros, also you could make complete system backups using it.
Linux Respin is new, you can get it from its official Website: http://www.linuxrespin.org/
Also, you can get its source code from Github: https://github.com/ch1x0r/LinuxRespin
2. Systemback
It’s a system utility to make backups and restore the previous state of your system. Also, you can use it to copy your system and create a Live System.
You can get it from its official website at Sourceforge: https://sourceforge.net/projects/systemback
3. Linux Live Kit
It’s a set of shell scripts to create your own Live Linux from the current Linux installation. I’m going to show you the process to make a Live Linux using Linux Live kit.
First, you must install the dependencies of Linux Live kit:
- Squashfs
Squashfs is a compressed read-only filesystem for Linux. Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed.
You must install squashfs-tools in your system using the package manager:
# aptitude install squashfs-tools
Now you must download Linux Live kit from its official website: http://www.linux-live.org/
If you want, you should remove all unnecessary files from your system (for example man pages and all other files you don’t need), to make your Live Linux system as small as possible (this step is optional). You must move the Linux Live kit to /tmp, if you want you can read the documentation files in DOC/ to learn how it works. Also, you can edit .config file if you need to modify some variables.
Now is the moment to start with the creation of the Live System, switch to the root user using su and go to the Linux Live directory and xecute the following script:
# ./build
You should go for a cup of coffee because generally, this process takes a very long time.
Your Live Kit ISO image will be created in /tmp.
There is a screenshots of the process:
At this point, the process is finalizing.
If you see the root prompt again, it means that the process is complete.
Finally, you’ll find an ISO file for CD boot and a ZIP archive for USB boot located in /tmp, you copy these files to any other directory.
To make bootable USB, unpack the generated zip archive (also from /tmp) to your USB device and run bootinst.sh from the boot subdirectory.
Conclusion
In conclusion, I’ve used Linux Live kit because it worked for me, but you can choose another. Also, this process can be useful to make a customized Linux distro using an already Linux installation.
10 comments
Cheers,
ISO and Archive generated succesfully – but could not get the bootable USB stick so far – although terminal says “Boot Installation finished” the USB Drive does not show up in the Boot Manager … trying the ISO now
Tried the ISO on several ways:
StartupDiskCreator does not accept ISO – the button keeps disabled
UNetbootin and ddrescue both perform the task, but the usb device is still not present in the Boot Manager
(tried an Ubuntu 16.04 6 from ubuntu.com created with rufus which worked)
My conclusion is that the ISO / zip archive is somehow broken :/ Maybe try CloneZilla ? idk
You can also go to linuxcustomizer.com and use build features (a structure with command segments) to customize and build your image… It’s free
http://www.linuxrespin.org is an uncompleted website with no links to any files on the download page.. so forget that one
Sounds like it was being updated at the time.
Press Debian or Ubuntu-based on the homepage and you will be taken to the sourceforge page.
Thumbs down to Respin.
Has an unresolved dependency and very poor websites.
I was able to get a bootable pen drive, well actually a very old SATA II SSD connected to a USB to SATA cable!
So it boots, but then fails on looking for data in /linux … despite the fact that I’ve followed the instructions and the linux directory is right there in the root of the drive, containing almost everything, other than one more directory at the root, called EFI, that was created from me running the boot script.
Am I doing something wrong?
How do I get it to find the data file?
The data file is right there in the /linux directory.
It it is owned by root and has permissions -rw-r–r–
Hi ! “To make bootable USB, unpack the generated zip archive (also from /tmp) to your USB device and run bootinst.sh from the boot subdirectory” this is on linux?
There are two files, a .bat to Windows and a .sh to Linux. So you must use .bat or .sh file with the system you are using now. I tried to make a bootable pendrive in Windows but it didn’t work…
How to install the live-dvd created using the Respín? There isn’t any shortcut in the system to install it.