The Silence Map

Asked on Super User by Dan, 1 year ago. No reply there for at least a week.

Debian on USB - Make update-grub portable

I have Debian (and Windows to Go) installed on a USB disk. It's GPT formatted and boots only through UEFI. The main issue is that grub.cfg generated by update-grub (or grub-mkconfig) has a root 'hd3,gpt4' command, which causes portability issues because the USB disk can't be expected to always be hd3. Any way to make the update-grub script more portable?

This question is one of 1 report of the same problem:

Debian on USB - Make update-grub portable

Nobody has answered it yet, here or anywhere.

Related problems

Question by Dan on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.