Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-13-2011, 05:56 PM
|
#1
|
LQ Newbie
Registered: Jul 2011
Location: Ontario, Canada
Distribution: I am an avid distro-hopper . I like Arch and Pardus .
Posts: 16
Rep: 
|
What is the exact process involved in creating installable .iso "snapshots" ..
What is the exact process involved in creating installable .iso "snapshots" of your linux system ?
As I am now installing and configuring progressively more difficult distros (ie. Arch Linux, Slackware, Gentoo, Source Mage, etc.) I find that it would now be more convenient to save "snapshots" of my completed systems for later use whenever I feel like a change .
Any help would be greatly appreciated .
Last edited by exoshwarze; 07-13-2011 at 06:03 PM.
|
|
|
07-13-2011, 06:10 PM
|
#2
|
Senior Member
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
|
Depends, if you want to just have an OS image then it is better to zero your free space with a dummy file and take an image using something like clonezilla. The point of zeroing your free space is to make the image as small as possible.
Code:
dd if=/dev/zero of=~/dummy
rm ~/dummy
Alternatively you could customize the packages on an install disk and rebuild it into it's own bootable live ISO. I have discussed this in another thread.
|
|
1 members found this post helpful.
|
07-13-2011, 06:26 PM
|
#3
|
LQ Newbie
Registered: Jul 2011
Location: Ontario, Canada
Distribution: I am an avid distro-hopper . I like Arch and Pardus .
Posts: 16
Original Poster
Rep: 
|
Quote:
Originally Posted by sag47
Depends, if you want to just have an OS image then it is better to zero your free space with a dummy file and take an image using something like clonezilla. The point of zeroing your free space is to make the image as small as possible.
Code:
dd if=/dev/zero of=~/dummy
rm ~/dummy
Alternatively you could customize the packages on an install disk and rebuild it into it's own bootable live ISO. I have discussed this in another thread.
|
Okay, but what exactly does
Code:
dd if=/dev/zero of=~/dummy
rm ~/dummy
do ? Do I run this code from within the cloning program, or from the Linux system in question ?
|
|
|
07-13-2011, 07:57 PM
|
#4
|
Senior Member
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
|
Those commands you run in the terminal. dd is a standard GNU/Unix/Linux command so check it out in the man pages.
/dev/zero is a standard device which does nothing but write zeroes as output. So basically you are outputting all zeroes to a single file. Essentially what this does is fill your free space with zeroes so that when your image created from clonezilla is compressed it will be really small because most of the image will be zero. Once you run out of free space then you delete the file ~/dummy. Then take your clonezilla image.
SAM
Last edited by sag47; 07-13-2011 at 08:01 PM.
|
|
|
07-16-2011, 11:14 AM
|
#5
|
LQ Newbie
Registered: Jul 2011
Location: Ontario, Canada
Distribution: I am an avid distro-hopper . I like Arch and Pardus .
Posts: 16
Original Poster
Rep: 
|
Yes, I know what dd is; I have used it for a while now .
And that's nifty . Thank you . ^^
|
|
|
07-16-2011, 12:59 PM
|
#6
|
Senior Member
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
|
Quote:
Originally Posted by exoshwarze
Yes, I know what dd is; I have used it for a while now .
And that's nifty . Thank you . ^^
|
Likewise you can scramble hard drives with /dev/random.
|
|
|
All times are GMT -5. The time now is 02:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|