On Tue, 31 Mar 2020 18:53:17 +0400, Серега Филатов wrote:

> I use dual boot windows/gentoo configuration on a UEFI laptop. I don't
> usually turn off laptop and just close the lid, leaving it in suspended
> state, which is actually hybrid on both systems - it goes to
> hibernation after a while.
> 
> When it goes to hibernation, I'm able to select OS to boot through
> GRUB2. This is not good, because I have permanently mounted shared NTFS
> partition on both systems. If one of both OS is hibernated and NTFS
> data changed during that period - this leads to data corruption if the
> hibernated OS resumed.
> 
> What I want to achieve is: when I start my laptop - it boots straight
> to the last operating system I used. This will enforce me to reboot and
> during the reboot OS unmounts filesystem correctly. And ONLY on reboot
> the GRUB OS selection pops up.
> 
> Is there a configuration for that? I know that Windows BCD or ntldr
> doesn't allow to boot other Windows systems if one of them is
> hibernated.

What about having each menu entry set the default for the next boot to
that entry. It's not quite what you want but it means any unattended
reboot will always go back to the same OS.


-- 
Neil Bothwick

C&W music backward: get yer dog, wife, job, truck, kids, and sobriety
back.

Attachment: pgp9PMQUMrCDj.pgp
Description: OpenPGP digital signature

Reply via email to