我刚刚在一款基于Arch的发行版旁边安装了Xubuntu。问题是Grub2无法检测到之前发行版的(btrfs)分区,所以我无法从中启动。我已经尝试过update-grub2命令。
顺便说一下,在我安装Xubuntu之前,那个btrfs分区可以正常从Grub2启动。
我该怎么办?
顺便说一下,在我安装Xubuntu之前,那个btrfs分区可以正常从Grub2启动。
我该怎么办?
#navigate to root of your current booted brtfs based OS
cd /
#create symlink for boot
ln -s @/boot boot
#create symlink for etc
ln -s @/etc etc
#mount the other btrfs volume with OS-install and navigate to its root
cd /mnt/exampleotherbtrfsvolume
#create symlink for boot
ln -s @/boot boot
#create symlink for etc
ln -s @/etc etc
#let grub detect btrfs based install volume
sudo update-grub2
#reboot to the other btrfs based OS (probably listed this time in grubmenu)
#let this grub detect the previously booted btrfs volume
sudo update-grub2
https://ubuntuforums.org/showthread.php?t=2369106&p=13677811#post13677811