[lubuntu-users] Bootable clone app for Lubuntu

Ralf Mardorf ralf.mardorf at alice-dsl.net
Thu Jul 6 05:25:41 UTC 2017


I don't know how to backup the Apple OS, but you could backup a Linux
by simply coping all files, when the install isn't booted. IOW you
could use a live media to backup all files. This would copy all GRUB
related files as well, but to make an install that was restored from
the copy bootable, you anyway would need to run

    sudo grub-install --root-directory=/mnt/boot /dev/sdX 

for GRUB 2 <= 1.98 or 

    sudo grub-install --boot-directory=/mnt/boot /dev/sdX

for GRUB 2 >= 1.99, since the partition's starting point of a restored
install much likely would differ from the original install on the old
HDD. It makes no sense to dd GRUB.

If you want to copy all files, simply use "cp -ai" or use tar and
compress the data, e.g. run "tar --xattrs -czf". When using the
*-wildecard keep in mind globbing is tricky. It copies hidden
files only from subdirectories. However, the root directory usually
doesn't contain hidden files.


More information about the Lubuntu-users mailing list