I hate to admit it, but I'm trying to setup a dual boot system with MX and Windows 10 and MX doesn't detect Windows.
I'm using Dolphin's systemd only respin, which I know from previous posts has a few things omitted. However, it does have the os-prober script. There are comments in grub.cfg for it but nothing in between. I ran os-prober from the command line and it prints a single line with Windows 10 ESP:
Code: Select all
/dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
It was a real PITA getting both op systems installed to dual boot. I used to do it all the time but frankly it's been many years since I have (Windows 7 days) and it was much easier then. gparted's resize corrupted the Windows partition so had to start over after many attempts to fix the install failed.
Now I can boot either OS if I use the BIOS hot key to select what to boot, but grub is not the default boot loader and if it is selected from the BIOS menu it doesn't include Windows as I expected.
So how can this be resolved? I want grup to be the default boot loader with an entry for the Windows boot manager.
ANSWER: edit /etc/default/grub and uncomment this line: GRUB_DISABLE_OS_PROBER=false and run
sudo update-grub. That gets the Wndows menu entry added to the grub menu. To get grub the default boot loader probably requires BCDEdit or interacting with Windows to set Windows Boot Manager options.
Another issue I have is when I run MX updater it can't rebuild modules for the 2 kernel versions installed, one of which doesn't even show up in the mx package installer:
Code: Select all
Error! Your kernel headers for kernel 6.1.0-28-amd64 cannot be found at /lib/modules/6.1.0-28-amd64/build
or /lib/modules/6.1.0-28-amd64/source.
Please install the linux-headers-6.1.0-28-amd64 package or use the --kernelsourcedir option to tell DKMS
where it's located.
I don't see a way to only install kernel hearders so compiles can succeed, aside from installing specific kernel versions. When I install kernel 6.5.0.1 from the package manager it complains when it tries to [also] rebuild 6.1 modules.
So what should I do to resolve that issue? I would be OK with removing the 6.1 kernel, but the package manager doesn't show it as installed (nor did it show the running 6.5 kernel as installed either, until I ran the mx updater).
Code: Select all
Snapshot created on: 20231002_0747
System:
Kernel: 6.5.0-1mx-ahs-amd64 [6.5.3-1~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.5.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet splash
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23_x64 Libretto-systemd-only-respin October 02 2023 base: Debian
GNU/Linux 12 (bookworm)
Machine:
Type: Desktop Mobo: MSI model: B250M BAZOOKA (MS-7A70) v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: 1.70 date: 07/03/2018
CPU:
Info: model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake gen: core 7 level: v3
note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 9
microcode: 0xF8
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 3300 min/max: 800/3500 scaling: driver: intel_pstate governor: powersave
cores: 1: 3300 2: 3300 3: 3300 4: 3300 bogomips: 24000
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling mitigation: Microcode
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
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: disabled, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel HD Graphics 630 vendor: Micro-Star MSI driver: i915 v: kernel arch: Gen-9.5
process: Intel 14nm built: 2016-20 ports: active: HDMI-A-1 empty: DP-1,HDMI-A-2,HDMI-A-3
bus-ID: 00:02.0 chip-ID: 8086:5912 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37") s-diag: 485mm (19.11")
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: LG (GoldStar) 32 FHD serial: <filter> built: 2017
res: 1600x900 hz: 60 dpi: 58 gamma: 1.2 size: 698x392mm (27.48x15.43") diag: 801mm (31.5")
ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: OpenGL v: 4.6 Mesa 24.2.8-1mx23ahs renderer: Mesa Intel HD Graphics 630 (KBL GT2)
direct-render: Yes
Audio:
Device-1: Intel 200 Series PCH HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3 chip-ID: 8086:a2f0 class-ID: 0403
API: ALSA v: k6.5.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
IF-ID-1: tailscale0 state: unknown speed: -1 duplex: full mac: N/A
Drives:
Local Storage: total: 465.76 GiB used: 57.08 GiB (12.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 960 EVO 500GB size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 2B7QCXE7 temp: 36.9 C scheme: GPT
Partition:
ID-1: / raw-size: 78.12 GiB size: 76.35 GiB (97.73%) used: 17.06 GiB (22.3%) fs: ext4
dev: /dev/nvme0n1p6 maj-min: 259:6
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.6 MiB (26.7%) fs: vfat
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-3: /home raw-size: 223.3 GiB size: 218.74 GiB (97.96%) used: 5.77 GiB (2.6%) 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: 16.6 GiB used: 256 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p5 maj-min: 259:5
Sensors:
System Temperatures: cpu: 47.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
Packages: 2507 pm: dpkg pkgs: 2492 libs: 1317 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 15
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [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 non-free-firmware
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
3: deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/librewolf.list
1: deb [arch=amd64] http://deb.librewolf.net/ bookworm main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm ahs
Active apt repos in: /etc/apt/sources.list.d/tailscale.list
1: deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/debian bookworm main
Active apt repos in: /etc/apt/sources.list.d/vscodium.list
1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main
Info:
Processes: 296 Uptime: 29m wakeups: 1 Memory: 7.65 GiB used: 2.31 GiB (30.2%) Init: systemd
v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI