LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-16-2015, 02:14 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
seeking howto create custom "live media" ISO from running system


Can someone direct me to HOWTO so that I might capture my running system -- a Linux Mint laptop -- to a bootable "live media" ISO?

My objective is to create a "recovery disk" set of ISO files and associated DVD, BluRay® or similar media. That contains the whole box. A cold metal restore using the kit would put everything back the way it was when the "recovery set" got created without the need to load distribution media or install and configure packages.

I want to run some utility that will grab all of the partition and file system parameters, settings and configuration, and partition contents into an ISO folder tree. That done, I want whatever else is required to make that folder tree into a bootable "live media" ISO.

If there is no existing tool or package, is there HOWTO such that I might create my own utility?

One motive for this lies with the gnarly bog of issues surrounding package evolution between the time that one creates the "recovery set" and the time of use. If I create a "recovery set" today, I don't want to worry about changes to any of the software should I try to install that set months or even years from now.

I've seen "Make your own Distro" articles.

I've not found a "Make bootable live media" HOWTO that is not a royal pain in the anatomy to implement -- might be fine for not-me.

I understand file system "backup" using any of several methods.

I'm not a Linux of sys-admin wizard, but I've used Linux for many years -- mostly *buntu variants. I was a developer for years but moved into "management" during the 90's so my coding skills have dust and rust -- I did write some code this past summer.

Thanks in advance,
~~~ 0;-Dan
 
Old 10-16-2015, 03:57 PM   #2
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
Look for a package called Systemback (I know it has a PPA). It does what you want and runs on Buntu based systems. Linux Lite includes it in their latest release.

I use a modified version of remastersys on mine but it's no longer in development.

One note, there is a 4GB size limit for the resulting ISO so if you have lots of data - you'd want to back that up seperately.

Last edited by NGIB; 10-16-2015 at 04:04 PM.
 
1 members found this post helpful.
Old 10-16-2015, 04:09 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
The Ubuntu version of remastersys did pretty much what you want. Created a bootable iso with an installer which worked for the major Ubuntu releases including Mint which I used it for. It is no longer being developed so it probably won't work.

Just saw the post by NGIB.

PCLinuxOS has a utility called mylivecd which I believe does what you want but like a lot of this software, it is very specific and only works on PCLinux. Best bet I guess is to try SystemBack.
 
1 members found this post helpful.
Old 10-16-2015, 04:10 PM   #4
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: MX, Lubuntu
Posts: 449

Rep: Reputation: Disabled
Here's the info on Systemback. I've used it and it works, I just prefer remastersys as it still runs fine on my 14.04 LTS system. These utilities are very family tree oriented as making the ISO is just one issue - you then need an installer to put it back and therein lies much of the issue. MX-14 and antiX has the capability as well and it's integrated into the system and the installer.

http://www.techrepublic.com/article/...ng-systemback/

Last edited by NGIB; 10-16-2015 at 04:13 PM.
 
Old 10-16-2015, 06:31 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
It also may be possible to squash the filesystem and use it like a live cd/dvb/usb does. However, if your system is quite large, no program will allow you to recover it easily. A simple usb hard drive may be a good choice. An image could be made.
 
1 members found this post helpful.
Old 10-19-2015, 11:13 AM   #6
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by NGIB View Post
Look for a package called Systemback (I know it has a PPA). It does what you want and runs on Buntu based systems. Linux Lite includes it in their latest release.

I use a modified version of remastersys on mine but it's no longer in development.
Will you explain what you modified in remastersys and why you wanted those mods?
Decades ago I was product manager for a mainframe high-speed-backup utility using 9-track tapes. I remain interested in how people think about "backup" versus long-term capture of live rotating data. Personally, I use the terms "failsafe" and "archive" as a reminder that one purpose is recovery from failure versus long term storage and retrieval.

Quote:
Originally Posted by NGIB View Post
One note, there is a 4GB size limit for the resulting ISO so if you have lots of data - you'd want to back that up seperately.
I understand the 4.7 GB limit of DVD media. (I wish that 25 GB Blu-Ray was a bootable media.)
That will be fine to capture the details of a configured and running workstation.

Follow-up:
I found a comment elsewhere on the web. For various reasons, they suggested using a bootable live-media USB stick instead of optical media. I thought about this and decided to pursue this route.
  • It removes the 4.7 GB limit of DVD media.
  • It is much more {trans}portable and easier to store.
  • Modern GRUB2 will boot directly from a properly configured ISO file if there are hardware boot restrictions or troubles.
  • There are a few machines that will not boot from USB-connected drives, but they are rare in late 2015.

I use rsync and an external drive to capture my working data and related data archives. I find file-by-file more useful than the various tools that clone a file system. It is much slower, but more useful.

Then I use tar + bzip2 to make an offline copy of the external. These are easier to store than a drive.

During recovery, I expect to use the live media to restore a configured and running system.
(It is so nice that Linux does not care about the physical drive where bootstrap finds /boot and /root -- unlike that other OS.) I would then reverse the capture tasks to recover my working and archive data.

Last edited by SaintDanBert; 10-19-2015 at 11:43 AM.
 
Old 10-19-2015, 03:10 PM   #7
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
So I fetched and tried SystemBack v1.7.100_10.10.2015_Qt5.2.1_GCC4.8.4_amd64 as reported by the installed package "--version" command line option.

There are two commands:
  • systemback -- launch a graphical interface based on Qt.
  • systemback-cli -- run the application from the command line
systemback -- launch a graphical interface based on Qt.
I was not able to use this variant due to run-time errors involving Qt and X-Windows things.
Visit the systemback pages at Launchpad for all of the details.

systemback-cli -- run the application from the command line
This variant ran as expected. It created a folder tree at /home/Systemback using the current time and date as the folder name. The folder contents are a file-by-file copy of the required system components.

There is minimal documentation at this time. The man-pages are slightly useful but minimal.
 
Old 10-19-2015, 08:26 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Looks like a useful program. Hope it works out.
 
Old 10-22-2015, 11:49 AM   #9
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by jefro View Post
Looks like a useful program. Hope it works out.
I'm playing with systemback. It is still early days for the utility and my knowledge and use of same. Sadly, there is almost no documentation. Even the man-pages are minimal.

The utility seems to have good bones and I believe that it will mature into something extremely useful. Yes, I have offered to help with this project and hope to hear from the project team about that involvement.

Cheers,
~~~ 0;-Dan
 
Old 10-22-2015, 07:38 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Let us know how it works out.
 
Old 10-26-2015, 09:55 AM   #11
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by jefro View Post
It also may be possible to squash the filesystem and use it like a live cd/dvb/usb does.
It seems your talking about the initrd.img files that are a compressed file system used during system bootstrap. Do I understand correctly?
Quote:
Originally Posted by jefro View Post
However, if your system is quite large, no program will allow you to recover it easily. A simple usb hard drive may be a good choice. An image could be made.
Recovery is a process.
  • restore the hardware (if there was a failure).
  • restore the OS and its parts and configuration
  • restore applications and their configuration
  • restore end-user data files
  • resolve any troubles that exist
Hardware recovery is mechanical and physical.
OS recovery and application recovery are where this post's dialog is aimed
data recovery relies on traditional backup and archive techniques.

That's my tuppence,
~~~ 0;-Dan
 
Old 10-26-2015, 07:21 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
No, I meant that you compress the entire virtual filesystem into a single file using some tool like squashfs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] seeking how to keep a "media device" without media present SaintDanBert Linux - Hardware 12 03-27-2015 09:21 AM
seeking HOWTO -- create own CUPS "filter" chain SaintDanBert Linux - Server 4 08-05-2014 11:38 AM
How to create an ISO image of a "live" Fedora ? ajaygarg Linux - Newbie 3 06-12-2012 03:58 AM
seeking howto "config manage" web development SaintDanBert Linux - Software 2 03-24-2011 04:07 PM
seeking HOWTO scan drive for "lost" partitions and file systems SaintDanBert Linux - Software 1 12-13-2009 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration