Linux serverNETWORK ADMINISTRATIONS

Fix Error when migrating CentOS 7 from vmware to Xen

/dev/centos/root does not exist after migrating CentOS7 from vmware to xcp-ng
Rebuilding initramfs in emergency mode(or go to the Rescue Mode ):
Then

1) List the initramfs images you have:
# ls -ltrh /boot/initramfs-*

2) Locate the kernel version you’re using and create a backup of it:
# cp -iv /boot/initramfs-3.10.0-862.el7.x86_64.img /boot/initramfs-3.10.0-862.el7.x86_64.img.back

3) Rebuild the kernel image for that specific kernel
# dracut -f

4) Select the new kernel image
# ls -ltrh /boot/initramfs-*

5) Specify the new kernel version (For Example):
# dracut -f /boot/initramfs-3.10.0-862.el7.x86_64.img 3.10.0-862.el7.x86_64

6) Go to the Grub config
# vi /boot/grub2/grub

7) Delete the old menuentry and make sure that the new menuentry is top of all

8) Generate a GRUB configuration file
# grub2-mkconfig

9) Reboot

10) Done.

_______
SUBSCRIBE TO THIS HTU CHANNEL!

If you like the video, why not subscribe, so you won’t miss future videos!
Subscribe Here: https://www.youtube.com/channel/UCwxMCQV019yan9qL3BgyT3g?sub_confirmation=1

*** Learn more about Tuts ***
How to install Ubuntu Server 20.04 LTS – https://youtu.be/x4Nf2fTA22k
Connect to a Windows PC from Ubuntu 20.04 using Remote Desktop Connection ( Remmina ) https://youtu.be/vlkmPw1wUSA
How to Install CentOS 8 Core – https://youtu.be/NeQqFBYTbsA
How To Install CentOS 7 Core https://youtu.be/47Lx1-CnBAM
_____________

📺Playlists:
macOS Tips: – https://www.youtube.com/watch?v=O6kjRirgc6k&list=PLuhXGJTh9FwEzLrS74FcDdyc7Yda2PSV-

Windows 10 Tips: – https://youtube.com/playlist?list=PLuhXGJTh9FwGODDmjB6d9O6wrU0mDds9_

Linux Installs: – https://youtube.com/playlist?list=PLuhXGJTh9FwGGTS6HIh1tfx3SD05PQOrC

Bash shell script tutorial: – https://youtube.com/playlist?list=PLuhXGJTh9FwFNzwFwrhnccw5conMlV-OI

Linux Commands: – https://youtube.com/playlist?list=PLuhXGJTh9FwFYGgkEyHIEr8VA7DDsPWgV

OpenStack Tuts – https://youtube.com/playlist?list=PLuhXGJTh9FwGdLVKLMaAN_0sj68bg1vE1

Graphics – Design: – https://youtube.com/playlist?list=PLuhXGJTh9FwENQMC6crbNcJutClAgR6fZ

Printer: – https://www.youtube.com/playlist?list=PLuhXGJTh9FwFalwKRrusH6L97IiMJtZrs

CCNA: – https://www.youtube.com/playlist?list=PLuhXGJTh9FwEzbFTN_geU1mWi2O_17Rr9

📺Latest Videos:
How to install HP LaserJet P2035n on Windows 10 – https://youtu.be/XYHvKqxtIrQ
How To install Wireshark on Windows 10 and macOS – https://youtu.be/g1FmqiDYryU
How to change the mouse pointer size and color in Windows 10 – https://youtu.be/4sxjt16SjSU
How to Install WiFi Explorer Pro Pro-level tool for Wi Fi diagnostics – https://youtu.be/FqTnF4dKBOg
______________

Useful Links/Commands:
#linux #tutorial #macOS #Windows #Printer #Camera #CCNA #Graphic

Thank You For Watching and please visit my channel
Blog: http://howtoused.blogspot.com
YouTube Channel: http://youtube.com/howtoused

Make sure to Subscribe below for Future Installs, Updates, Reviews, and Tips!!!

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *