Page 1 of 1
[Solved] Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 1:32 pm
by Hocksul
Code: Select all
System: Kernel: 6.1.0-22-amd64 [6.1.94-1] x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-22-amd64 root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.36 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-23.3_x64 Libretto September 18 2022
base: Debian GNU/Linux 12 (bookworm)
Machine: Type: Desktop Mobo: N/A model: N/A serial: <filter> UEFI: American Megatrends v: 5.13
date: 06/10/2022
Battery: Device-1: hidpp_battery_0 model: Logitech M705 serial: <filter> charge: 10%
rechargeable: yes status: Discharging
Device-2: hidpp_battery_1 model: Logitech MK700 serial: <filter>
charge: 70% (should be ignored) rechargeable: yes status: Discharging
CPU: Info: Quad Core model: Intel Core i7-8559U bits: 64 type: MT MCP arch: Kaby Lake
note: check family: 6 model-id: 8E (142) stepping: A (10) microcode: F4 cache:
L2: 8 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 43198
Speed: 2901 MHz min/max: 400/4500 MHz Core speeds (MHz): 1: 2902 2: 2961 3: 4295
4: 2973 5: 2901 6: 3691 7: 4115 8: 3024
Vulnerabilities: Type: gather_data_sampling mitigation: Microcode
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: reg_file_data_sampling status: Not affected
Type: retbleed mitigation: IBRS
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional; RSB filling;
PBRSB-eIBRS: Not affected; BHI: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel CoffeeLake-U GT3e [Iris Plus Graphics 655] driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:3ea5 class-ID: 0300
Display: x11 server: X.Org 1.21.1.7 compositor: xfwm4 v: 4.18.0 driver:
loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0")
s-diag: 777mm (30.6")
Monitor-1: HDMI-2 res: 2560x1440 hz: 60 dpi: 109 size: 598x336mm (23.5x13.2")
diag: 686mm (27")
OpenGL: renderer: Mesa Intel Iris Plus Graphics 655 (CFL GT3) v: 4.6 Mesa 22.3.6
direct render: Yes
Audio: Device-1: Intel Cannon Point-LP High Definition Audio driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:9dc8
class-ID: 0403
Device-2: Logitech Logitech Stereo H650e type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.3:6 chip-ID: 046d:0a46
class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k6.1.0-22-amd64 running: yes
Sound Server-2: PulseAudio v: 16.1 running: yes
Network: Device-1: Intel Ethernet I219-V driver: e1000e v: kernel port: efa0 bus-ID: 00:1f.6
chip-ID: 8086:15be class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel modules: wl port: efa0
bus-ID: 01:00.0 chip-ID: 8086:3165 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-9:5 chip-ID: 8087:0a2a class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
sub-v: 1000 hci-v: 4.2 rev: 1000
Info: acl-mtu: 1021:5 sco-mtu: 96:6 link-policy: rswitch hold sniff
link-mode: peripheral accept service-classes: rendering, capturing, audio, telephony
Drives: Local Storage: total: 491.26 GiB used: 225.21 GiB (45.8%)
ID-1: /dev/sda maj-min: 8:0 vendor: Hoodisk model: SSD size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: T1.3
scheme: GPT
SMART Message: Unknown smartctl error. Unable to generate data.
ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Fit
size: 14.32 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition: ID-1: / raw-size: 244.14 GiB size: 239.25 GiB (98.00%) used: 127.36 GiB (53.2%)
fs: ext4 block-size: 4096 B dev: /dev/sda4 maj-min: 8:4
ID-2: /boot/efi raw-size: 200 MiB size: 196 MiB (98.00%) used: 31.2 MiB (15.9%)
fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 19.53 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda5 maj-min: 8:5
Sensors: System Temperatures: cpu: 35.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: Packages: 2742 note: see --pkg apt: 2726 lib: 1200 flatpak: 16
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/azure-cli.list
1: deb [arch=amd64 signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ bookworm main
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://ftp.acc.umu.se/mirror/mxlinux.org/packages/mx/repo/ bookworm main non-free
Active apt repos in: /etc/apt/sources.list.d/oguzhaninan-ubuntu-stacer-kinetic.list
1: deb http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu kinetic main
2: deb http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu kinetic main
3: deb-src http://ppa.launchpad.net/oguzhaninan/stacer/ubuntu kinetic main
Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com stable non-free
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Info: Processes: 267 Uptime: 5h 51m wakeups: 12 Memory: 31.24 GiB used: 2.92 GiB (9.3%)
Init: SysVinit v: 3.06 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 12.2.0
alt: 10/12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.06
Boot Mode: UEFI
I had a dual boot system (Windows + Mx-Linux). I upgraded from MX-21 to MX-23 based on the instructions given
here.
Everything went smoothly, but after the upgrade, there is no option to boot into Windows after restarting the system. The Windows partition is however there and is readily visible from the file manager Thunar.
How can I get the options to boot into either OS (linux or windows) at the start up again?
TIA
Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 1:48 pm
by j2mcgreg
I'd reinstall Grub using the Boot Repair utility in MX Tools.
Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 1:49 pm
by Eadwine Rose
sudo update-grub in the terminal won't work?
Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 1:55 pm
by Hocksul
Thanks for the quick response!
Just to be on the safe side: should I choose the Boot Method installed on MBR, root, or ESP? MX Boot Repair gives me these three options to choose from.
Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 2:08 pm
by Hocksul
Eadwine Rose wrote: Tue Jul 09, 2024 1:49 pm
sudo update-grub in the terminal won't work?
I tried it and it didn't work.
Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 3:07 pm
by j2mcgreg
Hocksul wrote: Tue Jul 09, 2024 1:55 pm
Thanks for the quick response!
Just to be on the safe side: should I choose the Boot Method installed on MBR, root, or ESP? MX Boot Repair gives me these three options to choose from.
Your QSI shows that UEFI is in use, so your choice should be ESP.
Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 3:37 pm
by Hocksul
j2mcgreg wrote: Tue Jul 09, 2024 3:07 pm
Hocksul wrote: Tue Jul 09, 2024 1:55 pm
Thanks for the quick response!
Just to be on the safe side: should I choose the Boot Method installed on MBR, root, or ESP? MX Boot Repair gives me these three options to choose from.
Your QSI shows that UEFI is in use, so your choice should be ESP.
I tried that but it didn't work. I have attached what was chosen by default for "Location" (sda1) and "Set root location" (sda4 ). Should I have chosen a different partition?

Re: Windows partition not accessible after upgrade
Posted: Tue Jul 09, 2024 5:46 pm
by siamhie
What's the output of this in a terminal?
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 3:20 am
by Hocksul
siamhie wrote: Tue Jul 09, 2024 5:46 pm
What's the output of this in a terminal?
The output is
Code: Select all
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0003,0006,0002,0007,0000
Boot0000* Windows Boot Manager HD(1,GPT,81850095-190b-41ad-8c21-bbece1a89b21,0x800,0x64000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0002* MX21 HD(1,GPT,81850095-190b-41ad-8c21-bbece1a89b21,0x800,0x64000)/File(\EFI\MX21\GRUBX64.EFI)
Boot0003* MX21.2.1 HD(1,GPT,81850095-190b-41ad-8c21-bbece1a89b21,0x800,0x64000)/File(\EFI\MX21.2.1\GRUBX64.EFI)
Boot0006* ubuntu HD(1,GPT,81850095-190b-41ad-8c21-bbece1a89b21,0x800,0x64000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0007* UEFI: SanDisk'Cruzer Fit, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/HD(1,MBR,0x6b503434,0x800,0x1ca3800)..BO
Boot0008* MX23 HD(1,GPT,81850095-190b-41ad-8c21-bbece1a89b21,0x800,0x64000)/File(\EFI\MX23\GRUBX64.EFI)
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 9:54 am
by siamhie
Where did you install grub?
Your screenshot (post #7) shows an efi boot partition (sda1) but the efi boot manager shows MX23 (sda4) as the default boot partition.
Code: Select all
Partition: ID-1: / raw-size: 244.14 GiB size: 239.25 GiB (98.00%) used: 127.36 GiB (53.2%)
fs: ext4 block-size: 4096 B dev: /dev/sda4 maj-min: 8:4
ID-2: /boot/efi raw-size: 200 MiB size: 196 MiB (98.00%) used: 31.2 MiB (15.9%)
fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 10:12 am
by Hocksul
siamhie wrote: Wed Jul 10, 2024 9:54 am
Where did you install grub?
Your screenshot (post #7) shows an efi boot partition (sda1) but the efi boot manager shows MX23 (sda4) as the default boot partition.
Code: Select all
Partition: ID-1: / raw-size: 244.14 GiB size: 239.25 GiB (98.00%) used: 127.36 GiB (53.2%)
fs: ext4 block-size: 4096 B dev: /dev/sda4 maj-min: 8:4
ID-2: /boot/efi raw-size: 200 MiB size: 196 MiB (98.00%) used: 31.2 MiB (15.9%)
fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
I actually didn't install the grub. I updated from MX-21 to MX-23 according to
this link. As instructed, I answered "N" when asked about grub-pc:
In general respond “N” (or select “keep local version”) to avoid changing of the configuration files, this is the safest choice for: /etc/issue, /etc/issue.net, adduser(?), /etc/crontab, sudoers, os-prober, grub-pc (and potentially other config files that you or the MX Team might have customized).
After the upgrade, this is what MX Boot Repair shows when ESP is selected, so the "Location" is sda1 and "Select root location" is sda4.

When I click on "Select root location", all the partitions show up as seen in my screenshot (post #7).
FWIW this is what MX Boot Repair shows when MBR is selected, so the "Location" is sda and "Select root location" is sda4.

Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 10:14 am
by Hocksul
... and FWIW, this one if root is selected:

Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 11:33 am
by fehlix
Hocksul wrote: Tue Jul 09, 2024 1:32 pm
How can I get the options to boot into either OS (linux or windows) at the start up again?
Use UEFI Boot options list to select the uefi boot loader.
of the installed OS's.
You may need to press at POST a Fn-key or another like [Del], to get the
efi boot option selection list.
Search the web for the correct key to press, for your UEFI/BIOS System setup.
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 1:08 pm
by Hocksul
fehlix wrote: Wed Jul 10, 2024 11:33 am
Hocksul wrote: Tue Jul 09, 2024 1:32 pm
How can I get the options to boot into either OS (linux or windows) at the start up again?
Use UEFI Boot options list to select the uefi boot loader.
of the installed OS's.
You may need to press at POST a Fn-key or another like [Del], to get the
efi boot option selection list.
Search the web for the correct key to press, for your UEFI/BIOS System setup.
Just to make sure I am in the right place: is this what you are referring to?

If so, which Boot Option is the right one?
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 1:39 pm
by fehlix
Hocksul wrote: Wed Jul 10, 2024 1:08 pm
Just to make sure I am in the right place: is this what you are referring to?
If so, which Boot Option is the right one?
Seems you entered the UEFI setup utility. Always good to remove old entries.
You would select the right one, which works for you.
I guess to boot into MX23 it may the one which boot to MX23.
Suggest boot option cleanup, try MX Boot Options to "remove old" entries.
Shown list may be limited, so better remove any not longer in use.
In case there is no other in the drop down list mentioning Windows
may be related to the limited number saved.
There is also a timeout mention of 1 second, so increase it to something like 10 seconds,
it may then show on the screen what key to press the select from the boot options list.
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 1:41 pm
by j2mcgreg
@Hocksul
Do you see in the lower third of the above image where it shows Fast Boot [Enabled]?
That needs to be disabled because it can interfere with the changes you are trying to make with your target SSD. If you can disable it right there in the BIOS, do so. Otherwise it will have to be disabled from within Windows.
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 2:37 pm
by Hocksul
I disabled the Fast Boot and increased the timeout to 10 seconds in the BIOS.
I also opened MX Boot Options, clicked on "Manage UEFI Boot Options", chose Boot0009* ubunut, and clicked Removed entry.
Unfortunately I still don't get the option to log into Windows. Moreover, removing ubuntu in MX Boot Options had no effect in BIOS, i.e., I still got Boot Option #4 ubuntu in BIOS. There seems to be a disconnect between BIOS and MX Boot Options.
One last thing:
I tried setting MX21.2.1 as my Boot Option #1 in BIOS. The system still booted into MX23, although the first screen (where you get 4 options: MX 23.3 Libretto, Advanced options for MX 23.3 Libretto, Memory Test and System setup ) looked a bit different than when MX23 was my Boot Option #1.
Re: Windows partition not accessible after upgrade
Posted: Wed Jul 10, 2024 5:10 pm
by fehlix
Hocksul wrote: Wed Jul 10, 2024 2:37 pm
I disabled the Fast Boot and increased the timeout to 10 seconds in the BIOS.
I also opened MX Boot Options, clicked on "Manage UEFI Boot Options", chose Boot0009* ubunut, and clicked Removed entry.
Unfortunately I still don't get the option to log into Windows. Moreover, removing ubuntu in MX Boot Options had no effect in BIOS, i.e., I still got Boot Option #4 ubuntu in BIOS. There seems to be a disconnect between BIOS and MX Boot Options.
You need to clean both
* in the NVRAM, with help of MX UEFI Boot Options, which only removes the enry from NVRAM
and
* on the ESP,
otherwise the self-cleaning feature of UEFI firmware will keep the entries
until they have been discover by UEFI firmware that they have been removed from the ESP.
UEFI will read and build the Bootoptions list after shutdown and startup,
not always after reboot.
Hocksul wrote: Wed Jul 10, 2024 2:37 pm
I tried setting MX21.2.1 as my Boot Option #1 in BIOS. The system still booted into MX23, although the first screen (where you get 4 options: MX 23.3 Libretto, Advanced options for MX 23.3 Libretto, Memory Test and System setup ) looked a bit different than when MX23 was my Boot Option #1.
Seems to be a result of different Boot Repair attempt or probably something similar, where you got
now on two different location (partitions) a grub menu, probably using a older efi-grub loader.
But first you may need find out whether your Window efi-loader is still working.
Suggest boot from MX LiveUSB (latest) and on the boot LiveMenu,
select BootRescue -> (search) for efi bootloader or WIndows bootloader , it may find the Windows bootloader
to try to boot into.
Re: Windows partition not accessible after upgrade
Posted: Thu Jul 11, 2024 1:58 am
by Hocksul
fehlix wrote: Wed Jul 10, 2024 5:10 pm
Hocksul wrote: Wed Jul 10, 2024 2:37 pm
I disabled the Fast Boot and increased the timeout to 10 seconds in the BIOS.
I also opened MX Boot Options, clicked on "Manage UEFI Boot Options", chose Boot0009* ubunut, and clicked Removed entry.
Unfortunately I still don't get the option to log into Windows. Moreover, removing ubuntu in MX Boot Options had no effect in BIOS, i.e., I still got Boot Option #4 ubuntu in BIOS. There seems to be a disconnect between BIOS and MX Boot Options.
You need to clean both
* in the NVRAM, with help of MX UEFI Boot Options, which only removes the enry from NVRAM
and
* on the ESP,
otherwise the self-cleaning feature of UEFI firmware will keep the entries
until they have been discover by UEFI firmware that they have been removed from the ESP.
UEFI will read and build the Bootoptions list after shutdown and startup,
not always after reboot.
Hocksul wrote: Wed Jul 10, 2024 2:37 pm
I tried setting MX21.2.1 as my Boot Option #1 in BIOS. The system still booted into MX23, although the first screen (where you get 4 options: MX 23.3 Libretto, Advanced options for MX 23.3 Libretto, Memory Test and System setup ) looked a bit different than when MX23 was my Boot Option #1.
Seems to be a result of different Boot Repair attempt or probably something similar, where you got
now on two different location (partitions) a grub menu, probably using a older efi-grub loader.
But first you may need find out whether your Window efi-loader is still working.
Suggest boot from MX LiveUSB (latest) and on the boot LiveMenu,
select BootRescue -> (search) for efi bootloader or WIndows bootloader , it may find the Windows bootloader
to try to boot into.
Thanks for your comments! I will try it later today, as I don't have the latest version of MX LiveUSB right now.
Having said that, I just found
this article . I wonder if the information presented in that article might be the root of the issue I am facing, as I am 100% sure I didn't play around with grub or tried different repair attempts etc ( I just tried one repair attempt based on post #2 of this thread).
According to the article, the issue is related to the most recent update of Grub. I checked my Grub version, and it is indeed 2.06:
Code: Select all
~:$ grub-install --version
grub-install (GRUB) 2.06-13+deb12u1
I am fully aware that the article is about Ubuntu and not MX, however, I am curious to know if the information provided is relevant to my issue as well.
Is it too risky to set
and see what happens? I haven't tried that yet, as I want to ensure that I am not adding any further complications.
Re: Windows partition not accessible after upgrade [Solved]
Posted: Thu Jul 11, 2024 7:32 am
by fehlix
Yes, you can try whether it helps. Also it depends a bit which conf files have been updated, b/c the newer ones which com with mx23
have been made to keep os-prober enabled.
Re: Windows partition not accessible after upgrade
Posted: Thu Jul 11, 2024 8:05 am
by Hocksul
fehlix wrote: Thu Jul 11, 2024 7:32 am
Yes, you can try whether it helps. Also it depends a bit which conf files have been updated, b/c the newer ones which com with mx23
have been made to keep os-prober enabled.
That was it, I just booted into Windows, thanks a lot!
So I set
then
and then rebooted the system.