Groups | Search | Server Info | Login | Register
Groups > comp.os.linux.misc > #63111
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc, alt.comp.os.windows-10 |
| Subject | Re: Fwd: shrink drive c: to install a new operating system |
| Date | 2024-12-26 22:06 +0100 |
| Message-ID | <94t04lxjce.ln2@Telcontar.valinor> (permalink) |
| References | (2 earlier) <vkhe62$2fr0m$1@dont-email.me> <MdKdnfxSNqjRW_H6nZ2dnZfqnPednZ2d@earthlink.com> <vkjidd$2vi9r$2@dont-email.me> <ac204lxjnu.ln2@Telcontar.valinor> <vkjts0$31t1j$1@dont-email.me> |
Cross-posted to 2 groups.
On 2024-12-26 16:48, Paul wrote: > On Thu, 12/26/2024 8:30 AM, Carlos E.R. wrote: >> On 2024-12-26 13:32, Chris Ahlstrom wrote: >>> Hmmm, I recently bought a mini PC with Win 11. I booted to Windows, >>> immediately used the built-in Disk Manager to shrink the Windows >>> partition. Then I installed Debian. >>> >>> Pretty straightforward. >> >> This is the best method. Do the shrinking as soon as you buy the machine. Or, at Windows install time. >> > 1 2 3 4 > +----+----+-----+----+------------+--------------------------+ - - - ---------+---------------+ > |MBR |GPT | ESP |MSR | W11 C: | Recovery Partition 600MB | unallocated | secondary GPT | > +----+----+-----+----+------------+--------------------------+ - - - ---------+---------------+ > ^ > +--------- Windows Disk Management does not show the MSR 16MB (a NoFS) > > For a Linux user, one of the recommendations is to change > the EFI from 100MB FAT32 to 500MB FAT32. > > But for gparted, the MSR acts as a "blocker", because gparted > expects to inspect any partition and check the partition file system integrity > and the MSR has no recognizable file system. > > If you ignore that recommendation, the Linux install should still work. > It might have been someone at Ubuntu that recommended a 500MB ESP. > > The Recovery Partition has SafeOS in it, a WinRE.wim file . On Windows 10, > the updates can fail on that, due to poor handling technique by Microsoft. > The Windows 11 updates are more coy about the mess, and I can see signs > for example, an update is queued to go into the 600MB partition, but > the attempt to update the item is failing (...quietly). If you bump the > Recovery Partition up to 1500MB, that leaves room for the worst case > handling behavior of the update. > > The end result then, your disk could look like this (EFI not changed). > > 1 2 3 4 5 > +----+----+-----+----+-------+-------------------------------------------=---------------+ > |MBR |GPT | ESP |MSR | W11 C:| RP 1500MB | Debian slash | secondary GPT | > +----+----+-----+----+-------+-------------------------------------------=---------------+ > > a machine that ships with Windows 11 on it, the ACPI MSDM table should have > the license key. You would not have to buy another key. While older machines > had a COA sticker, the license key in ACPI MSDM is your proof of purchase. > License keys on the Internet are maybe $25. Some people have experimented > with the cheap keys, and the keys "have not tipped over". That's for stuff > like Home or Pro. > > If you were Secure Booting (and who would be doing that!), you can do > the Windows Updates first, and have some certificate ending in 2011, > replaced with a certificate ending in 2023. > > In an Administrator Powershell, you can run this and it should return True > if the necessary modification has been done. (The signed shim on a recent > Debian, is more likely to align with this 2023 thing.) > > [System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match ‘Windows UEFI CA 2023’ > > If you weren't secure Booting, it would not particularly matter. > > If you perform activities such as "reset TPM to factory keys", then you > may end up installing another copy of Windows 11 (but only long enough > to re-install UEFI CA 2023). Then the excess Windows 11 partition could > be removed. That's what I did on the Secure Boot test machine to bring it > up to date, before pouring in the Linux. > > ******* > > To reduce the size of Win11, you can > > Admin terminal: powercfg /h off # Delete hiberfil.sys , can no longer hibernate > > Admin terminal: sysdm.cpl Advanced : Performance (Settings) : Advanced : Virtual Memory (Change) > You can reduce the virtual memory using "Custom size 1024 1024" > On the next reboot, the pagefile.sys in the C: partition root area > should be 1024MB. > > After this, you can shrink your C: partition down. move the Recovery Partition over, > and put Debian on the end. Thanks, interesting writeup :-) -- Cheers, Carlos.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar
Fwd: shrink drive c: to install a new operating system "186282@ud0s4.net" <186283@ud0s4.net> - 2024-12-24 20:12 -0500
Re: Fwd: shrink drive c: to install a new operating system Paul <nospam@needed.invalid> - 2024-12-25 12:08 -0500
Re: Fwd: shrink drive c: to install a new operating system "Carlos E.R." <robin_listas@es.invalid> - 2024-12-25 19:26 +0100
Re: Fwd: shrink drive c: to install a new operating system Paul <nospam@needed.invalid> - 2024-12-25 18:00 -0500
Re: Fwd: shrink drive c: to install a new operating system Salvador Mirzo <smirzo@example.com> - 2024-12-25 22:09 -0300
Re: Fwd: shrink drive c: to install a new operating system "186282@ud0s4.net" <186283@ud0s4.net> - 2024-12-25 21:58 -0500
Re: Fwd: shrink drive c: to install a new operating system Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-12-26 07:32 -0500
Re: Fwd: shrink drive c: to install a new operating system "Carlos E.R." <robin_listas@es.invalid> - 2024-12-26 14:30 +0100
Re: Fwd: shrink drive c: to install a new operating system Paul <nospam@needed.invalid> - 2024-12-26 10:48 -0500
Re: Fwd: shrink drive c: to install a new operating system Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-26 20:49 +0000
Re: Fwd: shrink drive c: to install a new operating system Paul <nospam@needed.invalid> - 2024-12-26 16:53 -0500
Re: Fwd: shrink drive c: to install a new operating system "Carlos E.R." <robin_listas@es.invalid> - 2024-12-26 22:06 +0100
csiph-web