0

I'm using ubuntu 21.10 and I installed Windows 10 on an external SSD. Everytime I turn on my computer I see the grub menu that allow me to select ubuntu. If I want to boot to the Windows 10 need to enter BIOS and run it from there.

I want to add an option to the grub menu that when I click it, it will start Windows 10 from the disk. or other option that allows me to start Windows when the disk is connected and to Ubuntu when its not connected.

I tried adding option with grub customizer, it added an option but when I click it it says:

error: can't find command 'drivemap'.
error: can't find EFI file path.

the code that the grub customizer generated is:

set root='(hd1,2)'
search --no-floppy --fs-uuid --set 09BA-0F01
drivemap -s (hd0) ${root}
chainloader +1

I also tried adding manually using the custom40 file but it didn't even added an option.

Sagi314
  • 81
  • 1
  • 7

0 Answers0