Got it

[Case Sharing] Failed to upgrade OS from SUSE 11 SP3 (SLES 11 SP3) to SUSE 11 SP4 (SLES 11 SP4)

Latest reply: Feb 19, 2022 08:21:50 2276 10 7 0 0

Hello, everyone!

The post will share with you a case about failure to upgrade OS from SUSE 11 SP3 to SUSE 11 SP4.

Symptom

One user wanted to update his SUSE 11 SP3 to SUSE SP4 on Huawei virtualization platform. He creates a new VM to test the upgrade process. However, the test VM OS finished upgrade, it can't boot up normally after OS reboot. it prompted "Error 17: Cannot mount selected partition.

2019-09-10_194547


Scenario Information

FusionCompute Version: V100R006C10SPH107

OS version: SUSE Enterprise Linux Server 11 SP3

OS Upgrade Method: offline upgrade, boot OS from SUSE Enterprise Linux Server 11 SP4 ISO image, then update OS.

a13


Root Cause

The root cause was the method of partition path recognition has changed in SLES 11 SP4. Such as,

In SLES 11 SP3:

Partition recognition path:

001

 

Boot partition setting:

002

 

In SLES 11 SP4

Partition recognition path:

003

 

Boot partition setting:

004


Solution

After we verified the solution many times in our Lab, the following steps are our recommended.

Upgrade the OS from SLES 11 SP3 to SLES 11 SP4.

1. Mount the SLES 11 SP4 installation ISO image to this SLES 11 SP3 VM, then mount it to one local directory. Command: “mkdir /mnt/dvd; mount –t iso9660 –o ro,loop /dev/sr0 /mnt/dvd;”.

a01

2. Configure the image path as the upgrade source path. Command: “zypper ar file:///mnt/dvd SLES11SP4.

a02

 

Then check whether it has been added successfully. Command: “zypper lr.

a03

 

3. Begin the OS upgrade task. Command: “zypper update”.

a04

 

Then OS will automatically start the update process.

a05

4. After wait 15 mins later, the process of OS update finish. The time of whole upgrade process depends on OS hardware specification and current service load.

a06

 

5.Check whether the partition recognition path has changed after OS updated. If yes, pls record new parition path. Command: “ls –ahl /dev/disk/by-id”.

a07

 

6.Backup partition mounting table and boot list first, then edit the local partition mounting table and modify the OS boot setting.

Edit the partition mounting table, command: cp –av /etc/fstab /etc/fstab.bak; vim /etc/fstab”. Ensure the result as same as the below screenshot.

a08

 

Edit the OS boot list, command: cp –av /boot/grub/menu.lst /boot/grub/menu.lst.bak; vim /boot/grub/menu.lst".  ensure the result as same as the below screenshot.

a09

 

7. Shutdown your business service first, then reboot OS to take effect new kernel and application. Command: reboot

a10

 

8. Check whether the new ver OS can boot up normally.

a11

 

9. Verify the new OS ver and kernel.

a12

 

Now, the whole process of OS upgrade has already finished.

This is my solution, how about yours? Go ahead and share it with us!

  • x
  • convention:

Unicef
MVE Created Sep 3, 2021 02:10:42

NICE
View more
  • x
  • convention:

ulrichwandja
ulrichwandja Created Sep 3, 2021 18:07:10 (0) (0)
✌  
user_4143437
Created Sep 3, 2021 16:10:49

Nice one
View more
  • x
  • convention:

AliBinHussain
AliBinHussain Created Sep 3, 2021 18:07:44 (0) (0)
 
ulrichwandja
Created Sep 3, 2021 18:06:42

Great
View more
  • x
  • convention:

AliBinHussain
AliBinHussain Created Sep 3, 2021 18:07:36 (0) (0)
 
AliBinHussain
Created Sep 3, 2021 18:07:16

Good
View more
  • x
  • convention:

AliBinHussain
Created Sep 3, 2021 18:07:25

[Case Sharing] Failed to upgrade OS from SUSE 11 SP3 (SLES 11 SP3) to SUSE 11 SP4 (SLES 11 SP4)-4118923-1
View more
  • x
  • convention:

user_4237671
Created Jan 26, 2022 02:26:49

note
View more
  • x
  • convention:

user_4358465
Created Feb 19, 2022 08:21:50

A well crafted post! Thank you!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.