Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #61579

Re: Warning to Manjaro users that dual boot Win 10

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups alt.os.linux
Subject Re: Warning to Manjaro users that dual boot Win 10
Date 2019-12-17 14:30 +0100
Message-ID <bs1ncg-5d5.ln1@Telcontar.valinor> (permalink)
References <c8dJF.6312$O9t.1313@fx36.am4> <qt9bri$6t0$1@dont-email.me>

Show all headers | View raw


On 17/12/2019 02.43, Paul wrote:
> Melzzzzz wrote:
>> I have in VM dual boot Manjaro and Win 10.
>> Latest Windows update overwrote grub boot file
>> with something else so that grub entered rescue
>> mode.
>> https://forum.manjaro.org/t/help-fixing-grub-unknown-filesystem/99429/7
>> I used different gpt number, but solution worked.
>> Who gives right to M$ to overwite files in EFI partitition?
>> What fuckers.
>>
> 
> It turns out there are more issues than meet
> the eye in this matter. Manjaro seems to have a
> fair amount of trouble when it comes to GRUB installing.
> 
>    VirtualBox 6.0.14
>       Windows 10 17763 (so it can be updated later as a test case)
>       Latest Manjaro
> 
> So I tried to install Manjaro.
> 
> Using the LiveDVD, the install finished... and the virtual machine
> booted to Windows. I took a look, and there was *no sign* that
> a GRUB install had been attempted. And I don't remember a tick
> box in there, saying "don't install GRUB".
> 
> I tried to use Architect from the LiveDVD, to install grub.
> This failed. A google reveals that it might work if
> Architect is used from its own 700MB ISO. OK, so I download
> that. It has a separate menu item where the sundry items
> are mounted (sda6 is my /, sda2 is my ESP with EFI stuff in it,
> sda5 was my swap, the others were windows items).
> 
> I finally get a structure that looks reasonable in the ESP.
> 
> https://i.postimg.cc/ry0BDD2q/manjaro-ESP-files.gif
> 
> Now the fun starts.
> 
> I boot the Windows 10 side of my dual-boot VM. I use
> VirtualBox Additions to install a video driver. This
> requires a reboot of Windows 10.
> 
> Well, guess what happens. The VM avoids the Manjaro
> GRUB menu and boots directly into Windows! And it's just
> a driver update.

It is possibly a warm boot, that avoids reading the disk boot structure,
starting on the EFI partition. Well, I'd say this is a nice feature on
double boot: When I'm updating the windows side and it reboots, I wants
windows again, not Linux, so that it ends the second update stage that
happens during windows boot.

> 
> If you shut down the VM, then open it again, Manjaro
> and GRUB take over again. The "feature" seems to be
> done without changing GRUB materials. It relies on you
> doing a "warm reboot" without closing the VirtualBox
> window for the dual-boot VM.
> 
> Now, the next surprise, is I decide to "dd" the MBR for
> a look. And the "file" command tells me it is a
> Windows 7 MBR (has three error messages that exist
> in Windows-flavored MBRs).
> 
> So how does that work ? I'm getting to the Manjaro GRUB menu
> 
> https://i.postimg.cc/0ynkVzNL/manjaro-grub-menu.gif
> 
> but the MBR contains a Windows boot stage ???
> 
> And I *could not* convince Manjaro to overwrite the
> MBR boot materials either. Windows 10 must have put
> that MBR there, but Manjaro won't touch it. Even with
> the usage of install-grub.

No, my guess is that it was written by Architect when repairing the
grub, or earlier by manjaro install.

> 
> The Windows 10 BCD file (dumped using bcdedit /enum)
> shows no trace that Windows knows it is messing with
> GRUB. It's not keeping records of anything, and
> looking at the contents of the BCD, for all the
> world, the Windows OS thinks it is alone. That's why
> I can only guess that somehow the NVRAM paths play
> a part in this somehow.
> 
> And Boot-Repair reporter, I don't think it noticed
> the Windows MBR.
> 
> So if you think Windows has "taken over", close the window,
> open the window again, and see if your Manjaro menu comes back.
> 
> The state mine is in right now, doesn't seem correct
> to me, but I don't know how to make install-grub
> do what it is supposed to do. This assumes the MBR is still
> the first stage of booting - maybe it isn't ???


There are two main ways to make grub work.

In an MBR based boot scheme, grub initial stage is written to the MBR,
and then it loads the other stages from "other" places.

OR, the MBR is a generic MBR, or the Windows MBR, which boots whatever
partition is marked bootable, and this partition has Grub in its boot
sector.

OR, its is a GPT disk with an EFI partition, and it is the EFI code
which then decides to boot whatever partition is selected to boot. There
is a little menu to decide that should show before grub menu. If not,
there are programs to change the boot order.

To analyze the boot sequence from Linux, I recommend this script:

<https://github.com/arvidjaar/bootinfoscript/raw/master/bootinfoscript>

Download and install to /root/bin/, for example. Run and upload
resulting file on some paste site somewhere. Posting here would probably
wrap lines, but you can do that, with a client that doesn't wrap long lines.

-- 
Cheers, Carlos.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Warning to Manjaro users that dual boot Win 10 Melzzzzz <Melzzzzz@zzzzz.com> - 2019-12-14 22:13 +0000
  Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-15 00:23 +0100
    Re: Warning to Manjaro users that dual boot Win 10 Melzzzzz <Melzzzzz@zzzzz.com> - 2019-12-15 10:34 +0000
      Re: Warning to Manjaro users that dual boot Win 10 Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-15 12:33 +0100
        Re: Warning to Manjaro users that dual boot Win 10 Melzzzzz <Melzzzzz@zzzzz.com> - 2019-12-15 13:28 +0000
          Re: Warning to Manjaro users that dual boot Win 10 gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-15 13:58 +0000
            Re: Warning to Manjaro users that dual boot Win 10 Melzzzzz <Melzzzzz@zzzzz.com> - 2019-12-15 15:43 +0000
              Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 11:20 -0600
            Re: Warning to Manjaro users that dual boot Win 10 Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-15 18:52 +0100
          Re: Warning to Manjaro users that dual boot Win 10 Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-15 18:49 +0100
        Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-21 12:03 -0800
      Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 05:39 -0600
        Re: Warning to Manjaro users that dual boot Win 10 Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-15 12:55 +0100
          Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 06:12 -0600
            Re: Warning to Manjaro users that dual boot Win 10 Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-15 14:04 +0100
          Re: Warning to Manjaro users that dual boot Win 10 "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-15 09:50 -0500
            Re: Warning to Manjaro users that dual boot Win 10 Aragorn <thorongil@telenet.be> - 2019-12-15 16:53 +0100
              Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 11:30 -0600
                Re: Warning to Manjaro users that dual boot Win 10 Aragorn <thorongil@telenet.be> - 2019-12-15 18:47 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 12:33 -0600
                Re: Warning to Manjaro users that dual boot Win 10 John Hasler <jhasler@newsguy.com> - 2019-12-15 15:16 -0600
                Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 16:25 -0600
                Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-16 01:10 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 19:14 -0600
                Re: Warning to Manjaro users that dual boot Win 10 John Hasler <jhasler@newsguy.com> - 2019-12-15 18:17 -0600
                Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 20:03 -0600
                Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-15 21:14 -0500
                Re: Warning to Manjaro users that dual boot Win 10 - IME "Carlos E.R." <robin_listas@es.invalid> - 2019-12-16 14:29 +0100
                Re: Warning to Manjaro users that dual boot Win 10 - IME Paul <nospam@needed.invalid> - 2019-12-16 14:05 -0500
                Re: Warning to Manjaro users that dual boot Win 10 - IME "Carlos E.R." <robin_listas@es.invalid> - 2019-12-16 20:34 +0100
                Re: Warning to Manjaro users that dual boot Win 10 - IME Aragorn <thorongil@telenet.be> - 2019-12-16 21:21 +0100
                Re: Warning to Manjaro users that dual boot Win 10 - IME "Carlos E.R." <robin_listas@es.invalid> - 2019-12-16 23:08 +0100
                Re: Warning to Manjaro users that dual boot Win 10 - IME Jasen Betts <jasen@xnet.co.nz> - 2019-12-20 23:45 +0000
            Re: Warning to Manjaro users that dual boot Win 10 Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-15 18:54 +0100
        Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-15 16:17 +0100
          Re: Warning to Manjaro users that dual boot Win 10 Ned Latham <nedlatham@woden.valhalla.oz> - 2019-12-15 09:37 -0600
            Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-15 17:09 +0100
            Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-15 13:02 -0500
              Re: Warning to Manjaro users that dual boot Win 10 Jasen Betts <jasen@xnet.co.nz> - 2019-12-21 05:43 +0000
                Re: Warning to Manjaro users that dual boot Win 10 Java Jive <java@evij.com.invalid> - 2019-12-21 12:37 +0000
        Re: Warning to Manjaro users that dual boot Win 10 William Poaster <wp@dev.null> - 2019-12-15 22:18 +0000
      Re: Warning to Manjaro users that dual boot Win 10 gazelle@shell.xmission.com (Kenny McCormack) - 2019-12-15 13:55 +0000
      Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 11:02 +0100
        Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 03:19 -0800
  Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-16 20:43 -0500
    Re: Warning to Manjaro users that dual boot Win 10 "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-16 23:40 -0500
    Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-17 14:30 +0100
      Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-19 03:26 -0500
        Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-19 20:43 +0100
        Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-20 21:32 -0500
          Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-21 14:17 +0100
            Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-21 11:22 -0500
              Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-21 20:46 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-21 17:20 -0500
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-21 14:35 -0800
                Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-22 14:27 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 05:52 -0800
        Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 10:59 +0100
          Re: Warning to Manjaro users that dual boot Win 10 Paul <nospam@needed.invalid> - 2019-12-22 05:16 -0500
            Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 02:48 -0800
            Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 13:53 +0100
            Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-22 14:59 +0100
          Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-22 14:48 +0100
            Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 15:33 +0100
              Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-22 18:50 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 09:59 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 22:38 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 14:35 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 16:52 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 06:12 -0800
      Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 10:36 +0100
        Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-22 15:03 +0100
          Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 06:39 -0800
            Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 07:56 -0800
              Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 08:57 -0800
          Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 15:39 +0100
            Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 07:09 -0800
              Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-22 09:12 -0800
            Re: Warning to Manjaro users that dual boot Win 10 "Carlos E.R." <robin_listas@es.invalid> - 2019-12-22 19:04 +0100
              Re: Warning to Manjaro users that dual boot Win 10 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-12-22 23:02 +0100
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 00:31 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 04:56 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 11:18 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 13:52 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 17:57 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 19:45 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 22:50 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 18:59 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 07:59 -0800
                Re: Warning to Manjaro users that dual boot Win 10 Steve Carroll <frelwizzen@gmail.com> - 2019-12-23 11:03 -0800

csiph-web