Can Cubic create a bootable (live) cd/dvd of a currently running server?

Asked by Robert Cates on 2018-11-21

Hi,

I very much like the idea of being able to create a bootable cd/dvd ISO image of my currently running Ubuntu 18.04 LTS server and would like to know if that is possible, now or in the (near) future. My hard drives are aging and I would like to be able to rebuild new servers (multiple servers) from a current bootable ISO image. More specifically, I would like/need to use Cubic from my Ubuntu 18.04 LTS Workstation to build the bootable ISO image of my 18.04 LTS server, obviously requiring network access to the server.

Thank you very much!
Robert

Question information

Language:
English Edit question
Status:
Answered
For:
Cubic Edit question
Assignee:
No assignee Edit question
Last query:
2018-11-21
Last reply:
2018-11-24
Cubic PPA (cubic-wizard) said : #1

The best way is to write a script that installs and configures all the software you need. You can then copy the script into Cubic's chroot environment and run it.

However, it looks like this may not be viable for you since you have an already configured workstation...

I have also seen some people drag configuration files and drop them into the appropriate directories inside Cubic's chroot environment. But you really have to know what you are doing in order to achieve this. If you know which configuration files you need, install the required software using apt (or dpkg -i, or compile from source), then copy over the configurations from your workstation.

Please note, if your files are on a network drive, you can not use the drag-and-drop method of copying files into Cubic. Instead, copy the files to your ~local~ machine first, then drag them into Cubic's window. Another option would be to use the rsync or rcp commands inside Cubic's chroot terminal and directly access the network files.

Also, figuring out the right files you need to copy may require trial-and error, so test out the generated iso in a virtual machine until you get the results you want.

Can you help with this problem?

Provide an answer of your own, or ask Robert Cates for more information if necessary.

To post a message you must log in.