Windows boot option missing after MX21 install
Posted: Sat Sep 17, 2022 7:06 pm
A while ago I upgraded to MX21 from a previous MX by doing a clean install on my HP laptop. I wanted to retain my dual boot setup (Windows 10). When I did the MX install, the option to boot into Windows 10 disappeared from GRUB. I didn't care at the time because I don't use Windows much and I assumed I could fix it anytime. Well, I recently have been given a reason to care and was completely unsuccessful at adding Windows to the GRUB options. After doing much reading on this forum and other forums, I have tried changing the BIOS option to turn off Legacy support which failed. I got an error message instead of a GRUB screen the next time I booted it up. I know linux's boot mode is UEFI, and I assumed the Windows one is, too, but I'm not sure how to confirm that. I then changed the boot option in BIOS to try the Windows boot loader. That yielded the following error when I turned on the computer, "Error: symbol 'grub_disk_nature_sectors' not found". I used a live USB and selected the Windows bootloader option from that GRUB. It tried very briefly and returned, "Windows bootloader not found". I tried using the MX Boot Repair tool from that same live usb stick. I switched it to MBR, then to Root, then ESP. After changing the boot location each time, I booted up the computer MX (not the live usb MX) and ran 'update-grub'. At no time did the Windows option appear. Inside of MX I opened up the MX Boot Options tool and clicked on the Manage UEFI Boot Options button. The following screen actually lists the Windows Boot Manager, but has it greyed-out as inactive. I highlighted it and clicked on the 'Activate' button, but that did not seem to work, either. I was hoping this was an easy fix I could do in either the BIOS setup or the Boot Repair tool, but nothing I've tried works. I'm willing to re-install MX21 (now 21.2). I wonder if anyone knows how to A) diagnose and fix this problem without reinstalling, or B) tell me what options to set in a clean/re-install because I'm not confident I did that correctly originally. There were more options than in past MX versions and I'm afraid I don't recall all the options I chose. I prefer to keep up a practice I was taught years ago in keeping my root, home, and swap partitions all separate while maintaining (but resizing) whatever Windows partitions are already there.
Here are the specs of my machine:
Here is what Gparted says my partition set up is:
Here is what the installer says my current partition setup is.
Thanks for listening.
Here are the specs of my machine:
Code: Select all
System: Kernel: 5.10.0-18-amd64 [5.10.140-1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-18-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.2_x64 Wildflower October 20 2021
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: HP product: HP Laptop 15-ef0xxx v: N/A serial: <filter> Chassis:
type: 10 serial: <filter>
Mobo: HP model: 86FD v: 99.37 serial: <filter> UEFI: AMI v: F.18 date: 06/12/2020
Battery: ID-1: BAT0 charge: 36.3 Wh (100.0%) condition: 36.3/36.3 Wh (100.0%) volts: 12.7
min: 11.3 model: Hewlett-Packard Primary type: Li-ion serial: N/A status: Full
cycles: 326
CPU: Info: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx bits: 64
type: MT MCP arch: Zen family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108109
cache: L2: 2 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 33534
Speed: 1265 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 1: 1265
2: 1226 3: 1223 4: 1366 5: 1227 6: 1315 7: 1314 8: 1351
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB
filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]
vendor: Hewlett-Packard driver: amdgpu v: kernel bus-ID: 04:00.0 chip-ID: 1002:15d8
class-ID: 0300
Device-2: Quanta HP TrueVision HD Camera type: USB driver: uvcvideo bus-ID: 3-1.2:3
chip-ID: 0408:5365 class-ID: 0e02
Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver:
loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: eDP res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
OpenGL:
renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.40.0 5.10.0-18-amd64 LLVM 11.0.1)
v: 4.6 Mesa 20.3.5 direct render: Yes
Audio: Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 04:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Hewlett-Packard Raven/Raven2/FireFlight/Renoir Processor driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 04:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.10.0-18-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtl8821ce v: v5.5.2.1_35598.20191029
modules: rtw88_8821ce,wl port: f000 bus-ID: 02:00.0 chip-ID: 10ec:c821 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth: Device-1: Realtek Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
bus-ID: 1-4:2 chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
sub-v: 7644 hci-v: 4.2 rev: 829a
Info: acl-mtu: 1021:8 sco-mtu: 255:12 link-policy: rswitch hold sniff park
link-mode: slave accept service-classes: rendering, capturing, object transfer, audio
Drives: Local Storage: total: 238.47 GiB used: 63.84 GiB (26.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
model: PC SN520 SDAPNUW-256G-1006 size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter> rev: 20120006
temp: 35.9 C scheme: GPT
Partition: ID-1: / raw-size: 24.67 GiB size: 24.12 GiB (97.75%) used: 15.66 GiB (64.9%) fs: ext4
dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 100.91 GiB size: 98.77 GiB (97.88%) used: 48.18 GiB (48.8%)
fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 10.03 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p6 maj-min: 259:6
Sensors: System Temperatures: cpu: 48.6 C mobo: 40.0 C gpu: amdgpu temp: 48.0 C
Fan Speeds (RPM): N/A
Repos: Packages: note: see --pkg apt: 2589 lib: 1405 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
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/google-earth-pro.list
1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://la.mxrepo.com/mx/repo/ bullseye main non-free
Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
1: deb https://deb.opera.com/opera-stable/ stable non-free
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/surfshark.list
1: deb https://ocean.surfshark.com/debian/ stretch main
Active apt repos in: /etc/apt/sources.list.d/teams.list
1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams/ stable main
Info: Processes: 256 Uptime: 8m wakeups: 3 Memory: 9.7 GiB used: 1.17 GiB (12.0%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: UEFI