Since it is easy to exclude all of the disks at once when they are mounted at /mnt. The reason is Arch mounts other disks at /run/media by default and it will be a hard task to ignore it with having other contents on /run. It is recommended to mount all the other disks at /mnt. And if you use z option, you’ll be using gzip compression and you must use z when extracting as well. $ sudo tar -czvpf /mnt/data/backup.tar -directory=/ -exclude=proc -exclude=sys -exclude=dev -exclude=tmp -exclude=mnt. $ sudo tar -czvpf /mnt/data/backup.tar -exclude=proc -exclude=sys -exclude=dev -exclude=tmp -exclude=mnt. $ sudo mount /dev/sdb1 /mnt/data Then create the backup tar file. Let’s assume that your Linux partition (to be backed-up) is sda2 and the target partition you want to save the backup is sdb1 (another disk).First create the mount points. You don’t need to mount the Linux partition if you ignored the previous step. Use a mounting tool (such as PowerISO, Demon Tools) to see the ISO name. Make sure to use the volume label (which is default “UUI” when using Universal USB Installer), as the same as in the ISO name in iso file (not the iso file name). And an issue I came across is having an issue with the volume label of the USB. Please make sure to format the USB as FAT32 (or you can simply use the Format option in UUI). I used Universal USB Installer, with an Arch Bang iso to make a USB. Please ignore this if you have a working Linux installation. First, make a bootable USB of Arch Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |