Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Huawei Cloud EulerOS/ User Guide/ Changing an OS to HCE

Changing an OS to HCE

Updated on 2024-09-14 GMT+08:00

Constraints

  • If you want to change the OS of a yearly/monthly ECS, the system disk capacity may be insufficient for the new image. If this is the case, you need to detach the system disk from the ECS and expand its capacity before changing the OS.
  • There must be at least one EVS disk.
  • Changing from BIOS to UEFI is not supported.

Important Notes

  • After the OS is changed, the original OS will not be retained, and the original system disk and data on the system disk will be deleted, including data on the system partition and other partitions. Back up the data before changing the OS. For details, see Backing Up ECS Data.
  • The data in data disks remains unchanged.
  • After the OS is changed, the IP and MAC addresses remain unchanged.
  • The system will automatically start after the OS is changed.
  • After the OS is changed, the system disk type cannot be changed.
  • After you change the OS, you need to deploy services in the new OS.
  • After the OS is changed, custom settings such as DNS and hostname will be reset and need to be reconfigured.

Billing Rules

  • After the OS of a pay-per-use ECS is changed, the price may increase if the new OS needs more disk capacity.

Prerequisites

  • The source system has a system disk attached.
  • If a password is used to log in to the source OS but a key pair is required to log in to the target OS, the key pair has to be available.
  • If a private image is required for changing the OS, create the private image by following the instructions provided in Image Management Service User Guide.
    • If the image of a specific instance is required, ensure that a private image has been created from that instance.
    • If a local image file is required, ensure that this image file has been imported into the cloud platform and registered as a private image.
    • If a private image from another region is required, ensure that this image has been replicated to the target region.
    • If a private image from another account is required, ensure that the image has been shared with you.

Procedure

  1. Log in to the management console.
  2. Click . Choose Compute > ECS.
  3. Locate the row containing the target ECS. Choose More > Manage Image > Change OS in the Operation column.

    Before changing the OS, stop the ECS or select Automatically stop the ECSs and change their OSs.

  4. Change the Image Type and Image.
    NOTE:

    For a yearly/monthly ECS, if the system disk size is smaller than the image size, you must detach the system disk, expand its capacity, and attach it to the ECS before changing the OS.

    For details about how to expand the system disk capacity, see Disk Capacity Expansion.

    Figure 1 Changing OS
  5. Set Login Mode.

    Use the key pair if it is required for logging in to the new OS.

  6. Click OK.
  7. On the Change ECS OS page, confirm the specifications, read and agree to the agreement or disclaimer, and click Submit Application.

    The task status changes to Changing OS. When Changing OS disappears, the change is successful.

    NOTE:

    A temporary ECS is created during the OS change. After the change is complete, this ECS will be automatically deleted.

Follow-up Operations

  • If the OS before and after the change is Linux, and auto-mount on startup has been enabled for the data disk, the auto-mounting information will be lost after the OS is changed. You will need to update the /etc/fstab configuration:
    1. Write the new partition information into /etc/fstab.

      It is a best practice to back up the /etc/fstab file before writing data into it.

      To enable auto-mounting on startup, see Initializing a Linux Data Disk (fdisk).

    2. Mount the partition to use the data disk.

      mount diskname mountpoint

    3. Check that the partition was mounted successfully.

      df -TH

  • If the OS change fails, repeat steps 2 to 7 to retry.
  • If the retry fails, contact customer service for manual recovery.

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback