使用 GRUB 在不同的设备上启动 Linux 系统?

使用 GRUB 在不同的设备上启动 Linux 系统?

我购买了一个新的 SSD 驱动器,打算在其上运行我的 Ubuntu 系统,并将其他两个 SATA 驱动器(配置为 RAID 阵列)仅用于存储。

Ubuntu 安装没有问题,但事实证明我的主板不支持 AHCI,并且根本看不到 SSD 驱动器——所以我无法将其配置为从 SSD 启动。

理论上,我可以在 SATA 阵列上安装 GRUB 并对其进行配置以便启动 SSD 吗?

当我运行 grub-mkconfig 时,它会识别安装在 SSD 中的系统,但会弹出以下错误:

### BEGIN /etc/grub.d/30_os-prober ###
ERROR: ddf1: seeking device "/dev/dm-2" to 18446744073709421056
ERROR: hpt37x: seeking device "/dev/dm-2" to 4608
ERROR: hpt45x: seeking device "/dev/dm-2" to 18446744073709547008
ERROR: isw: seeking device "/dev/dm-2" to 18446744073708469760
ERROR: sil: seeking device "/dev/dm-2" to 18446744073709289984
ERROR: ddf1: seeking device "/dev/dm-2" to 18446744073709421056
ERROR: hpt37x: seeking device "/dev/dm-2" to 4608
ERROR: hpt45x: seeking device "/dev/dm-2" to 18446744073709547008
ERROR: isw: seeking device "/dev/dm-2" to 18446744073708469760
ERROR: sil: seeking device "/dev/dm-2" to 18446744073709289984
ERROR: ddf1: seeking device "/dev/dm-2" to 18446744073709421056
ERROR: hpt37x: seeking device "/dev/dm-2" to 4608
ERROR: hpt45x: seeking device "/dev/dm-2" to 18446744073709547008
ERROR: isw: seeking device "/dev/dm-2" to 18446744073708469760
ERROR: sil: seeking device "/dev/dm-2" to 18446744073709289984
ERROR: ddf1: seeking device "/dev/dm-2" to 18446744073709421056
ERROR: hpt37x: seeking device "/dev/dm-2" to 4608
ERROR: hpt45x: seeking device "/dev/dm-2" to 18446744073709547008
ERROR: isw: seeking device "/dev/dm-2" to 18446744073708469760
ERROR: sil: seeking device "/dev/dm-2" to 18446744073709289984
Found Ubuntu 12.04.3 LTS (12.04) on /dev/sdc1
menuentry "Ubuntu, amb el Linux 3.8.0-29-generic (on /dev/sdc1)" --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod ext2
    set root='(hd2,msdos1)'
    search --no-floppy --fs-uuid --set=root 25ad7a52-d1b9-4d23-81b0-de24a593e8e5
    linux /boot/vmlinuz-3.8.0-29-generic root=UUID=25ad7a52-d1b9-4d23-81b0-de24a593e8e5 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-29-generic
}

当我在 GRUB 中选择 sdc(SSD 驱动器)选项时,它显示:

error: no such device: cde9dac2-0db5-41f7-a35e-5462c02e3c35 
error: hd2 cannot get C/H/S values 
error: you need to load the kernel 

相关内容