怪了 os-prober 偵測不到另外一顆硬碟上的windows ...
grub 預設 disable os-probe 這點有確認過了嗎?
2023-02-20 11:43:49 [chc@c03 grub ]$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.19.0-32-generic
Found initrd image: /boot/initrd.img-5.19.0-32-generic
Found linux image: /boot/vmlinuz-5.15.0-58-generic
Found initrd image: /boot/initrd.img-5.15.0-58-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done
2023-02-20 11:43:53 [chc@c03 grub ]$ sudo os-prober
2023-02-20 11:44:05 [chc@c03 grub ]$
有夠狠 os-prober 一點訊息都不給 怎麼知道發生啥事..
Pop OS 我沒有成功在虛擬機以外的環境開起來過(x
可能要mount它的boot/efi partition
如果你Windows的esp是單獨在另一個Disk上
我是沒有mount 進來...不過 我也沒在windows 裡面切一個 ESP partition ..
很奇怪 我用 refind 也抓不到
但是進 bios 去指定windows 磁碟開機又可以開
os-prober抓UEFI開機的東西是抓同一個boot partition下的東西吧
嗯 剛剛測試了 把 windows partition mount 進來,然後跑 os-prober 還是啥鬼訊息都不給..
等等,你的 Windows 是用 UEFI 還是 BIOS 安裝的?
可以看一下 efi分割區有沒有windows 相關uefi
今天早上有實驗用uefi 去安裝windows 但是進去之後要選擇驅動程式? 卡在這邊就暫時沒繼續往下走,很久沒摸windows了.
以前在其他台電腦不會 就這台有這狀況
有點想放棄,擺爛說裝不起來,讓老闆買一台新一點的電腦..
格式化硬碟 然後重新裝一次 win + linux
都裝得起來
只是要用grub 去加windows 進來就不行 os-prober 完全沒有任何訊息
變成要進windows的話 必須去BIOS 選
以往我裝windows裝完後裝linux 基本上就會被認到了
我也覺得應該是用一次官方下載的iso 然後做安裝隨身碟
還有事真的就太邪門了 可以請老闆買新的ㄌ
解決了 用 live USB 開機 進去系統安裝 boot-repair
然後讓 boot-repair 去修復