grub: eval vars for linux command / write config agnostic to other disks

2020-03-28 Thread Toerless Eckert
I would like to have a grub config that will work even if the disk is re-plugged into a different SATA port and independent of whether other disks are plugged in. Lets say i today have this config: set root='hd5,gpt2' search --no-floppy --fs-uuid --set=root 4bdb3675-62ff-499f-9fc4-e5fd8c7ba777

Re: Install grub2 to ESP to boot to mmcblk0

2019-09-18 Thread Toerless Eckert
Thanks, Pascal for the answer, inline: > Hello, > > Le 17/09/2019 à 15:40, Toerless Eckert a écrit : > > Notebook with one nvme with EFI: ESP and vendor OS. Would like to add > > linux to a separate disk, but only option is mmcblk0 and PC bios can not > > boot fr

Install grub2 to ESP to boot to mmcblk0

2019-09-17 Thread Toerless Eckert
Notebook with one nvme with EFI: ESP and vendor OS. Would like to add linux to a separate disk, but only option is mmcblk0 and PC bios can not boot from mmcblk0. Trying to add grub2 to ESP and make it boot to linux on mmcblk0, but could not find enough documentation how to make it work. What i