User Tools

Site Tools

한국어

cupc:backup_restore:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cupc:backup_restore:index [2021/09/03 17:30]
COMFILE Technology
cupc:backup_restore:index [2024/03/06 16:38] (current)
COMFILE Technology [OS Images]
Line 1: Line 1:
 +====== Backup to and Restore from a Disk Image in Linux ======
  
 +===== OS Images =====
 +
 +The following OS images have been prepared for your convenience:​
 +
 +  * [[https://​downloads.comfiletech.com/​CUPC/​OS/​Ubuntu/​cpcv5-ko-2021-08-27.img.xz|cpcv5_korean_linux_image]] <- Korean
 +  * [[https://​downloads.comfiletech.com/​CUPC/​OS/​Ubuntu/​cpcv5-en-2021-08-27.img.xz|cpcv5_english_linux_image]] <- English
 +
 +Username: cupc\\
 +Password: comfile
 +
 +The image was created using the procedure described at [[cupc:​installing_linux:​index|Installing Linux on the CPCV5 Panel PCs]]. ​ It can be used for all CPCV5 models. ​ Use the procedure at [[#​restore_from_a_disk_image|restore from a disk image]] to install it onto a CPCV5 panel PC.
 +
 +{{ :​cupc:​backup_restore:​ecupc-cpcv5.png?​nolink |}}
 +===== Create the Bootable Installation Media =====
 +
 +For both the backup and restore procedure, you will need to create a bootable live Linux installation. ​ Use the following procedure to create a bootable live Linux installation on a USB drive.
 +
 +  - Create a bootable USB drive using the instructions at https://​ubuntu.com/​tutorials/​create-a-usb-stick-on-ubuntu. ​ Use the "​Ubuntu Desktop"​ ISO from https://​ubuntu.com/​download/​desktop.
 +  - If you want to use a single USB drive to boot and to store the disk image, create a partition on the USB drive large enough to store the disk image (which could be as larger as 120GB). ​ If you'd like the partition accessible in both Linux and Windows, format it using the exFat file system.
 +
 +===== Boot from the Installation Media =====
 +
 +  - Plug the newly created bootable USB drive into any one of the USB ports
 +  - Turn on the panel PC.
 +  - When the BIOS screen appears, press F7 to display the boot selection screen.{{ :​cupc:​installing_linux:​bios.png?​300 }}
 +  - Choose the "UEFI: USB" option and press the Enter key
 +  - When the Grub menu appears, select the "​Ubuntu"​ option (the first and default option), and press the Enter key.
 +  - When the install media boots, it will automatically start a GUI installer. ​ Select "Try Ubuntu"​ and wait for the Ubuntu desktop to appear.{{ :​cupc:​backup_restore:​try_ubuntu.png }}
 +
 +===== Backup to a Disk Image =====
 +
 +After booting from the installation media, if your USB disk does not have space to store the disk image, connect an additional USB removable drive with enough space to store the disk image, which could be as large as 120GB.
 +
 +==== Using the Gnome Disks Utility ====
 +
 +  - Run the Gnome Disks utility from the Ubuntu programs menu. {{ :​cupc:​backup_restore:​disks.png }}
 +  - Select the 120GB Disk, and then choose "​Create Disk image..."​. {{ :​cupc:​backup_restore:​create_disk_image.png }}
 +  - Create a file name for the image, choose the folder to store the image, and then press the "Start Creating..."​ button to begin the process.{{ :​cupc:​backup_restore:​save_disk.png }}
 +  - Wait for the process to finish. ​ It could take a couple of hours to finish.{{ :​cupc:​backup_restore:​save_progress.png }}
 +  - To make the .img file smaller use the command ''​xz cpcv5.img''​. ​ It will produce a file named //​cpcv5.img.xz//​ file which will be a significantly smaller file to restore from.
 +==== Using the Terminal ====
 +
 +To backup to a compressed image using a terminal, simply run the following command:
 +
 +<​code>​
 +sudo sh -c "dd if=/dev/sda status=progress | xz -c > /​media/​cupc/​1708-B3F/​cpcv5.img.xz"​
 +</​code>​
 +
 +Replace ''/​media/​cupc/​1708-B3F/​cpcv5.img.xz''​ with the location where you wish to store your disk image.
 +
 +It may take a couple of hours to complete.
 +
 +===== Restore from a Disk Image =====
 +
 +==== Using the Gnome Disks Utility ====
 +
 +  - Run the Gnome Disks utility from the Ubuntu programs menu. {{ :​cupc:​backup_restore:​disks.png }}
 +  - Select the 120GB Disk, and then choose "​Restore Disk image..."​. {{ :​cupc:​backup_restore:​restore_disk_image.png }}
 +  - Browse to the location of the image file.
 +  - Press the "Start Restoring..."​ button. ​ {{ :​cupc:​backup_restore:​restore_image_selected.png }}
 +  - Confirm by pressing the "​Restore"​ button. ​ {{ :​cupc:​backup_restore:​restore_confirm.png }}
 +  - Wait for the restore process to complete. ​ It may take a couple of hours to finish. ​ {{ :​cupc:​backup_restore:​restore_progress.png }}
 +==== Using the Terminal ====
 +
 +To restore from a compressed image in a terminal, simply run the following command:
 +
 +<​code>​
 +sudo sh -c "xz -d -c /​media/​cupc/​1708-B3F/​cpcv5.img.xz | dd of=/dev/sda status=progress"​
 +</​code>​
 +
 +Replace ''/​media/​cupc/​1708-B3F/​cpcv5.img.xz''​ with the location of your compressed disk image.
 +
 +It may take a couple of hours to complete.
 +
 +[[cupc:​index|CPCV5 (Formerly CUPC)]]