- 新しい順
- 投票が多い順
- コメントが多い順
Upgrade from SUSE 12 SP4 or SP5 to SUSE 15 SP1, please follow the steps below:
Step 1: - Edit the /etc/fstab file and replace the root volume entry with the UUID of the new root volume. Save the changes.
Step 2: - Modify the /etc/default/grub file with the following changes:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=1
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 multipath=off net.ifnames=0 nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 8250.nr_uarts=4 dis_ucode_ldr"
GRUB_CMDLINE_LINUX=""
GRUB_DISTRIBUTOR="SLES 12 SP5 EC2"
GRUB_GFXMODE=800x600
GRUB_TERMINAL="gfxterm"
GRUB_USE_INITRDEFI=true
GRUB_USE_LINUXEFI=true
Save the changes.
Step 3: - Regenerate the GRUB configuration by running the following command:
grub2-mkconfig -o /boot/grub2/grub.cfg
Step 4: - Install the latest package updates for the VM by running the following commands:
zypper clean --all zipper refresh zipper update
Once the updates are installed, restart the VM to apply the changes.
Step 5: - After the restart, verify the kernel and OS version to ensure that it is now SUSE 12 SP4 or SUSE 12 SP5:
uname -a cat /etc/os-release
Step 6: - Install the suse-migration-sle15-activation package, which will automatically install the SLES15-Migration package as a dependency:
zipper install suse-migration-sle15-activation
zipper in suse-migration-sle15-activation
Step 7: - Update the /etc/zypper/zypper.conf file and add the following line to the [main] section:
solver.onlyRequires = true
Add the following line in the [main] section to disable the installation of recommended packages:
installRecommends=false
Step 8: - Reboot the system to apply the changes.
By following these steps, you should be able to perform a successful upgrade from SUSE 12 SP4 or SP5 to SUSE 15 SP1.
Please note that it is always recommended to take proper backups and test the upgrade in a non-production environment before performing it on live systems.
関連するコンテンツ
- AWS公式更新しました 3年前