Cannot boot into Windows anymore  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
hako
Posts: 26
Joined: Sat Oct 15, 2022 7:19 am

Cannot boot into Windows anymore

#1 Post by hako »

Hi, responding to an old thread:
I tried to upgrade my MX-21 to the new MX-23.2, using Adrians guide (https://mxlinux.org/wiki/system/upgradi ... installing).
Unfortunately, I cannot boot into Windows anymore, there is no such boot entry as I had before. My configuration: MBR with several partitions, 2 for Windows, several for Linux in extended partition.
Even with boot repair there is no entry for Windows anymore. During upgrade process some times the windows entry showed up, but not at the end. MX-23.2 is running (except for DKMS).
What to do?

User avatar
j2mcgreg
Global Moderator
Posts: 7144
Joined: Tue Oct 23, 2007 12:04 pm

Re: MX 23 dual boot with Windows 11- tutorial needed.

#2 Post by j2mcgreg »

QSI please.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
fehlix
Developer
Posts: 12879
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX 23 dual boot with Windows 11- tutorial needed.

#3 Post by fehlix »

Suggest to get hako's post into a new thread, as it is not much related to this tutorial topic.

hako
Posts: 26
Joined: Sat Oct 15, 2022 7:19 am

Re: MX 23 dual boot with Windows 11- tutorial needed.

#4 Post by hako »

Quic System Info:

Code: Select all

System:    Kernel: 6.6.11-amd64 [6.6.11-1~mx23ahs] x86_64 bits: 64 compiler: gcc v: 12.2.0 
           parameters: BOOT_IMAGE=/vmlinuz-6.6.11-amd64 root=UUID=<filter> ro quiet splash 
           init=/lib/systemd/systemd 
           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.2_x64 Libretto April 9  2022 
           base: Debian GNU/Linux 12 (bookworm) 
Machine:   Type: Laptop System: ASUSTeK product: K45VD v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: K45VD v: 1.0 serial: <filter> BIOS: American Megatrends v: 230 
           date: 01/24/2013 
Battery:   ID-1: BAT1 charge: 40.4 Wh (100.0%) condition: 40.4/52.2 Wh (77.5%) volts: 12.2 
           min: 11.1 model: COMPAL PABAS0241231 type: Li-ion serial: <filter> status: Full 
CPU:       Info: Dual Core model: Intel Core i5-3210M bits: 64 type: MT MCP arch: Ivy Bridge 
           family: 6 model-id: 3A (58) stepping: 9 microcode: 21 cache: L2: 3 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19955 
           Speed: 1197 MHz min/max: 1200/3100 MHz Core speeds (MHz): 1: 1197 2: 1197 3: 1197 
           4: 1197 
           Vulnerabilities: Type: gather_data_sampling status: Not affected 
           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 status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           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: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Vulnerable: No microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: ASUSTeK driver: i915 v: kernel 
           bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300 
           Device-2: NVIDIA GF119M [GeForce 610M] vendor: ASUSTeK driver: N/A alternate: nouveau 
           bus-ID: 01:00.0 chip-ID: 10de:1058 class-ID: 0300 
           Device-3: IMC Networks USB2.0 UVC HD Webcam type: USB driver: uvcvideo bus-ID: 1-1.4:3 
           chip-ID: 13d3:5166 class-ID: 0e02 serial: <filter> 
           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: 1517x853 s-dpi: 96 s-size: 401x226mm (15.8x8.9") 
           s-diag: 460mm (18.1") 
           Monitor-1: LVDS-1 res: 1518x854 hz: 60 dpi: 125 size: 309x174mm (12.2x6.9") 
           diag: 355mm (14") 
           OpenGL: renderer: Mesa Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 23.1.2-1~mx23ahs 
           direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403 
           Sound Server-1: ALSA v: k6.6.11-amd64 running: yes 
           Sound Server-2: PulseAudio v: 16.1 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK 
           driver: r8169 v: kernel port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: Lite-On 
           driver: ath9k v: kernel modules: wl port: d000 bus-ID: 03:00.0 chip-ID: 168c:0032 
           class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 486.19 GiB (52.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10JPVX-22JC3T0 
           size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD 
           rpm: 5400 serial: <filter> rev: 1A01 scheme: MBR 
Partition: ID-1: / raw-size: 59.28 GiB size: 58.05 GiB (97.92%) used: 16.28 GiB (28.0%) fs: ext4 
           dev: /dev/sda6 maj-min: 8:6 
           ID-2: /boot raw-size: 3.72 GiB size: 3.59 GiB (96.36%) used: 199.5 MiB (5.4%) fs: ext4 
           dev: /dev/sda5 maj-min: 8:5 
           ID-3: /home raw-size: 93.13 GiB size: 91.11 GiB (97.83%) used: 59.38 GiB (65.2%) 
           fs: ext4 dev: /dev/sda7 maj-min: 8:7 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 6280.4 C mobo: 53.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2684 lib: 1450 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/am-monkeyd-ubuntu-nautilus-elementary-ppa-lunar.list 
           1: deb http://ppa.launchpad.net/am-monkeyd/nautilus-elementary-ppa/ubuntu lunar 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/expressvpn.list 
           1: deb [signed-by=/usr/share/keyrings/expressvpn.asc] mirror+file: /usr/lib/expressvpn/repo_mirror.list any-version main
           No active apt repos in: /etc/apt/sources.list.d/gloobus-dev-ubuntu-gloobus-preview-lunar.list 
           Active apt repos in: /etc/apt/sources.list.d/gloobus-dev-ubuntu-gloobus-preview-mantic.list 
           1: deb http://ppa.launchpad.net/gloobus-dev/gloobus-preview/ubuntu mantic main
           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/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm ahs
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable 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/teamviewer.list 
           1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
           No active apt repos in: /etc/apt/sources.list.d/ubuntuhandbook1-ubuntu-ppa-lunar.list 
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 264 Uptime: 11m wakeups: 1 Memory: 7.65 GiB used: 2.85 GiB (37.3%) 
           Init: systemd v: 252 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: BIOS (legacy, CSM, MBR)

User avatar
Eadwine Rose
Administrator
Posts: 15164
Joined: Wed Jul 12, 2006 2:10 am

Re: Cannot boot into Windows anymore

#5 Post by Eadwine Rose »

Topic split off. Do not tack on to other threads with your problem, start your own next time, thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
fehlix
Developer
Posts: 12879
Joined: Wed Apr 11, 2018 5:09 pm

Re: Cannot boot into Windows anymore

#6 Post by fehlix »

hako wrote: Tue Feb 06, 2024 1:55 pm Hi, responding to an old thread:
I tried to upgrade my MX-21 to the new MX-23.2, using Adrians guide (https://mxlinux.org/wiki/system/upgradi ... installing).
Unfortunately, I cannot boot into Windows anymore, there is no such boot entry as I had before. My configuration: MBR with several partitions, 2 for Windows, several for Linux in extended partition.
Even with boot repair there is no entry for Windows anymore. During upgrade process some times the windows entry showed up, but not at the end. MX-23.2 is running (except for DKMS).
What to do?
First thing to check would be whether Windows boots ok,
with help of MX Live USB ( best use latest MX iso) and create a LiveUSB
On the LiveUSB Menu
-> Switch to Grub menu
and
select -> Boot Rescue
and further -> (search for) Windows boot loader.
If this still boots to windows, the chances are good
to get the GRUB menu entry fixed.
Also make sure you power down from Windows with no hibernate/fastboot (e.g hold the Shift-key when power off)

hako
Posts: 26
Joined: Sat Oct 15, 2022 7:19 am

Re: Cannot boot into Windows anymore

#7 Post by hako »

I tried the MX-23.2 LiveUSB - Boot Rescue. Unfortunately, it cannot find a Windows Boot Loader. What would be the file name?
My Windows 10 is on partition 2, partition 1 has boot flag. Previously there were 2 Grub entries for Win10.
You do not have the required permissions to view the files attached to this post.

golf4fun
Posts: 28
Joined: Sun Jul 08, 2018 4:26 pm

Re: Cannot boot into Windows anymore

#8 Post by golf4fun »

Have you tried as root user in terminal? update-grub

User avatar
fehlix
Developer
Posts: 12879
Joined: Wed Apr 11, 2018 5:09 pm

Re: Cannot boot into Windows anymore

#9 Post by fehlix »

hako wrote: Wed Feb 07, 2024 6:50 pm I tried the MX-23.2 LiveUSB - Boot Rescue. Unfortunately, it cannot find a Windows Boot Loader. What would be the file name?
My Windows 10 is on partition 2, partition 1 has boot flag. Previously there were 2 Grub entries for Win10.
LiveUSB ->Boot Rescue->Windows Boot loader,
would look for "/bootmgr" on the partiion the /Boot/BCD is located ( for MBR/BIOS installed Windows 10)
That's normally on the first System Reserverd partition. But it can also be on the next Windows partition.
The search on the Live GRUB Rescue menu would take the first it can find, which normally is the right one,
and would chainload the windows /bootmgr to load the Windows boot menu or straight into Windows.

hako
Posts: 26
Joined: Sat Oct 15, 2022 7:19 am

Re: Cannot boot into Windows anymore

#10 Post by hako »

Have you tried as root user in terminal? update-grub
update-grub does not bring Windows back into the Grub menu.

I tried again with LiveUSB ->Boot Rescue->Windows Boot loader, now with a different boot (from USB, not UEFI):
Now, it finds 2 bootloaders on drive (hd1,1)/bootmgr and on drive (hd1,2)/bootmgr. When I choose the one on the second partition, Windows starts (and occupies itself immediately with updates).
How to get it into the Grub menu?

Post Reply

Return to “MX Help”