I have a kiosk running on Ubuntu server 14.04.3 and I would like to create an ISO file so when I want to create another kiosk all I will have to do is to install that ISO file and I'm done. To do that I tries to install remastersys but I just couldn't install it. It always returned with an error when I tried to install the key. All of the other installations are using a GUI which I don't have since it's an ubuntu server.

How would you create the ISO file?


The way I ended up creating an image of my current system status is using clonezilla. It was as easy as downloading the Clonezilla Live and install it on a USB with Universal Usb Installer and when the computer is booting, chose to boot from the USB and follow the Clonezilla guided steps. I've also used this video for some steps.


Simply run this command from a live CD:

sudo dd if=/dev/sda of=/media/[external hdd]/image.img

That will copy bit for bit the first hard drive into an image file (which must be on a second hard drive). Then just run this to place that image on another (destination) machine:

sudo dd if=/media/[external hdd]/image.img of=/dev/sda

Be careful, doing this improperly will completely destroy an installation. Responsibility for improperly executing the instructions in this answer lies on the user.

  • What do you mean by "from a live CD"? I have the Ubuntu installed on a HDD and I would like to create the img file on a USB which is mounted at /media/usb
    – kfirba
    Sep 28 '15 at 17:35
  • You have to have the main HDD unmounted, so you need to use a live CD (like the Try Ubuntu option on the Ubuntu CD) to transfer the image.
    – Daniel
    Sep 28 '15 at 17:39
  • You could also boot off of a live USB.
    – Daniel
    Sep 28 '15 at 17:40
  • That's not an option then. I've installed the ubuntu using a bootable USB.
    – kfirba
    Sep 28 '15 at 17:50
  • You can boot off of that same USB and select Try Ubuntu. That will do the same thing, just make sure that /dev/sda is not mounted.
    – Daniel
    Sep 28 '15 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.