Tag Info

New answers tagged


Assume that you have # at beginning of comment lines, so you can do: yum -y install $(awk '!/^#/' list) !/^#/ cause awk to ignore any lines that start with #, print the rest.


Create a full system backup using Clonezilla or similar. If you have enough storage you could clone your current distro and any others you test to (for example) a removable hard drive and restore whichever one you prefer.


Recompile your kernel with required for CRIU options http://criu.org/Installation


Use Clonezilla, seriously. It's the best open-source, Linux-based Norton Ghost-like utility. It will do both partition and full disk cloning, either disk-to-disk or disk-to-filesystem (save as a file). It supports most Linux file systems, NTFS, FAT32 and more. It can save to an internal disk, an external drive or even over the network on SMB or NFS shares. ...


In general it is not safe. The FS assumes that operations are written in certain order so it can write new data of file and then make a pointer to it from other data, the exact details depend on filesystem. Imagine if following happens: dd reads from location X which contains garbage or some data Filesystem writes to location X Filesystem writes to ...


It depends on what you mean by "current working system". If you simply want to avoid using a boot disk, and don't care about disruption to services running on the computer, it's possible: Shut down all nonessential programs (basically, everything except the root shell you're working in -- don't try this from an X terminal, use a real console shell). ...


rsync is the tool of choice for backing up a filesystem, and it can make a bootable backup of the current running OS. Some caveats: you must add the appropriate alphabet-soup options paths are rather critical an exclusion list is required, and will be different for each OS and possibly each configuration Some advantages of rsync over other methods like ...


It depends on what exactly the partition is for, and what the purpose of the copy is. However, I will say that in general dd is an inappropriate tool for backing up filesystems. That's not what it was intended for, either. It will waste a lot of time copying empty sections of the partition. It may lead to inconsistencies if the filesystem is currently ...


Okay, I actually feel confident after doing some reading that using dd will do what you want. According to this website you can use dd to create an image of your drive, which is what you want to do. Backing up your system: So begin by booting from your live disk. Switch to root mode if you are not root already. su root, or sudo su root Check that no ...


Parted Magic is very useful, also can do this with a bootable USB or DVD using PartImage on the System Rescue CD (it even comes with the USB boot setup - instructions on the site there). Personally though, can't go wrong with the good ol' Ghost 8 (found on older versions of Hiren's Boot CD but looks like they use a new G4L - Ghost 4 Linux now but try it out ...


cp -rfp from_dir to_dir -r - recursive -f - force -p - preserve attributes: mode, ownership, timestamps


Yes! you can use lftp, it is an ftp client that allows you to mirror a directory. You can also use scp -r or as casey stated use rsync.

Top 50 recent answers are included