Create and manage image
This guide contains information about GPU
and NPU
instances.
Images allow you to launch an instance by selecting the required OS and applications as a template depending on your purpose. Create an image of the current state of the instance, and among image types, manage only your own images, such as creating and deleting images.
Create my image
Create an image of the current state of your instance.
Only the root volume where the OS is installed can be imaged. When backing up additional volumes, please use the snapshot function.
- Go to KakaoCloud Console > Beyond Compute Service > GPU.
- In the Instance menu, select the [More] icon and Create image.
- Enter information and click the [Create] button.
Manage my image
View image list
You can see a list of images in use and information about each image.
-
Go to KakaoCloud Console > Beyond Compute Service > GPU.
-
Check the list of images currently in use in the Image menu.
Category Description Default Images provided by default in KakaoCloud My Image Images created directly in the user's account
- You can edit and delete the name and description of the image
Create instance with my image
You can create an instance with the information stored in your image.
-
Go to KakaoCloud Console > Beyond Compute Service > GPU.
-
Move to the Image menu and select the My image tab.
-
Select Create instance of an image.
Create instance
-
Enter the required information and click the [Create] button.
Modify my image
Edit the information in the image.
Images shared from other projects can only be modified by the creator of the image.
- Go to KakaoCloud Console > Beyond Compute Service > GPU.
- Move to the Image menu and select the My image tab.
- Select the [More] icon for an image to edit > Modify image.
- Edit the information and click the [Save] button.
Share my image
You can share images with other projects you belong to.
Only the user who originally created the image can share and unshare the image.
Members of the project that have shared the image can see the [Share] icon next to the shared image.
- Go to KakaoCloud Console > Beyond Compute Service > GPU.
- Move to the Image menu and select the My image tab.
- Select the [More] icon for an image to share > Share image.
- Select the project to share and click the [Share] button.
Delete my image
Delete images you no longer use.
Images shared from other projects are only deleted by the creator of the image.
- Go to KakaoCloud Console > Beyond Compute Service > GPU.
- Move to the Image menu and select the My image tab.
- Select the [More] icon for an image to delete > Delete image.
- Enter the image name and click the [Delete] button.
Change Root volume partition table format
For instances based on certain operating systems (OS), the default partition table format of the root volume disk is the MBR (Master Boot Record) partitioning scheme. The MBR partitioning scheme supports a maximum of 4 partitions and works only on disks up to 2.0 TB in size. However, the GPT (GUID Partition Table) partitioning scheme has no limits on the number of partitions or disk size.
For more detailed information about the root volume partition table format, please refer to Change root volume partition table format.
Step-by-step process
Here's how to change the disk partition table format of your CentOS instance from MBR to GPT:
This guide is based on the CentOS Stream 8 image currently provided by KakaoCloud. (MBR to GPT)
When changing the partition table format of an existing volume, pay attention to data preservation and it is recommended to back up before changing.
-
Check the current disk information with the lsblk command.
Klsblk command[root@centos ~]$ sudo fdisk -l
Disk /dev/vda: 10.7 GB, 10737418240 bytes, 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0009b542
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 20971486 10484719+ 83 Linux -
Check the partition table information of the current disk using the gdisk command.
gdisk command[root@centos ~]$ sudo gdisk -l /dev/vda
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
************************************************** *************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
************************************************** *************
Disk /dev/vda: 20971520 sectors, 10.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 79C4C601-BF62-45E4-97F8-AB21F158EED7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 20971486
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 20971486 10.0 GiB 8300 Linux filesystem -
Change the partition table from MBR to GPT using the gdisk command.
-
GPT requires a boot partition, so create that partition.
-
Set the boot partition as
first sector 34
,last sector 2047
, and selectef02
as the partition code.gdisk command[root@centos ~]$ sudo gdisk /dev/vda
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
************************************************** *************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
************************************************** *************
# Enter 'n' (add a new partition)
Command (? for help): n
# Enter (default:2)
Partition number (2-128, default 2):
# Enter (default 34)
First sector (34-2047, default = 34) or {+-}size{KMGTP}:
# Enter (default 2047)
Last sector (34-2047, default = 2047) or {+-}size{KMGTP}:
# Enter 'ef02'
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): ef02
Changed type of partition to 'BIOS boot partition'
# Enter 'w' (write table to disk and exit)
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
# Enter 'y'
Do you want to proceed? (Y/N):y
OK; writing new GUID partition table (GPT) to /dev/vda.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
-
-
Install grub in the new boot partition.
Install grub#Recognize new partition
[root@centos ~]$ sudo partprobe
#Install GRUB
[root@centos ~]$ sudo grub2-install /dev/vda
Installing for i386-pc platform.
Installation finished. No error reported. -
Execute the restart command to reflect the changes.
Restart command[root@centos ~]$ sudo reboot
-
Use the lsblk command to check whether the disk partition table format has been changed properly.
Confirm format change[root@centos ~]$ sudo fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/vda: 3221.2 GB, 3221225472000 bytes, 6291456000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: D9C42684-E18C-4B8F-9388-C2F2CDC093ED
# Start End Size Type Name
1 2048 6291455965 3T Linux filesyste Linux filesystem
2 34 2047 1007K BIOS boot BIOS boot partition