I am running Ubuntu 12.04 TLS. Is there a way to produce an ISO installable image of my current system so as I could burn the image on a flash drive and be able to install it on an other PC ? Please provide details. thanks
You need a program that can produce an iso file, and this is Remastersys.
This set of instructions helped me install and run successfully remastersys on Ubuntu 14.04.1 32bit and also successfully make a bootable flash drive with the custom iso I made.
Open the Terminal (Press Ctrl+Alt+T) and run
sudo apt-get install plymouth-x11
Go to this link and download remastersys version for 32bit or 64bit system
IMPORTANT: I downloaded version 3.0.4-1 i386 and it WORKS I checked 3.0.2- version and it doesn't work.
Open 'Software & Updates' (search in Dash or in the System's parameters)
In 'Software & Updates', go to "Other Software" tab and press "Add..." button
deb http://www.remastersys.com/ubuntu precise main
and press OK
Now look for two lines with "www.remastersys.com/" in the list you can find on the Other tab and make sure you check both boxes. Enter a password if you are asked to.
Switch back to Terminal and run
sudo apt-get install remastersys-gui
To open remastersys-gui, you always need root privileges. So do it in the Terminal
I'd love to provide you with this answer, and particularly with details. You see, there are two popular and equally correct answers, and I'm prepared to offer both to you, with the understanding that the one which sounds easier is much much more dangerous to your data, while the one which sounds slightly more complicated is immensely safer, while also being easier. Given the choice I'm a big fan of both fast and easy. Neither method is significantly slower than the other.
Also please see my bio and take my word for it that the program I use for cloning is in fact the slightly more complicated sounding solution. So lets get started.
The solution I wish to recommend to you is CLONEZILLA Clonezilla is a program which comes to you as a downloadable ISO which you burn to a cd and boot your computer to in order to operate it. After several text menus, it gives you the stupid easy choice to back up your drive (or just partitions) to an image file on external usb media (in most cases) or directly to another drive entirely. I recommend the image transition, if only because I'm fond of backups. Using an intermediary takes longer, but I think it is worth it.
The other solution uses a utility built into Ubuntu called dd. I have heard that dd official stands for data description, although it is commonly referred to as "drive duplicator" but that it's ambiguities which causes people to copy blank drives over full drivers resulting in Data Destruction.
You can easily move any Linux installation by just moving its folder, as long as you don't alter the files or their rights. So it is 'tar caf /ubuntufolder archieve.xz' but there are difficulties:
- You MUST do the archieving while booted from LiveCD or another Linux installation OR exclude pseudofolders like '/proc' '/tmp' and whatever else.
- After unpacking, you will have to reinstall bootloader and check '/etc/fstab'.