Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #61502 > unrolled thread
| Started by | Melzzzzz <Melzzzzz@zzzzz.com> |
|---|---|
| First post | 2019-12-14 22:13 +0000 |
| Last post | 2019-12-23 11:03 -0800 |
| Articles | 20 on this page of 90 — 14 participants |
Back to article view | Back to alt.os.linux
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
Page 3 of 5 — ← Prev page 1 2 [3] 4 5 Next page →
| From | William Poaster <wp@dev.null> |
|---|---|
| Date | 2019-12-15 22:18 +0000 |
| Message-ID | <pan.2019.12.15.22.18.24.582166@dev.null> |
| In reply to | #61511 |
On Sun, 15 Dec 2019 05:39:58 -0600, Ned Latham wrote: > Melzzzzz wrote: >> Pascal Hambourg wrote: >> > Melzzzzz a écrit: >> > > >> > > 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? >> > >> > 1) /boot/efi/EFI/boot/bootx64.efi is not a GRUB boot file. It is the >> > fallback EFI boot loader, and any OS using the same EFI partition may >> > overwrite it with its own boot loader anytime. A bit like the MBR for >> > BIOS boot. You should not rely on it being unchanged when sharing the >> > EFI partition with other OSes. >> > >> > 2) This cannot cause GRUB entering rescue mode. Partition renumbering >> > or booting the wrong GRUB core image may. >> > >> > By the way, there is nothing specific to Manjaro. >> >> Look, system was unbootable after Windows upgrade. I don't have a >> problem overwiting boot file, rather that. Unbootable... > > It's not a Manjaro problem, or even a linux problem. Windows is the > problem: every version of it does that to every system but another > Windows, in both UEFI and BIOS boots. > > There's a simple fix: > > 1. Install Windows before anything else. 2. Then make your system usable > and powerful by installing a real OS. > > 3. Sadly, you will sooner or later have to reinstall Windows: > a. boot from your real OS's install disc; b. mount the system drive and > cd to its etc directory c. execute your boot loader, giving it the > mount address > of its configuration file. An even simpler fix: DON'T install Win 10. Or if you *have* to install that abomination, install it in a VM.
[toc] | [prev] | [next] | [standalone]
| From | gazelle@shell.xmission.com (Kenny McCormack) |
|---|---|
| Date | 2019-12-15 13:55 +0000 |
| Message-ID | <qt5e0k$5nu$2@news.xmission.com> |
| In reply to | #61509 |
In article <F_nJF.248$Wm7.40@fx14.am4>, Melzzzzz <Melzzzzz@zzzzz.com> wrote: >On 2019-12-14, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote: >> Le 14/12/2019 à 23:13, Melzzzzz a écrit : >>> 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? >> >> 1) /boot/efi/EFI/boot/bootx64.efi is not a GRUB boot file. It is the >> fallback EFI boot loader, and any OS using the same EFI partition may >> overwrite it with its own boot loader anytime. A bit like the MBR for >> BIOS boot. You should not rely on it being unchanged when sharing the >> EFI partition with other OSes. >> >> 2) This cannot cause GRUB entering rescue mode. Partition renumbering or >> booting the wrong GRUB core image may. >> >> By the way, there is nothing specific to Manjaro. > >Look, system was unbootable after Windows upgrade. I don't have a >problem overwiting boot file, rather that. Unbootable... I think if you install "Windows 10", you deserve what you get. And get what you deserve. -- There are two kinds of Republicans: Billionaires and suckers. Republicans: Please check your bank account and decide which one is you.
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2019-12-22 11:02 +0100 |
| Message-ID | <5dff3f3e$0$9927$426a74cc@news.free.fr> |
| In reply to | #61509 |
Le 15/12/2019 à 11:34, Melzzzzz a écrit : > On 2019-12-14, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote: >> Le 14/12/2019 à 23:13, Melzzzzz a écrit : >>> 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? >> >> 1) /boot/efi/EFI/boot/bootx64.efi is not a GRUB boot file. It is the >> fallback EFI boot loader, and any OS using the same EFI partition may >> overwrite it with its own boot loader anytime. A bit like the MBR for >> BIOS boot. You should not rely on it being unchanged when sharing the >> EFI partition with other OSes. >> >> 2) This cannot cause GRUB entering rescue mode. Partition renumbering or >> booting the wrong GRUB core image may. >> >> By the way, there is nothing specific to Manjaro. > > Look, system was unbootable after Windows upgrade. I don't have a > problem overwiting boot file, rather that. Unbootable... "Paul" confirmed experimentally that Windows upgrade could renumber partitions in his post dated Thu, 19 Dec 2019 03:26:10 -0500.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2019-12-22 03:19 -0800 |
| Message-ID | <ae9507cb-f185-4bd3-85ab-fa40c243c201@googlegroups.com> |
| In reply to | #61731 |
On Sunday, December 22, 2019 at 3:02:40 AM UTC-7, Pascal Hambourg wrote: > Le 15/12/2019 à 11:34, Melzzzzz a écrit : > > On 2019-12-14, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote: > >> Le 14/12/2019 à 23:13, Melzzzzz a écrit : > >>> 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? > >> > >> 1) /boot/efi/EFI/boot/bootx64.efi is not a GRUB boot file. It is the > >> fallback EFI boot loader, and any OS using the same EFI partition may > >> overwrite it with its own boot loader anytime. A bit like the MBR for > >> BIOS boot. You should not rely on it being unchanged when sharing the > >> EFI partition with other OSes. > >> > >> 2) This cannot cause GRUB entering rescue mode. Partition renumbering or > >> booting the wrong GRUB core image may. > >> > >> By the way, there is nothing specific to Manjaro. > > > > Look, system was unbootable after Windows upgrade. I don't have a > > problem overwiting boot file, rather that. Unbootable... > > "Paul" confirmed experimentally that Windows upgrade could renumber > partitions in his post dated Thu, 19 Dec 2019 03:26:10 -0500. I am a complete devotee of Cooledit, because that's where all the stimulating ingenuity is happening. No-one gets it, I ain't done gone got it. Joel's posts are nothing but a meaningless word salad. Now let us see knows PHP, is an IT "master", has stolen Marek Novotny's account, has motive and is a huge tantrum throwing man-child who, when he gets a bad case of narcissistic rage/injury going, posts endless nonsense even when he's *not* flooding... AND... who endeavors to attributes everything HE is doing on "advocates" and has for his whole life? I mostly go argument by argument unless someone has a habit of really extreme flooding. With Joel, I already realize what his approach is, all he dreams of is to 'win' and, sadly, he will do ANYTHING to get it. His never ending routine is to play 'martyr' but reality shows it's all of his targets who are his targets. You haven't been around to understand the depths of the guy's lechery. It's a decades long conflict, and Joel is simultaneously a master at off-the-cuff trolling remarks, while posting with forgeries of Marek Novotny. -- "You'll notice how quickly he loses interest when everything is about him. He clearly wants the attention" Steve Carroll, making the dumbest comment ever uttered.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-12-16 20:43 -0500 |
| Message-ID | <qt9bri$6t0$1@dont-email.me> |
| In reply to | #61502 |
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.
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.
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 ???
Paul
[toc] | [prev] | [next] | [standalone]
| From | "David W. Hodgins" <dwhodgins@nomail.afraid.org> |
|---|---|
| Date | 2019-12-16 23:40 -0500 |
| Message-ID | <op.0cxdxccia3w0dxdave@hodgins.homeip.net> |
| In reply to | #61574 |
On Mon, 16 Dec 2019 20:43:18 -0500, Paul <nospam@needed.invalid> wrote: > 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". See https://wiki.mageia.org/en/Mageia_in_dual_boot_with_Windows8_and_over#Troubleshooting though you will have to adapt it for Mangaro instead. Regards, Dave Hodgins -- Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for email replies.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-17 14:30 +0100 |
| Message-ID | <bs1ncg-5d5.ln1@Telcontar.valinor> |
| In reply to | #61574 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-12-19 03:26 -0500 |
| Message-ID | <qtfc71$fob$1@dont-email.me> |
| In reply to | #61579 |
Carlos E.R. wrote:
> 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.
I think there are signs the OSes are using efibootmgr
to modify the NVRAM and change what is presented at least,
on the popup boot screen.
For example, I installed some OSes as a test case, and the
Mint partition got listed identically twice in the popup boot
menu as a UEFI option. This is naughty, and some logic
somewhere is screwing up. This never used to happen (before
Manjaro was shown to the computer).
>
>> 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.
Actually, my testing has revealed that for UEFI boot materials,
there is hardly any interest in writing the 440 byte section
of the MBR. Windows will do it, if Windows UEFI is the first
OS to touch the disk. Once the AA55 flag is in the MBR, Windows
stops caring about the 440 byte section. Neither Ubuntu nor Manjaro
is interested in loading up the 440 byte section of the MBR either.
When Windows is the first OS on the disk, all that writing that
boot loader does, is installs the first boot phase of legacy
boot. I never saw any signs this was making a difference.
>
>> 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.
>
The bootinfoscript did help. I couldn't see a way to do it from
Manjaro (a pacman search didn't list it), so I did it from Linux Mint
on the same hard drive.
My test case for today, was to do the multiboot test on a physical
disk, instead of VirtualBox, and I got slightly different results.
1) Installed Linux Mint in UEFI mode.
2) Installed Windows 10 in UEFI mode.
This was to check whether Windows would write the MBR,
and it does not. It enters stuff in the Microsoft folder
of the ESP. I fully expected Windows to take over at this point,
but I didn't care to test Linux Mint or recover grub. I don't
think Clean Installs like this, will have a happy ending in
any case.
3) Installed Manjaro.
Made /dev/sda2 (ESP) equal /boot/efi.
Manjaro adds its folder to what it thinks is /boot/efi/EFI/Manjaro,
but this is part of the Linux need to arrange /, /boot, /boot/grub
in an orderly way.
4) Let Windows 10 update itself from 17063 to 18363.
Aha! Broke the boot. Manjaro tried to boot. And the error was...
error: unknown filesystem. grub
and the temporary fix is like this.
set root=(hd0,7)
set prefix=(hd0,7)/boot/grub
insmod normal
normal
Mop up by running bootinfoscript and getting a recording
of the failed conditions.
5) To "fix it", it's the usual thing.
Enter Manjaro again using the temp fix.
set root=(hd0,7)
set prefix=(hd0,7)/boot/grub
insmod normal
normal
sudo grub-install /dev/sda
sudo update-grub
reboot
success.
Mop up by running bootinfoscript and getting a recording
of the successful conditions.
6) do a diff on the two bootinfoscript outputs.
456c456
< set root='hd0,gpt6'
---
> set root='hd0,gpt7'
A partition number has changed, between the two runs.
So the grub info being used, points at the wrong partition
as some sort of hint.
Now, review the partition layout. Without going into
unnecessary detail, my install looks like this.
MBR Linux Mint Windows 10 Manjaro
The thing is, when Windows 10 does Upgrade Installs, it has
a bad habit of resizing C: about 500MB smaller, and creating
a small partition to the right of C: . This causes the
partition numbering to change. This is a disaster in the
making, for the Linux OS *to the right* of Windows 10.
So it's not actually writing /boot/efi/EFI/name_of_OS
with new EFI files.
Instead, it trashes the setup by messing around with
partitions, and the other OSes on the disk (any OSes
*to the right* of C: ) will be affected. Their partition
number changes, and something about the GRUB setup
is still using partition numbers. Even though the
FSTAB is defensively designed with UUID or BLKID or
whatever.
So how can you keep Manjaro happy on Windows 10 ?
Put it to the left of Windows 10 like this.
MBR Manjaro Windows 10
And you have to install it that way, as attempting
to push partitions around with GPARTED is bound to
end in hair loss.
Once you do that, you *should* find that it behaves
mostly without permanent damage. If it uses Fast Boot,
well, turn Fast Boot off. If it warm boots right back
into Windows 10, it's doing that because it's finishing
updates. Shutting down the VM should allow it to come
back up in Manjaro mode. On a physical disk, you should
see a similar behavior (a shutdown leads to an orderly
startup managed by GRUB again).
If Windows 10 does the 20H1 Upgrade Install next year,
as long as Windows 10 is to the right of your Linux
OSes, maybe there won't be a disaster. At least,
for the boot failure I got on my test setup.
Paul
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-19 20:43 +0100 |
| Message-ID | <mg0tcg-10i.ln1@Telcontar.valinor> |
| In reply to | #61628 |
On 19/12/2019 09.26, Paul wrote: > Carlos E.R. wrote: >> 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. > > I think there are signs the OSes are using efibootmgr > to modify the NVRAM and change what is presented at least, > on the popup boot screen. > > For example, I installed some OSes as a test case, and the > Mint partition got listed identically twice in the popup boot > menu as a UEFI option. This is naughty, and some logic > somewhere is screwing up. This never used to happen (before > Manjaro was shown to the computer). Not that rare. Three openSUSE entries: Isengard:~ # efibootmgr BootCurrent: 0005 Timeout: 6 seconds BootOrder: 0005,0001,0004,0002,0003,0000,0006,0007,0008 Boot0000 Windows Boot Manager Boot0001* opensuse Boot0002* UEFI: IP4 Realtek PCIe GBE Family Controller Boot0003* UEFI: IP6 Realtek PCIe GBE Family Controller Boot0004* opensuse-secureboot Boot0005* opensuse Boot0006* UEFI:CD/DVD Drive Boot0007* UEFI:Removable Device Boot0008* UEFI:Network Device Isengard:~ # Also see the Windows entry first of all. There's never being Windows in that machine. Nor a CD, it is a mini computer. > >> >>> 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. > > Actually, my testing has revealed that for UEFI boot materials, > there is hardly any interest in writing the 440 byte section > of the MBR. Windows will do it, if Windows UEFI is the first > OS to touch the disk. Once the AA55 flag is in the MBR, Windows > stops caring about the 440 byte section. Neither Ubuntu nor Manjaro > is interested in loading up the 440 byte section of the MBR either. > > When Windows is the first OS on the disk, all that writing that > boot loader does, is installs the first boot phase of legacy > boot. I never saw any signs this was making a difference. Yeah, in EFI mode the MBR code is irrelevant. ... >> 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. >> > > The bootinfoscript did help. I couldn't see a way to do it from > Manjaro (a pacman search didn't list it), so I did it from Linux Mint > on the same hard drive. You can simply download and copy it to /root/bin. It is just a single script, one file. > > My test case for today, was to do the multiboot test on a physical > disk, instead of VirtualBox, and I got slightly different results. > > 1) Installed Linux Mint in UEFI mode. > > 2) Installed Windows 10 in UEFI mode. > This was to check whether Windows would write the MBR, > and it does not. It enters stuff in the Microsoft folder > of the ESP. I fully expected Windows to take over at this point, > but I didn't care to test Linux Mint or recover grub. I don't > think Clean Installs like this, will have a happy ending in > any case. I did many tests installing Windows Server 2008, either after or before Linux, during a training. It fully respected what was already installed, if I paid attention to the configuration entries. I could install it on any partition. On an MBR machine. My guess is it is OEM install media which do things like claiming the disk or the boot. Not the original Windows media. If not that, then the Server install media is much different. > > 3) Installed Manjaro. > Made /dev/sda2 (ESP) equal /boot/efi. > Manjaro adds its folder to what it thinks is /boot/efi/EFI/Manjaro, > but this is part of the Linux need to arrange /, /boot, /boot/grub > in an orderly way. > > 4) Let Windows 10 update itself from 17063 to 18363. > Aha! Broke the boot. Manjaro tried to boot. And the error was... > > error: unknown filesystem. grub > > and the temporary fix is like this. > > set root=(hd0,7) > set prefix=(hd0,7)/boot/grub > insmod normal > normal > > Mop up by running bootinfoscript and getting a recording > of the failed conditions. > > 5) To "fix it", it's the usual thing. > > Enter Manjaro again using the temp fix. > > set root=(hd0,7) > set prefix=(hd0,7)/boot/grub > insmod normal > normal > > sudo grub-install /dev/sda > sudo update-grub > > reboot > > success. > > Mop up by running bootinfoscript and getting a recording > of the successful conditions. > > 6) do a diff on the two bootinfoscript outputs. > > 456c456 > < set root='hd0,gpt6' > --- > > set root='hd0,gpt7' > > A partition number has changed, between the two runs. > So the grub info being used, points at the wrong partition > as some sort of hint. Ah! Rather it may be manjaro fault for not using UUIDs in the grub config. The 'hd0,gpt6' should be a hint, not a definitive entry. Like this, in my /boot/grub2/grub.cfg ]> set root='hd0,gpt4' ]> if [ x$feature_platform_search_hint = xy ]; then ]> search --no-floppy --fs-uuid --set=root --hint-bios=hd4,gpt4 --hint-efi=hd4,gpt4 --hint-baremetal=ahci4,gpt4 --hint='hd0,gpt4' a977c5c3-.... ]> else ]> search --no-floppy --fs-uuid --set=root a977c5c3-....... ]> fi > > Now, review the partition layout. Without going into > unnecessary detail, my install looks like this. > > MBR Linux Mint Windows 10 Manjaro > > The thing is, when Windows 10 does Upgrade Installs, it has > a bad habit of resizing C: about 500MB smaller, and creating > a small partition to the right of C: . This causes the > partition numbering to change. This is a disaster in the > making, for the Linux OS *to the right* of Windows 10. To any OS there, yes. > > So it's not actually writing /boot/efi/EFI/name_of_OS > with new EFI files. Right. > > Instead, it trashes the setup by messing around with > partitions, and the other OSes on the disk (any OSes > *to the right* of C: ) will be affected. Their partition > number changes, and something about the GRUB setup > is still using partition numbers. Even though the > FSTAB is defensively designed with UUID or BLKID or > whatever. > > So how can you keep Manjaro happy on Windows 10 ? > Put it to the left of Windows 10 like this. > > MBR Manjaro Windows 10 > > And you have to install it that way, as attempting > to push partitions around with GPARTED is bound to > end in hair loss. > > Once you do that, you *should* find that it behaves > mostly without permanent damage. If it uses Fast Boot, > well, turn Fast Boot off. It has an habit of returning. > If it warm boots right back > into Windows 10, it's doing that because it's finishing > updates. Shutting down the VM should allow it to come > back up in Manjaro mode. On a physical disk, you should > see a similar behavior (a shutdown leads to an orderly > startup managed by GRUB again). > > If Windows 10 does the 20H1 Upgrade Install next year, > as long as Windows 10 is to the right of your Linux > OSes, maybe there won't be a disaster. At least, > for the boot failure I got on my test setup. > > Paul Right. If not, just be aware that it can happen. But I assume that extra partition is created just once. Both my laptops came with Windows installed and I left it there, just made the partition smaller. So Windows is "before" in the disk. This will be typical for many people. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-12-20 21:32 -0500 |
| Message-ID | <qtk08d$fe$1@dont-email.me> |
| In reply to | #61628 |
Paul wrote:
> Carlos E.R. wrote:
>> 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.
>
> I think there are signs the OSes are using efibootmgr
> to modify the NVRAM and change what is presented at least,
> on the popup boot screen.
>
> For example, I installed some OSes as a test case, and the
> Mint partition got listed identically twice in the popup boot
> menu as a UEFI option. This is naughty, and some logic
> somewhere is screwing up. This never used to happen (before
> Manjaro was shown to the computer).
>
>>
>>> 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.
>
> Actually, my testing has revealed that for UEFI boot materials,
> there is hardly any interest in writing the 440 byte section
> of the MBR. Windows will do it, if Windows UEFI is the first
> OS to touch the disk. Once the AA55 flag is in the MBR, Windows
> stops caring about the 440 byte section. Neither Ubuntu nor Manjaro
> is interested in loading up the 440 byte section of the MBR either.
>
> When Windows is the first OS on the disk, all that writing that
> boot loader does, is installs the first boot phase of legacy
> boot. I never saw any signs this was making a difference.
>
>>
>>> 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.
>>
>
> The bootinfoscript did help. I couldn't see a way to do it from
> Manjaro (a pacman search didn't list it), so I did it from Linux Mint
> on the same hard drive.
>
> My test case for today, was to do the multiboot test on a physical
> disk, instead of VirtualBox, and I got slightly different results.
>
> 1) Installed Linux Mint in UEFI mode.
>
> 2) Installed Windows 10 in UEFI mode.
> This was to check whether Windows would write the MBR,
> and it does not. It enters stuff in the Microsoft folder
> of the ESP. I fully expected Windows to take over at this point,
> but I didn't care to test Linux Mint or recover grub. I don't
> think Clean Installs like this, will have a happy ending in
> any case.
>
> 3) Installed Manjaro.
> Made /dev/sda2 (ESP) equal /boot/efi.
> Manjaro adds its folder to what it thinks is /boot/efi/EFI/Manjaro,
> but this is part of the Linux need to arrange /, /boot, /boot/grub
> in an orderly way.
>
> 4) Let Windows 10 update itself from 17063 to 18363.
> Aha! Broke the boot. Manjaro tried to boot. And the error was...
>
> error: unknown filesystem. grub
>
> and the temporary fix is like this.
>
> set root=(hd0,7)
> set prefix=(hd0,7)/boot/grub
> insmod normal
> normal
>
> Mop up by running bootinfoscript and getting a recording
> of the failed conditions.
>
> 5) To "fix it", it's the usual thing.
>
> Enter Manjaro again using the temp fix.
>
> set root=(hd0,7)
> set prefix=(hd0,7)/boot/grub
> insmod normal
> normal
>
> sudo grub-install /dev/sda
> sudo update-grub
>
> reboot
>
> success.
>
> Mop up by running bootinfoscript and getting a recording
> of the successful conditions.
>
> 6) do a diff on the two bootinfoscript outputs.
>
> 456c456
> < set root='hd0,gpt6'
> ---
> > set root='hd0,gpt7'
>
> A partition number has changed, between the two runs.
> So the grub info being used, points at the wrong partition
> as some sort of hint.
>
> Now, review the partition layout. Without going into
> unnecessary detail, my install looks like this.
>
> MBR Linux Mint Windows 10 Manjaro
>
> The thing is, when Windows 10 does Upgrade Installs, it has
> a bad habit of resizing C: about 500MB smaller, and creating
> a small partition to the right of C: . This causes the
> partition numbering to change. This is a disaster in the
> making, for the Linux OS *to the right* of Windows 10.
>
> So it's not actually writing /boot/efi/EFI/name_of_OS
> with new EFI files.
>
> Instead, it trashes the setup by messing around with
> partitions, and the other OSes on the disk (any OSes
> *to the right* of C: ) will be affected. Their partition
> number changes, and something about the GRUB setup
> is still using partition numbers. Even though the
> FSTAB is defensively designed with UUID or BLKID or
> whatever.
>
> So how can you keep Manjaro happy on Windows 10 ?
> Put it to the left of Windows 10 like this.
>
> MBR Manjaro Windows 10
>
> And you have to install it that way, as attempting
> to push partitions around with GPARTED is bound to
> end in hair loss.
>
> Once you do that, you *should* find that it behaves
> mostly without permanent damage. If it uses Fast Boot,
> well, turn Fast Boot off. If it warm boots right back
> into Windows 10, it's doing that because it's finishing
> updates. Shutting down the VM should allow it to come
> back up in Manjaro mode. On a physical disk, you should
> see a similar behavior (a shutdown leads to an orderly
> startup managed by GRUB again).
>
> If Windows 10 does the 20H1 Upgrade Install next year,
> as long as Windows 10 is to the right of your Linux
> OSes, maybe there won't be a disaster. At least,
> for the boot failure I got on my test setup.
>
> Paul
As a continuation of this physical install test
case, the disk was working fine the last time I used it.
I pulled the disk out of the machine and put
another entirely different multiboot disk
in the computer. Later, I removed this disk and
returned to the Manjaro multiboot.
This time, the F8 Popup Boot menu on my computer listed
Ubuntu (which is actually Linux Mint)
Windows Boot Manager
<and no Manjaro...>
The Manjaro boot item is missing. Manjaro
is no longer in control (is not detected as
being in charge, if the machine starts without
any keyboard input). Whereas everything was
fine before I unplugged the drive.
Using the config above, I select the Ubuntu
entry, and jam down the Shift key immediately
after the selection. The Ubuntu GRUB text menu
comes up, and it has Manjaro and Advanced Manjaro
options. I select the Initfs fallback, and Manjaro
comes up. After a little install-grub work, away
we go.
Now, Manjaro has a boot manager entry in the F8
Popup Boot again. Maybe it wrote this entry into
the NVRAM, instead of writing anything of note on
the hard drive ? The hard drive structure does look
correct.
Manjaro
Ubuntu
Windows Boot Manager
If I start from power-off, Manjaro boots (because
it is currently first in line).
But I know if I unplug the hard drive and plug
in some other hard drive, that boot menu is going
to return to
Ubuntu (which is actually Linux Mint)
Windows Boot Manager
<and no Manjaro...>
again.
So three cheers for UEFI and flaky pastry system
boot management. Maybe Marvel Comics will have a
comic book series about this some day.
Paul
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-21 14:17 +0100 |
| Message-ID | <4li1dg-jrb.ln1@Telcontar.valinor> |
| In reply to | #61664 |
On 21/12/2019 03.32, Paul wrote: > Paul wrote: >> Carlos E.R. wrote: >>> On 17/12/2019 02.43, Paul wrote: >>>> Melzzzzz wrote: ... > As a continuation of this physical install test > case, the disk was working fine the last time I used it. > > I pulled the disk out of the machine and put > another entirely different multiboot disk > in the computer. Later, I removed this disk and > returned to the Manjaro multiboot. > > This time, the F8 Popup Boot menu on my computer listed > > Ubuntu (which is actually Linux Mint) > Windows Boot Manager > <and no Manjaro...> > > The Manjaro boot item is missing. Manjaro > is no longer in control (is not detected as > being in charge, if the machine starts without > any keyboard input). Whereas everything was > fine before I unplugged the drive. Well, no big surprise, the list is stored on flash memory controlled by UEFI, not on disk. There should be an option in the UEFI setup to reread and recreate the menu. Perhaps even done automatically on disk change, so it might be a bug or missing feature of the UEFI. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-12-21 11:22 -0500 |
| Message-ID | <qtlgsc$qn7$1@dont-email.me> |
| In reply to | #61671 |
Carlos E.R. wrote:
> On 21/12/2019 03.32, Paul wrote:
>> Paul wrote:
>>> Carlos E.R. wrote:
>>>> On 17/12/2019 02.43, Paul wrote:
>>>>> Melzzzzz wrote:
>
> ...
>
>> As a continuation of this physical install test
>> case, the disk was working fine the last time I used it.
>>
>> I pulled the disk out of the machine and put
>> another entirely different multiboot disk
>> in the computer. Later, I removed this disk and
>> returned to the Manjaro multiboot.
>>
>> This time, the F8 Popup Boot menu on my computer listed
>>
>> Ubuntu (which is actually Linux Mint)
>> Windows Boot Manager
>> <and no Manjaro...>
>>
>> The Manjaro boot item is missing. Manjaro
>> is no longer in control (is not detected as
>> being in charge, if the machine starts without
>> any keyboard input). Whereas everything was
>> fine before I unplugged the drive.
>
> Well, no big surprise, the list is stored on flash memory controlled by
> UEFI, not on disk.
>
> There should be an option in the UEFI setup to reread and recreate the
> menu. Perhaps even done automatically on disk change, so it might be a
> bug or missing feature of the UEFI.
>
I don't see any setting like that in the BIOS.
My operative model is that the OS scans the disk
for OSes at insertion. In UEFI+CSM mode, it scans for
evidence of CSM bootability, and looks for a UEFI GPT ESP
with stuff in it.
What if you installed OSes on a separate computer
and moved it over to the UEFI machine ? It wouldn't
be acceptable for the UEFI machine to "ignore" the
disk due to a lack of automation of a recognition
process. A scanning process *has* to be there.
What little I can gather about NVRAM, is that it is
typically 4MB??? in size (like, half the BIOS flash
chip) and that it stores "paths". I've not heard
of any other kind of content stored in NVRAM, nor
have I seen a detailed enough description to have
a good idea what else it stored. If the NVRAM is
"overflowed", it can apparently prevent the
computer from working (functional brickage). And
that was a problem only with first-generation (badly
done) EFI BIOS. I no longer see reports like that
on later systems.
The legacy BIOS worked with 256 bytes of RAM storage
in the Southbridge RTC well. Of which, not all of that
was used, and the lower part of the map was a
"defacto standard". The upper 128 bytes were occasionally
used by custom hardwares, with the possibility of
usage collisions. Whereas the NVRAM concept, the Flash
memory in the BIOS chip is used to store information,
and the only information types I know of are "paths",
whatever that means.
Even the legacy BIOS used to write to its own flash
chip. There was a DMI segment it would update on
hardware changes, and an ESCD. And on Award BIOS, there
was a 2KB segment or so, used to "cache" the last-loaded
microcode segment. By manually loading that cache,
you could load microcode for processors not officially
supported in the main part of the Award BIOS. The BIOS
also contained a routine to support writing to its own
Flash. (If you wanted to write the whole chip, there's
supposed to be a "mirroring to RAM" capability before
you do it.)
Paul
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-21 20:46 +0100 |
| Message-ID | <id92dg-80s.ln1@Telcontar.valinor> |
| In reply to | #61674 |
On 21/12/2019 17.22, Paul wrote: > Carlos E.R. wrote: >> On 21/12/2019 03.32, Paul wrote: >>> Paul wrote: >>>> Carlos E.R. wrote: >>>>> On 17/12/2019 02.43, Paul wrote: >>>>>> Melzzzzz wrote: >> >> ... >> >>> As a continuation of this physical install test >>> case, the disk was working fine the last time I used it. >>> >>> I pulled the disk out of the machine and put >>> another entirely different multiboot disk >>> in the computer. Later, I removed this disk and >>> returned to the Manjaro multiboot. >>> >>> This time, the F8 Popup Boot menu on my computer listed >>> >>> Ubuntu (which is actually Linux Mint) >>> Windows Boot Manager >>> <and no Manjaro...> >>> >>> The Manjaro boot item is missing. Manjaro >>> is no longer in control (is not detected as >>> being in charge, if the machine starts without >>> any keyboard input). Whereas everything was >>> fine before I unplugged the drive. >> >> Well, no big surprise, the list is stored on flash memory controlled by >> UEFI, not on disk. >> >> There should be an option in the UEFI setup to reread and recreate the >> menu. Perhaps even done automatically on disk change, so it might be a >> bug or missing feature of the UEFI. >> > > I don't see any setting like that in the BIOS. > > My operative model is that the OS scans the disk > for OSes at insertion. In UEFI+CSM mode, it scans for > evidence of CSM bootability, and looks for a UEFI GPT ESP > with stuff in it. AFAIK, Linux does not automatically scan new disks for bootability; this is done manually. And the OS has to be running for this, so replacing the boot disk is not covered. There are commands to write/delete entries in the EFI table, but you have to call them from the running system. But if you stop the system, replace the hard disk with another, then boot, the OS knows nothing about the change. It is the UEFI who has that responsibility. > What if you installed OSes on a separate computer > and moved it over to the UEFI machine ? It wouldn't > be acceptable for the UEFI machine to "ignore" the > disk due to a lack of automation of a recognition > process. A scanning process *has* to be there. Yes, on the UEFI. So there is a bug on the machine you tested this. > What little I can gather about NVRAM, is that it is > typically 4MB??? in size (like, half the BIOS flash > chip) and that it stores "paths". I've not heard > of any other kind of content stored in NVRAM, nor > have I seen a detailed enough description to have > a good idea what else it stored. If the NVRAM is > "overflowed", it can apparently prevent the > computer from working (functional brickage). And > that was a problem only with first-generation (badly > done) EFI BIOS. I no longer see reports like that > on later systems. > > The legacy BIOS worked with 256 bytes of RAM storage > in the Southbridge RTC well. Of which, not all of that > was used, and the lower part of the map was a > "defacto standard". The upper 128 bytes were occasionally > used by custom hardwares, with the possibility of > usage collisions. Whereas the NVRAM concept, the Flash > memory in the BIOS chip is used to store information, > and the only information types I know of are "paths", > whatever that means. > > Even the legacy BIOS used to write to its own flash > chip. There was a DMI segment it would update on > hardware changes, and an ESCD. And on Award BIOS, there > was a 2KB segment or so, used to "cache" the last-loaded > microcode segment. By manually loading that cache, > you could load microcode for processors not officially > supported in the main part of the Award BIOS. The BIOS > also contained a routine to support writing to its own > Flash. (If you wanted to write the whole chip, there's > supposed to be a "mirroring to RAM" capability before > you do it.) > > Paul -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-12-21 17:20 -0500 |
| Message-ID | <qtm5r0$u88$1@dont-email.me> |
| In reply to | #61683 |
Carlos E.R. wrote:
> On 21/12/2019 17.22, Paul wrote:
>> Carlos E.R. wrote:
>>> On 21/12/2019 03.32, Paul wrote:
>>>> Paul wrote:
>>>>> Carlos E.R. wrote:
>>>>>> On 17/12/2019 02.43, Paul wrote:
>>>>>>> Melzzzzz wrote:
>>> ...
>>>
>>>> As a continuation of this physical install test
>>>> case, the disk was working fine the last time I used it.
>>>>
>>>> I pulled the disk out of the machine and put
>>>> another entirely different multiboot disk
>>>> in the computer. Later, I removed this disk and
>>>> returned to the Manjaro multiboot.
>>>>
>>>> This time, the F8 Popup Boot menu on my computer listed
>>>>
>>>> Ubuntu (which is actually Linux Mint)
>>>> Windows Boot Manager
>>>> <and no Manjaro...>
>>>>
>>>> The Manjaro boot item is missing. Manjaro
>>>> is no longer in control (is not detected as
>>>> being in charge, if the machine starts without
>>>> any keyboard input). Whereas everything was
>>>> fine before I unplugged the drive.
>>> Well, no big surprise, the list is stored on flash memory controlled by
>>> UEFI, not on disk.
>>>
>>> There should be an option in the UEFI setup to reread and recreate the
>>> menu. Perhaps even done automatically on disk change, so it might be a
>>> bug or missing feature of the UEFI.
>>>
>> I don't see any setting like that in the BIOS.
>>
>> My operative model is that the OS scans the disk
>> for OSes at insertion. In UEFI+CSM mode, it scans for
>> evidence of CSM bootability, and looks for a UEFI GPT ESP
>> with stuff in it.
>
> AFAIK, Linux does not automatically scan new disks for bootability; this
> is done manually. And the OS has to be running for this, so replacing
> the boot disk is not covered. There are commands to write/delete entries
> in the EFI table, but you have to call them from the running system.
>
> But if you stop the system, replace the hard disk with another, then
> boot, the OS knows nothing about the change. It is the UEFI who has that
> responsibility.
>
>
>> What if you installed OSes on a separate computer
>> and moved it over to the UEFI machine ? It wouldn't
>> be acceptable for the UEFI machine to "ignore" the
>> disk due to a lack of automation of a recognition
>> process. A scanning process *has* to be there.
>
> Yes, on the UEFI.
> So there is a bug on the machine you tested this.
To date, I've never had the surprises I'm getting
with Manjaro in the mix. The LinuxMint has been
working properly, and its boot entry in my BIOS
popup boot works properly.
Manjaro is the first "failure to work properly".
The BIOS scans the ESP partition, that's what scanning
I expect to happen. And that's how a disk freshly plugged
in, should have the boot manager items prepared and put
in the BIOS popup boot menu.
ESP
EFI/Ubuntu \__ folders have same timestamp, LinuxMint installed
Boot / first for this test case
Microsoft
manjaro
The BIOS F8 Popup boot shows
Ubuntu
P2 [sata port 2] <=== An attempt at CSM boot, fails to work
Windows Boot Manager
manjaro
If I don't use the F8 key, manjaro boot manager is selected.
If I unplug the drive, use another boot hard drive, plug the
manjaro multiboot back in, manjaro effectively becomes
invisible until repaired.
This implies something that is effectively volatile
is happening. That Manjaro visibility is only there,
as long as the PC hasn't used a different disk in a boot.
Paul
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2019-12-21 14:35 -0800 |
| Message-ID | <4434826e-0854-4471-beef-7f01e627f08d@googlegroups.com> |
| In reply to | #61692 |
On Saturday, December 21, 2019 at 3:20:18 PM UTC-7, Paul wrote: > Carlos E.R. wrote: > > On 21/12/2019 17.22, Paul wrote: > >> Carlos E.R. wrote: > >>> On 21/12/2019 03.32, Paul wrote: > >>>> Paul wrote: > >>>>> Carlos E.R. wrote: > >>>>>> On 17/12/2019 02.43, Paul wrote: > >>>>>>> Melzzzzz wrote: > >>> ... > >>> > >>>> As a continuation of this physical install test > >>>> case, the disk was working fine the last time I used it. > >>>> > >>>> I pulled the disk out of the machine and put > >>>> another entirely different multiboot disk > >>>> in the computer. Later, I removed this disk and > >>>> returned to the Manjaro multiboot. > >>>> > >>>> This time, the F8 Popup Boot menu on my computer listed > >>>> > >>>> Ubuntu (which is actually Linux Mint) > >>>> Windows Boot Manager > >>>> <and no Manjaro...> > >>>> > >>>> The Manjaro boot item is missing. Manjaro > >>>> is no longer in control (is not detected as > >>>> being in charge, if the machine starts without > >>>> any keyboard input). Whereas everything was > >>>> fine before I unplugged the drive. > >>> Well, no big surprise, the list is stored on flash memory controlled by > >>> UEFI, not on disk. > >>> > >>> There should be an option in the UEFI setup to reread and recreate the > >>> menu. Perhaps even done automatically on disk change, so it might be a > >>> bug or missing feature of the UEFI. > >>> > >> I don't see any setting like that in the BIOS. > >> > >> My operative model is that the OS scans the disk > >> for OSes at insertion. In UEFI+CSM mode, it scans for > >> evidence of CSM bootability, and looks for a UEFI GPT ESP > >> with stuff in it. > > > > AFAIK, Linux does not automatically scan new disks for bootability; this > > is done manually. And the OS has to be running for this, so replacing > > the boot disk is not covered. There are commands to write/delete entries > > in the EFI table, but you have to call them from the running system. > > > > But if you stop the system, replace the hard disk with another, then > > boot, the OS knows nothing about the change. It is the UEFI who has that > > responsibility. > > > > > >> What if you installed OSes on a separate computer > >> and moved it over to the UEFI machine ? It wouldn't > >> be acceptable for the UEFI machine to "ignore" the > >> disk due to a lack of automation of a recognition > >> process. A scanning process *has* to be there. > > > > Yes, on the UEFI. > > So there is a bug on the machine you tested this. > > To date, I've never had the surprises I'm getting > with Manjaro in the mix. The LinuxMint has been > working properly, and its boot entry in my BIOS > popup boot works properly. > > Manjaro is the first "failure to work properly". > > The BIOS scans the ESP partition, that's what scanning > I expect to happen. And that's how a disk freshly plugged > in, should have the boot manager items prepared and put > in the BIOS popup boot menu. > > ESP > > EFI/Ubuntu \__ folders have same timestamp, LinuxMint installed > Boot / first for this test case > Microsoft > manjaro > > The BIOS F8 Popup boot shows > > Ubuntu > P2 [sata port 2] <=== An attempt at CSM boot, fails to work > Windows Boot Manager > manjaro > > If I don't use the F8 key, manjaro boot manager is selected. > > If I unplug the drive, use another boot hard drive, plug the > manjaro multiboot back in, manjaro effectively becomes > invisible until repaired. > > This implies something that is effectively volatile > is happening. That Manjaro visibility is only there, > as long as the PC hasn't used a different disk in a boot. > > Paul How Slimer figures out when to use his annoying flood script for maximum impact http://usenet.sandman.net/misc/snit_flood. Bash shell is based on Linux. Someone's reverse compiled Bash shell with a takeoff of Pseudo-Context Free Grammar to regurgitate posts which are in the form of ones from Snit's. My view: Even if a person was simply stealing classes from colleges, the idea that earning knowledge as being one of having "not anything" to show for it doesn't fly because you'll have the proficiency to show for it and insight is something you can show off. -- Eight things to never feed your dog! https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=NEEDSINFO&bug_status=VERIFIED&bug_status=CLOSED&email1=gallopinginsanity&emailassigned_to1=1&emailcc1=1&emaillongdesc1=1&emailreporter1=1&emailtype1=substring&list_id=952132&query_format=advanced https://youtu.be/UkAyrfOZaXc Jonas Eklundh
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-12-22 14:27 +0100 |
| Message-ID | <6i74dg-l3g.ln1@Telcontar.valinor> |
| In reply to | #61692 |
On 21/12/2019 23.20, Paul wrote: > Carlos E.R. wrote: >> On 21/12/2019 17.22, Paul wrote: >>> Carlos E.R. wrote: >>>> On 21/12/2019 03.32, Paul wrote: >>>>> Paul wrote: >>>>>> Carlos E.R. wrote: >>>>>>> On 17/12/2019 02.43, Paul wrote: >>>>>>>> Melzzzzz wrote: >>>> ... >>>> >>>>> As a continuation of this physical install test >>>>> case, the disk was working fine the last time I used it. >>>>> >>>>> I pulled the disk out of the machine and put >>>>> another entirely different multiboot disk >>>>> in the computer. Later, I removed this disk and >>>>> returned to the Manjaro multiboot. >>>>> >>>>> This time, the F8 Popup Boot menu on my computer listed >>>>> >>>>> Ubuntu (which is actually Linux Mint) >>>>> Windows Boot Manager >>>>> <and no Manjaro...> >>>>> >>>>> The Manjaro boot item is missing. Manjaro >>>>> is no longer in control (is not detected as >>>>> being in charge, if the machine starts without >>>>> any keyboard input). Whereas everything was >>>>> fine before I unplugged the drive. >>>> Well, no big surprise, the list is stored on flash memory controlled by >>>> UEFI, not on disk. >>>> >>>> There should be an option in the UEFI setup to reread and recreate the >>>> menu. Perhaps even done automatically on disk change, so it might be a >>>> bug or missing feature of the UEFI. >>>> >>> I don't see any setting like that in the BIOS. >>> >>> My operative model is that the OS scans the disk >>> for OSes at insertion. In UEFI+CSM mode, it scans for >>> evidence of CSM bootability, and looks for a UEFI GPT ESP >>> with stuff in it. >> >> AFAIK, Linux does not automatically scan new disks for bootability; this >> is done manually. And the OS has to be running for this, so replacing >> the boot disk is not covered. There are commands to write/delete entries >> in the EFI table, but you have to call them from the running system. >> >> But if you stop the system, replace the hard disk with another, then >> boot, the OS knows nothing about the change. It is the UEFI who has that >> responsibility. >> >> >>> What if you installed OSes on a separate computer >>> and moved it over to the UEFI machine ? It wouldn't >>> be acceptable for the UEFI machine to "ignore" the >>> disk due to a lack of automation of a recognition >>> process. A scanning process *has* to be there. >> >> Yes, on the UEFI. >> So there is a bug on the machine you tested this. > > To date, I've never had the surprises I'm getting > with Manjaro in the mix. The LinuxMint has been > working properly, and its boot entry in my BIOS > popup boot works properly. > > Manjaro is the first "failure to work properly". > > The BIOS scans the ESP partition, that's what scanning > I expect to happen. And that's how a disk freshly plugged > in, should have the boot manager items prepared and put > in the BIOS popup boot menu. > > ESP > > EFI/Ubuntu \__ folders have same timestamp, LinuxMint installed > Boot / first for this test case > Microsoft > manjaro > > The BIOS F8 Popup boot shows > > Ubuntu > P2 [sata port 2] <=== An attempt at CSM boot, fails to work > Windows Boot Manager > manjaro > > If I don't use the F8 key, manjaro boot manager is selected. > > If I unplug the drive, use another boot hard drive, plug the > manjaro multiboot back in, manjaro effectively becomes > invisible until repaired. > > This implies something that is effectively volatile > is happening. That Manjaro visibility is only there, > as long as the PC hasn't used a different disk in a boot. Well, maybe manjaro makes something in the EFI partition that confuses your UEFI (aka BIOS). Some missing file or with "wrong" content. I don't have the setup for trying to replicate and try find out. Nor do I use manjaro. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2019-12-22 05:52 -0800 |
| Message-ID | <1451be93-b704-431e-a3db-66fccd6f6241@googlegroups.com> |
| In reply to | #61740 |
On Sunday, December 22, 2019 at 6:28:06 AM UTC-7, Carlos E.R. wrote: > On 21/12/2019 23.20, Paul wrote: > > Carlos E.R. wrote: > >> On 21/12/2019 17.22, Paul wrote: > >>> Carlos E.R. wrote: > >>>> On 21/12/2019 03.32, Paul wrote: > >>>>> Paul wrote: > >>>>>> Carlos E.R. wrote: > >>>>>>> On 17/12/2019 02.43, Paul wrote: > >>>>>>>> Melzzzzz wrote: > >>>> ... > >>>> > >>>>> As a continuation of this physical install test > >>>>> case, the disk was working fine the last time I used it. > >>>>> > >>>>> I pulled the disk out of the machine and put > >>>>> another entirely different multiboot disk > >>>>> in the computer. Later, I removed this disk and > >>>>> returned to the Manjaro multiboot. > >>>>> > >>>>> This time, the F8 Popup Boot menu on my computer listed > >>>>> > >>>>> Ubuntu (which is actually Linux Mint) > >>>>> Windows Boot Manager > >>>>> <and no Manjaro...> > >>>>> > >>>>> The Manjaro boot item is missing. Manjaro > >>>>> is no longer in control (is not detected as > >>>>> being in charge, if the machine starts without > >>>>> any keyboard input). Whereas everything was > >>>>> fine before I unplugged the drive. > >>>> Well, no big surprise, the list is stored on flash memory controlled by > >>>> UEFI, not on disk. > >>>> > >>>> There should be an option in the UEFI setup to reread and recreate the > >>>> menu. Perhaps even done automatically on disk change, so it might be a > >>>> bug or missing feature of the UEFI. > >>>> > >>> I don't see any setting like that in the BIOS. > >>> > >>> My operative model is that the OS scans the disk > >>> for OSes at insertion. In UEFI+CSM mode, it scans for > >>> evidence of CSM bootability, and looks for a UEFI GPT ESP > >>> with stuff in it. > >> > >> AFAIK, Linux does not automatically scan new disks for bootability; this > >> is done manually. And the OS has to be running for this, so replacing > >> the boot disk is not covered. There are commands to write/delete entries > >> in the EFI table, but you have to call them from the running system. > >> > >> But if you stop the system, replace the hard disk with another, then > >> boot, the OS knows nothing about the change. It is the UEFI who has that > >> responsibility. > >> > >> > >>> What if you installed OSes on a separate computer > >>> and moved it over to the UEFI machine ? It wouldn't > >>> be acceptable for the UEFI machine to "ignore" the > >>> disk due to a lack of automation of a recognition > >>> process. A scanning process *has* to be there. > >> > >> Yes, on the UEFI. > >> So there is a bug on the machine you tested this. > > > > To date, I've never had the surprises I'm getting > > with Manjaro in the mix. The LinuxMint has been > > working properly, and its boot entry in my BIOS > > popup boot works properly. > > > > Manjaro is the first "failure to work properly". > > > > The BIOS scans the ESP partition, that's what scanning > > I expect to happen. And that's how a disk freshly plugged > > in, should have the boot manager items prepared and put > > in the BIOS popup boot menu. > > > > ESP > > > > EFI/Ubuntu \__ folders have same timestamp, LinuxMint installed > > Boot / first for this test case > > Microsoft > > manjaro > > > > The BIOS F8 Popup boot shows > > > > Ubuntu > > P2 [sata port 2] <=== An attempt at CSM boot, fails to work > > Windows Boot Manager > > manjaro > > > > If I don't use the F8 key, manjaro boot manager is selected. > > > > If I unplug the drive, use another boot hard drive, plug the > > manjaro multiboot back in, manjaro effectively becomes > > invisible until repaired. > > > > This implies something that is effectively volatile > > is happening. That Manjaro visibility is only there, > > as long as the PC hasn't used a different disk in a boot. > > Well, maybe manjaro makes something in the EFI partition that confuses > your UEFI (aka BIOS). Some missing file or with "wrong" content. > > I don't have the setup for trying to replicate and try find out. Nor do > I use manjaro. > > > -- > Cheers, Carlos. HA! How did Marek Novotny get _so_ egotistical he thinks everything is about himself?? Times change. Could be the idea of a chat client is getting past its prime. Marek Novotny calls it "trolling" him, even though he continues to trigger that precise standard. Not only did mGhost's question fail to refer to the "DE", it has NOTHING to do with the desktop. Marek Novotny should get back on his medicine ;) The only way that I could condone Mint's constant demand for tinkering because of programing complications or inconsistent updates is if I enjoyed the constant amount of fantasies its ads have been feeding Marek Novotny since 2019. -- Do not click this link! https://bugs.documentfoundation.org/buglist.cgi?email2=McNuggets&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype2=substring&list_id=548787&query_format=advanced&resolution=--- https://youtu.be/m37dF5X2S-4 https://goo.gl/Fho5Nq Jonas Eklundh Communication
[toc] | [prev] | [next] | [standalone]
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Date | 2019-12-22 10:59 +0100 |
| Message-ID | <5dff3e87$0$9927$426a74cc@news.free.fr> |
| In reply to | #61628 |
Le 19/12/2019 à 09:26, Paul a écrit : > > Actually, my testing has revealed that for UEFI boot materials, > there is hardly any interest in writing the 440 byte section > of the MBR. Of course not. This area contains BIOS boot code, useless for EFI boot. > My test case for today, was to do the multiboot test on a physical > disk, instead of VirtualBox, and I got slightly different results. > > 1) Installed Linux Mint in UEFI mode. > 2) Installed Windows 10 in UEFI mode. > 3) Installed Manjaro. > 4) Let Windows 10 update itself from 17063 to 18363. > Aha! Broke the boot. Manjaro tried to boot. And the error was... > > error: unknown filesystem. grub (...) > 6) do a diff on the two bootinfoscript outputs. > > 456c456 > < set root='hd0,gpt6' > --- > > set root='hd0,gpt7' > > A partition number has changed, between the two runs. > So the grub info being used, points at the wrong partition > as some sort of hint. Thanks for confirming experimentally what I replied to Melzz a week ago. > Now, review the partition layout. Without going into > unnecessary detail, my install looks like this. > > MBR Linux Mint Windows 10 Manjaro > > The thing is, when Windows 10 does Upgrade Installs, it has > a bad habit of resizing C: about 500MB smaller, and creating > a small partition to the right of C: . Isn't the MSR (Microsoft Reserved) partition supposed to be used for this ? You have an MSR partition, don't you ? > This causes the partition numbering to change. Inserting a new partition between two existing partitions does not renumber partitions by itself. Partition entries do not need to be in physical order. So Windows /chooses/ to actively renumber partitions, which IMO is just wrong and unnecessary. > This is a disaster in the > making, for the Linux OS *to the right* of Windows 10. > > So it's not actually writing /boot/efi/EFI/name_of_OS > with new EFI files. As I replied to Melzz a week ago. > something about the GRUB setup > is still using partition numbers. Indeed. IME, when /boot/grub is in a plain partition on the same drive as GRUB's core image, grub-install embeds this partition number when building the core image. When /boot/grub is on a different drive or in any kind of logical volume (LVM, software RAID, LUKS), grub-install embeds an initial config file searching the UUID of this volume instead. I wish grub-install had an option to force using an embedded config file searching for UUID instead of the partition number. Also, I observed that Debian's signed GRUB core image for UEFI secure boot uses an initial config file in the EFI partition searching by UUID. Obviously the distribution signed image cannot be modified to embed the location of /boot/grub, so an external config file has to be used. > Even though the > FSTAB is defensively designed with UUID or BLKID or > whatever. GRUB does not care much about fstab. > So how can you keep Manjaro happy on Windows 10 ? > Put it to the left of Windows 10 like this. > > MBR Manjaro Windows 10 Note that the only part which needs to be before Windows is /boot/grub, which can be in a very tiny partition or even in the EFI partition. Anything else (/boot, /...) can be searched by UUID. Or put /boot/grub on LVM or RAID, but this is a bit of overkill if you use it only for GRUB.
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-12-22 05:16 -0500 |
| Message-ID | <qtnfqf$5km$1@dont-email.me> |
| In reply to | #61730 |
Pascal Hambourg wrote:
> Le 19/12/2019 à 09:26, Paul a écrit :
>>
>> Actually, my testing has revealed that for UEFI boot materials,
>> there is hardly any interest in writing the 440 byte section
>> of the MBR.
>
> Of course not. This area contains BIOS boot code, useless for EFI boot.
>
>> My test case for today, was to do the multiboot test on a physical
>> disk, instead of VirtualBox, and I got slightly different results.
>>
>> 1) Installed Linux Mint in UEFI mode.
>> 2) Installed Windows 10 in UEFI mode.
>> 3) Installed Manjaro.
>> 4) Let Windows 10 update itself from 17063 to 18363.
>> Aha! Broke the boot. Manjaro tried to boot. And the error was...
>>
>> error: unknown filesystem. grub
> (...)
>> 6) do a diff on the two bootinfoscript outputs.
>>
>> 456c456
>> < set root='hd0,gpt6'
>> ---
>> > set root='hd0,gpt7'
>>
>> A partition number has changed, between the two runs.
>> So the grub info being used, points at the wrong partition
>> as some sort of hint.
>
> Thanks for confirming experimentally what I replied to Melzz a week ago.
>
>> Now, review the partition layout. Without going into
>> unnecessary detail, my install looks like this.
>>
>> MBR Linux Mint Windows 10 Manjaro
>>
>> The thing is, when Windows 10 does Upgrade Installs, it has
>> a bad habit of resizing C: about 500MB smaller, and creating
>> a small partition to the right of C: .
>
> Isn't the MSR (Microsoft Reserved) partition supposed to be used for
> this ? You have an MSR partition, don't you ?
>
The MSR partition is too small for any purpose. It's 16MB or so.
No tool seems to recognize the content (it does not contain a filesystem).
The small partitions that Windows 10 insists on making, are 500MB or larger.
And it never cleans up and disposes of the smaller ones that were
"too small" for its purposes.
I have no idea what they do with partition numbers, because I don't
do a lot of UEFI installs.
And as for the topic, I'm just about losing the will to live :-/
UEFI is like a "house of cards", and falls over every 5 minutes,
and using bailing wire and binder twine, just isn't working.
It's frankly, just a load of crap.
It has no redeeming features, whatsoever.
I'd have to leave a copy of the Boot-Repair CD in
the optical drive tray, if this setup was my daily driver,
because it would be breaking so often.
I just tried to install a Debian to the test disk, and it
didn't do well at all. It looks like again, grub-install failed
to do anything, and whatever called grub-install, ignored the
error outputs it provided. Now it's telling me there is no BIOS
partition or something, when /dev/sda1 FAT is present, the top
level EFI is present, and the other OS boot materials are
still in there. And even if I mount that partition, then
run grub-install, it insists on printing out the same
error message. Even though there is a /boot/efi/EFI
staring it in the face.
Whoever thought a house of cards was a good idea, what
were they thinking ??? That only the regulars on reboot.pro
would have working computers ?
One of the reasons I'm studying this stuff, is Intel has
announced that soon (like maybe next year), motherboards
will ship with UEFI-only setups and CSM will no longer
be provided. And what these experiences are telling me,
is this stuff isn't ready to be cut over like that.
It's too fragile.
Paul
[toc] | [prev] | [next] | [standalone]
| From | Steve Carroll <frelwizzen@gmail.com> |
|---|---|
| Date | 2019-12-22 02:48 -0800 |
| Message-ID | <32b58457-654d-4ea2-a460-8f9fe5154c6b@googlegroups.com> |
| In reply to | #61733 |
On Sunday, December 22, 2019 at 3:16:49 AM UTC-7, Paul wrote: > Pascal Hambourg wrote: > > Le 19/12/2019 à 09:26, Paul a écrit : > >> > >> Actually, my testing has revealed that for UEFI boot materials, > >> there is hardly any interest in writing the 440 byte section > >> of the MBR. > > > > Of course not. This area contains BIOS boot code, useless for EFI boot. > > > >> My test case for today, was to do the multiboot test on a physical > >> disk, instead of VirtualBox, and I got slightly different results. > >> > >> 1) Installed Linux Mint in UEFI mode. > >> 2) Installed Windows 10 in UEFI mode. > >> 3) Installed Manjaro. > >> 4) Let Windows 10 update itself from 17063 to 18363. > >> Aha! Broke the boot. Manjaro tried to boot. And the error was... > >> > >> error: unknown filesystem. grub > > (...) > >> 6) do a diff on the two bootinfoscript outputs. > >> > >> 456c456 > >> < set root='hd0,gpt6' > >> --- > >> > set root='hd0,gpt7' > >> > >> A partition number has changed, between the two runs. > >> So the grub info being used, points at the wrong partition > >> as some sort of hint. > > > > Thanks for confirming experimentally what I replied to Melzz a week ago. > > > >> Now, review the partition layout. Without going into > >> unnecessary detail, my install looks like this. > >> > >> MBR Linux Mint Windows 10 Manjaro > >> > >> The thing is, when Windows 10 does Upgrade Installs, it has > >> a bad habit of resizing C: about 500MB smaller, and creating > >> a small partition to the right of C: . > > > > Isn't the MSR (Microsoft Reserved) partition supposed to be used for > > this ? You have an MSR partition, don't you ? > > > > The MSR partition is too small for any purpose. It's 16MB or so. > No tool seems to recognize the content (it does not contain a filesystem). > > The small partitions that Windows 10 insists on making, are 500MB or larger. > And it never cleans up and disposes of the smaller ones that were > "too small" for its purposes. > > I have no idea what they do with partition numbers, because I don't > do a lot of UEFI installs. > > And as for the topic, I'm just about losing the will to live :-/ > UEFI is like a "house of cards", and falls over every 5 minutes, > and using bailing wire and binder twine, just isn't working. > It's frankly, just a load of crap. > > It has no redeeming features, whatsoever. > > I'd have to leave a copy of the Boot-Repair CD in > the optical drive tray, if this setup was my daily driver, > because it would be breaking so often. > > I just tried to install a Debian to the test disk, and it > didn't do well at all. It looks like again, grub-install failed > to do anything, and whatever called grub-install, ignored the > error outputs it provided. Now it's telling me there is no BIOS > partition or something, when /dev/sda1 FAT is present, the top > level EFI is present, and the other OS boot materials are > still in there. And even if I mount that partition, then > run grub-install, it insists on printing out the same > error message. Even though there is a /boot/efi/EFI > staring it in the face. > > Whoever thought a house of cards was a good idea, what > were they thinking ??? That only the regulars on reboot.pro > would have working computers ? > > One of the reasons I'm studying this stuff, is Intel has > announced that soon (like maybe next year), motherboards > will ship with UEFI-only setups and CSM will no longer > be provided. And what these experiences are telling me, > is this stuff isn't ready to be cut over like that. > It's too fragile. > > Paul Thanks to vallor and his 'convenient friends' you now need a go / no-go list (which I configured for slrn and Unison). Trust me, publicly (at least) I cold turkey stopped giving him what he's asked for. If Snit and others start attacking him again I will feel compelled to... as I promised. I am referring to our clan here, not trolls, who talk to him no matter what. Marketing is a wonderful thing and consumer cluelessness is even better. You're like the amateur Arch Linux icon on a professionally designed desktop. We all see you there and let you know. And you're so dumb you keep denying it. Demanding vallor to apologize, which we should all do, is distinct from denoting his double-dealing. My meaning was that people arrive here to shoot down kookery. It's not as if honest people do not quickly figure out what this forum is, Snit especially. - This broke the Internet https://youtu.be/5OfWsoPAg7o https://youtu.be/VxLiH-x0aeY https://www.youtube.com/watch?v=IhOfBmWwCVY Jonas Eklundh
[toc] | [prev] | [next] | [standalone]
Page 3 of 5 — ← Prev page 1 2 [3] 4 5 Next page →
Back to top | Article view | alt.os.linux
csiph-web