我有两个硬盘(/dev/sda
和/dev/sdb
)。
当我这样做时update-grub
,它会考虑/dev/sda
和/dev/sdb
。
有没有什么办法可以做到update-grub
呢/dev/sda
?
更新
我试过了 :
sudo update-grub /dev/sda
输出:(已考虑sdb
)
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-30-generic
Found initrd image: /boot/initrd.img-3.13.0-30-generic
Found linux image: /boot/vmlinuz-3.13.0-29-generic
Found initrd image: /boot/initrd.img-3.13.0-29-generic
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Arch on /dev/sdb1 # << Founded Arch on sdb !!!!
done