Re: Debian 11 and Win10 dual boot -- SOLVED

2021-08-29 Thread Intense Red
> does it automatically boot to Debian with Windows listed in your GRUB menu?

   Yes, exactly. It works as it should: Upon boot the GRUB menu is presented, 
with Debian, its emergency option, and the option of booting into Windows.

   Thus, all is right in the world. :-)

   That was done by disabling secure boot in the BIOS and running the 
 "bcedit /set {bootmgr} path \EFI\debian\grubx64.efi"
 command as administrator in a Windows shell/command prompt.

-- 
"With software there are only two possibilities: either the users control the 
program or the program controls the users. If the program controls the users, 
and the developer controls the program, then the program is an instrument of 
unjust power." -- Dr. Richard M. Stallman, founder of the Free Software 
movement.





Re: Debian 11 and Win10 dual boot -- SOLVED

2021-08-29 Thread Peter Ehlert



On 8/28/21 1:07 PM, Intense Red wrote:

The problem was that Win10 would constantly overwrite the MBR and blow away
GRUB which forced the computer to boot straight into Windows.

The solution is to go into Windows, open a command prompt/shell as the
Windows administrator and run:

  "bcedit /set {bootmgr} path \EFI\debian\grubx64.efi"


does it automatically boot to Debian with Windows listed in your GRUB menu?







Debian 11 and Win10 dual boot -- SOLVED

2021-08-28 Thread Intense Red
   The problem was that Win10 would constantly overwrite the MBR and blow away 
GRUB which forced the computer to boot straight into Windows.

   The solution is to go into Windows, open a command prompt/shell as the 
Windows administrator and run:

 "bcedit /set {bootmgr} path \EFI\debian\grubx64.efi"


-- 
"If you continue running Windows, your system may become unstable." -- Quote 
from the infamous Blue Screen of Death from Microsoft Windows95.(and they 
weren't lying!)





Re: Debian 11 and Win10 dual boot

2021-08-28 Thread David Wright
On Fri 27 Aug 2021 at 21:35:38 (-0500), Intense Red wrote:
>On a new HP Laptop pre-installed with Win10 Home edition installed on an 
> SSD. In the laptop's BIOS Secure Boot was turned off.
> 
>A fresh copy of Debian 11 was installed into the machine's 1TB HD. After 
> reboot, GRUB comes up normally and Linux works fine.
> 
>But once Windows is chosen from GRUB Windows overwrites the MBR and on 
> subsequent boots GRUB has been disappeared and the machine boots straight 
> into 
> Windows every time.
> 
>Question: How can Windows be lobotomized to stop it from overwriting the 
> MBR and doing this behavior?

>From your talk about "overwriting the MBR", it suggests that you
haven't read around the topic of UEFI booting or dual booting.
You might want to look through pages like:
https://wiki.archlinux.org/title/Dual_boot_with_Windows
https://unix.stackexchange.com/questions/524622/what-is-the-relation-between-uefi-and-grub
just to get an idea of the issues involved. Then, when you boot into
Windows and linux, you'll be aware of where to look for diagnostic
information on the problem.

If there are better starting points than those references, I'm sure
people will post them here.

Lastly, it might help to post how you booted the Debian installer,
and what choices you made when installing Grub during the installation.

Cheers,
David.



Re: Debian 11 and Win10 dual boot

2021-08-28 Thread Kenneth Parker
On Sat, Aug 28, 2021, 6:06 AM Joe  wrote:

> On Sat, 28 Aug 2021 11:14:28 +0300
> ellanios82  wrote:
>
> > On 28/8/21 Intense Red:
> > > How can Windows be lobotomized
> >
> >
> >- maybe Install VirtualBox, & ONLY run windows inside Linux
> >
> >
>
> The Home version won't be licensed for use in a VM, and may be
> engineered not to work at all in one. The Pro version should, but costs
> a fair bit
>

I have Windows 10 PRO running in qemu-kvm under Stable Bullseye (though
installed when it was Testing Bullseye).

When I discussed my Windows 10 PRO purchase with them, the earlier part of
the conversation was, before I had selected PRO over Home and the person on
the phone did not bring up anything about Home on Virtual environments.

So my suspicion is that it will, at least technically run in a Virtual
environment.

Good luck!

Kenneth Parker

>


Re: Debian 11 and Win10 dual boot

2021-08-28 Thread ellanios82



On 28/8/21 Intense Red:

How can Windows be lobotomized



 - List been real Quiet : No word from the Amazing Polly


.

 rgds

.





Re: Debian 11 and Win10 dual boot

2021-08-28 Thread ellanios82

On 28/8/21 1:06 μ.μ., Joe wrote:

On Sat, 28 Aug 2021 11:14:28 +0300
ellanios82  wrote:


On 28/8/21 Intense Red:

How can Windows be lobotomized


    - maybe Install VirtualBox, & ONLY run windows inside Linux



The Home version won't be licensed for use in a VM, and may be
engineered not to work at all in one. The Pro version should, but costs
a fair bit.

We can't expect MS to respect the GPL and the like if we break their
licence terms.


 :  i do not use windows for anything : my knowledge is zero :

 depending on needs of 'Intense Red' , maybe basic needs may be 
fulfilled, using "Wine libraries" or , even a 20-years-old version of 
windows on Virtual Box!!



 cheers

.




Re: Debian 11 and Win10 dual boot

2021-08-28 Thread Joe
On Sat, 28 Aug 2021 11:14:28 +0300
ellanios82  wrote:

> On 28/8/21 Intense Red:
> > How can Windows be lobotomized  
> 
> 
>    - maybe Install VirtualBox, & ONLY run windows inside Linux
> 
> 

The Home version won't be licensed for use in a VM, and may be
engineered not to work at all in one. The Pro version should, but costs
a fair bit.

We can't expect MS to respect the GPL and the like if we break their
licence terms.

-- 
Joe



Re: Debian 11 and Win10 dual boot

2021-08-28 Thread ellanios82

On 28/8/21 Intense Red:

How can Windows be lobotomized



  - maybe Install VirtualBox, & ONLY run windows inside Linux


.

 rgds

.





Re: Debian 11 and Win10 dual boot

2021-08-28 Thread Joe
On Fri, 27 Aug 2021 21:35:38 -0500
Intense Red  wrote:

>On a new HP Laptop pre-installed with Win10 Home edition installed
> on an SSD. In the laptop's BIOS Secure Boot was turned off.
> 
>A fresh copy of Debian 11 was installed into the machine's 1TB HD.
> After reboot, GRUB comes up normally and Linux works fine.
> 
>But once Windows is chosen from GRUB Windows overwrites the MBR
> and on subsequent boots GRUB has been disappeared and the machine
> boots straight into Windows every time.
> 
>Question: How can Windows be lobotomized to stop it from
> overwriting the MBR and doing this behavior?
> 
> 
You can't do anything worth a damn to Windows. What you need to do is
to get grub in the right place and have it configure the boot menu for
itself to be given first boot.

Did you use the Expert installer?

I put stretch on a Win10 netbook, at some point the installer said it
had found another OS, did I want dual-boot? I didn't actually need
Windows, but I said 'yes' to keep the option open, and stretch just did
it. No problem. The BIOS was UEFI and didn't have a secure boot
disable, but it still just worked.

Mind you, when I upgraded to buster, I could no longer boot the machine
at all without manual use of the BIOS boot menu, so I consider buster's
installer inferior to that of stretch. Haven't tried bullseye yet.

And bear in mind that some BIOSes are broken, and do not implement UEFI
correctly. Mine fortunately honours NextBoot, or I really would have to
eliminate Windows, but frustratingly does not honour DefaultBoot, and
always defaults to a state where it looks for Debian but fails to find
it. If Debian is NextBoot, it is found with no difficulty, so it's not
that the UEFI boot code is in the wrong place or is non-functional.

-- 
Joe



Debian 11 and Win10 dual boot

2021-08-27 Thread Intense Red
   On a new HP Laptop pre-installed with Win10 Home edition installed on an 
SSD. In the laptop's BIOS Secure Boot was turned off.

   A fresh copy of Debian 11 was installed into the machine's 1TB HD. After 
reboot, GRUB comes up normally and Linux works fine.

   But once Windows is chosen from GRUB Windows overwrites the MBR and on 
subsequent boots GRUB has been disappeared and the machine boots straight into 
Windows every time.

   Question: How can Windows be lobotomized to stop it from overwriting the 
MBR and doing this behavior?


-- 
"Every gun that is made, every warship launched, every rocket fired signifies, 
in the final sense, a theft from those who hunger and are not fed, those who 
are cold and are not clothed." -- 5 star General and US President Dwight D. 
Eisenhower, 1953, just a few months after taking office -- a time when the 
economy was booming and unemployment was 2.7 percent.