Re: Grub-devel Digest, Vol 140, Issue 25

2015-10-20 Thread Lennart Sorensen
On Tue, Oct 20, 2015 at 06:42:07AM +0300, Andrei Borzenkov wrote: > Legacy BIOS is expected to do it as well. It provides the device number it booted from? Hmm, yeah I see it is stored in the DL register. > "BIOS" is often colloquially used for "firmware of my system". True, but it isn't, and

RE: Grub-devel Digest, Vol 140, Issue 25

2015-10-19 Thread Stuart Weaver
Hi Manoel, Many thanks for your detailed answer and quick response! I've looked into using this but I don't think it will stop the root problem of GRUB loading the wrong grub.cfg file. Is there a way of using the 'search' command before GRUB has loaded a grub.cfg and therefore use the same

Re: Grub-devel Digest, Vol 140, Issue 25

2015-10-19 Thread Lennart Sorensen
On Mon, Oct 19, 2015 at 07:55:23PM +0300, Andrei Borzenkov wrote: > GRUB reads grub.cfg either from the device BIOS had booted from (sans > serious BIOS bugs) or from device where UUID of /boot/grub is found. At > least if this GRUB was installed by grub-install. So order of devices in > BIOS is

Re: Grub-devel Digest, Vol 140, Issue 25

2015-10-19 Thread Andrei Borzenkov
19.10.2015 22:10, Lennart Sorensen пишет: On Mon, Oct 19, 2015 at 07:55:23PM +0300, Andrei Borzenkov wrote: GRUB reads grub.cfg either from the device BIOS had booted from (sans serious BIOS bugs) or from device where UUID of /boot/grub is found. At least if this GRUB was installed by

Re: Grub-devel Digest, Vol 140, Issue 25

2015-10-19 Thread Lennart Sorensen
On Mon, Oct 19, 2015 at 09:05:47AM +, Stuart Weaver wrote: > Hi Manoel, > > Many thanks for your detailed answer and quick response! I've looked into > using this but I don't think it will stop the root problem of GRUB loading > the wrong grub.cfg file. Is there a way of using the 'search'

Re: Grub-devel Digest, Vol 140, Issue 25

2015-10-19 Thread Andrei Borzenkov
19.10.2015 19:39, Lennart Sorensen пишет: On Mon, Oct 19, 2015 at 09:05:47AM +, Stuart Weaver wrote: Hi Manoel, Many thanks for your detailed answer and quick response! I've looked into using this but I don't think it will stop the root problem of GRUB loading the wrong grub.cfg file. Is