X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
75
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
4 years ago

CentOS迁移后开机提示lvm not found的解决方法

最近在尝试将Hyper-V虚拟机迁移至proxmox VE。在经过QEMU-IMG转换完后,部分虚拟机出现了无法启动的问题,并提示:/dev/centos/root not found,terminal卡在dracut。这是由于initramfs造成的问题。解决方法很简单,请看下方~

  1. 准备一个对应系统的安装镜像(如CentOS 7,请使用Centos 7的安装盘;CentOS 8同理)
  2. 通过安装镜像进入Rescue installed OS,并挂载系统盘(chroot /mnt/sysimage)
  3. 执行:dracut -f
  4. 退出并重启机器

到这里,机器已经可以正常启动了。其中,解决方法的第一步尤为重要。选择错误的安装镜像会导致系统盘无法挂载。例如,Centos 7的安装镜像挂载Centos 8系统时会导致无限循环的问题。更换为Centos 8的安装镜像则无此问题。

 

Enjoy~

  • proxmox
  • 技术小絮
等 人表示很赞
1,231
0

📮Comments

No Comment.
xosadmin
xosadmin
4 years ago
推荐 apt-get时提示different from other instances的解决方案
近日在升级Ubuntu系统时,apt-get提示”trying to overwrite shared ‘/usr/share/doc/libselinux1/changelog.Debian.gz’, ...
  • 技术小絮
1,120 0
xosadmin
xosadmin
3 years ago
推荐 Debian设置自动对时
注意: 请使用Root用户操作,且不支持OpenVZ/LXC虚拟机。 在开始之前,我们需要设置Debian的时区,请使用以下命令: dpkg-reconfigure tzdate 之后,安装ntpdate: apt install ntpd ...
  • 技术小絮
690 0
xosadmin
xosadmin
7 years ago
推荐 【原创】Intel Core 2 Duo类CPU安装OSX Yosemite的随记
Copyright Proclaim:本教程和工具及系统仅供娱乐及个人测试使用,请不要用于商业用途。系统版权归属苹果公司。部分工具和系统镜像来自于威锋和远景论坛收集。 大家好!又有一段时间没有更新博客了。这次,有幸获得了一台搭载Intel ...
  • 技术小絮
3,003 2
xosadmin
xosadmin
6 years ago
推荐 借助树莓派将IP2780变网络打印机
近日,因为一些方面的需求,X-osadmin购入了iP2780喷墨打印机。但是iP2780的设计使其无法使用网络功能。换句话说,无法通过网络发现该台打印机,也无法通过网络发送打印指令使其开始打印,仅能使用USB连接计算机进行打印操作。但是 ...
  • 技术小絮
1,782 0
xosadmin
xosadmin
7 months ago
推荐 Proxmox日志出现大量lxcfs truncated错误的解决方案
在部分Proxmox版本中运行LXC虚拟机,可能会遇到以下情况:日志中出现大量Internal error: truncated write to cache,并且实时在滚动更新。 经过搜索和研究,可以通过以下方式进行修复: 编辑/lib ...
  • proxmox
  • 技术小絮
608 0
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

文章聚合

  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持
  • Proxmox报出RRDC/RRD update error的解决方法
  • 在Debian 12上安装Proxmox VE的方法

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. Designed by nicetheme.
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login