安装 Ubuntu 后,引导以前的操作系统分区失败

安装 Ubuntu 后,引导以前的操作系统分区失败

我最近从 CentOS 切换到 Ubuntu。Grub 可以找到我的旧 CentOS /root XFS 分区,但无法加载它。在紧急模式提示符下,我可以手动挂载旧的 centOS 分区。

journalctl 日志似乎暗示 Grub 认为该分区是 ext3,但它是 XFS。

journalctl 说

systemd[1]: Found device /dev/dm-5.
systemd[1]: Starting File System Check on /dev/dm-5...
systemd-fsck[2496]: fsck.ext3 doesn't exist, not checking file system on /dev/dm-5
systemd[1]: Started File System Check on /dev/dm-5.
systemd[1]: Started dracut initqueue hook.
systemd[1]: Reached target Remote File Systems (Pre).
systemd[1]: Reached target Remote File Systems.
systemd[1]: Mounting /sysroot...
mount[2522]: mount: unknown filesystem type 'ext3'
systemd[1]: sysroot.mount mount process exited, code=exited status=32
systemd[1]: Failed to mount /sysroot.
systemd[1]: Dependency failed for Initrd Root File System.

相关内容