Adding GRUB_DISABLE_OS_PROBER=true on the startup parameters don't take any actions

Đang mở
#14 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, python
Lĩnh vực
devtools

Hướng nghiên cứu

The report identifies the GRUB setting files /etc/default/grub and /etc/default/grub.d/50_linuxmint.cfg, and says mintsysadm triggers update-grub. Start by tracing how mintsysadm reads and writes startup parameters, then check how the generated configuration handles GRUB_DISABLE_OS_PROBER=true. Done means saving that setting through mintsysadm produces the expected update-grub output; the issue names no source files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Adding GRUB_DISABLE_OS_PROBER=true on the startup parameters don't work.

When I do set GRUB_DISABLE_OS_PROBER=true and save, a pop-up windows appear

executar o update-grub...

Sourcing file /etc/default/grub' Sourcing file /etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/98_mintsysadm.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-43-generic
Found initrd image: /boot/initrd.img-7.0.0-43-generic
Found linux image: /boot/vmlinuz-7.0.0-42-generic
Found initrd image: /boot/initrd.img-7.0.0-42-generic
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

"Warning: os-prober will be executed to detect other bootable partitions."
This was not what I did expect to happen.

For make it happen, I do need to change the /etc/default/grub.d/50_linuxmint.cfg contents

Re-enable OS Prober

Since Mint 21

https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00120.html

GRUB_DISABLE_OS_PROBER=false

When I do change the GRUB_DISABLE_OS_PROBER to True in the 50_linuxmint.cfg and save.
If I do go to the mintsysadm and save, I do get

A executar o update-grub...

Sourcing file /etc/default/grub' Sourcing file /etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/98_mintsysadm.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-43-generic
Found initrd image: /boot/initrd.img-7.0.0-43-generic
Found linux image: /boot/vmlinuz-7.0.0-42-generic
Found initrd image: /boot/initrd.img-7.0.0-42-generic
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

Which was what I intended to appear by only adding the GRUB_DISABLE_OS_PROBER=true in the startup parameters.

I can add any information you need.
Thanks in advance.

[code]
System:
Kernel: 7.0.0-43-generic arch: x86_64 bits: 64 compiler: gcc v: 15.2.0 clocksource: tsc
Desktop: Cinnamon v: 6.8.0 tk: GTK v: 3.24.52 wm: Muffin v: 6.8.1 vt: 7 dm: LightDM v: 1.32.0
Distro: Linux Mint 27 base: Ubuntu 26.04 resolute
Machine:
Type: Desktop System: Micro-Star product: MS-7B89 v: 1.0 serial:
Mobo: Micro-Star model: B450M MORTAR MAX (MS-7B89) v: 1.0 serial:
uuid: Firmware: UEFI vendor: American Megatrends LLC. v: 2.P3
date: 08/17/2026
Battery:
Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming Mouse serial:
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: 6-core model: AMD Ryzen 5 3600X bits: 64 type: MT MCP smt: enabled arch: Zen 2 rev: 0
cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
Speed (MHz): avg: 3619 min/max: 558/4412 boost: enabled cores: 1: 3619 2: 3619 3: 3619 4: 3619
5: 3619 6: 3619 7: 3619 8: 3619 9: 3619 10: 3619 11: 3619 12: 3619 bogomips: 91195
Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M
XT] vendor: XFX driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports:
active: HDMI-A-1 empty: DP-1, DP-2, DP-3, Writeback-1 bus-ID: 28:00.0 chip-ID: 1002:73df
class-ID: 0300
Display: x11 server: X.Org v: 21.1.22 with: Xwayland v: 24.1.10 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Samsung SMBX2235 serial: res:
mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 102 size: 477x268mm (18.78x10.55")
diag: 547mm (21.5") modes: max: 1920x1080 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 26.0.8-1ubuntu0.3 glx-v: 1.4
direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi navi22 ACO DRM 3.64
7.0.0-43-generic) device-ID: 1002:73df
API: Vulkan v: 1.4.341 layers: 12 surfaces: N/A device: 0 type: discrete-gpu hw: amd
driver: mesa radv device-ID: 1002:73df device: 1 type: cpu driver: mesa llvmpipe
device-ID: 10005:0000
Info: Tools: api: eglinfo, glxinfo, vulkaninfo x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 28:00.1 chip-ID: 1002:ab28 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 2a:00.4 chip-ID: 1022:1487
class-ID: 0403
Device-3: SteelSeries ApS Arctis Nova 3 driver: hid-generic,snd-usb-audio,usbhid type: USB
rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 3-4:3 chip-ID: 1038:12ec class-ID: 0300
API: ALSA v: k7.0.0-43-generic status: kernel-api
Server-1: PipeWire v: 1.6.2 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 22:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Microsoft Xbox Wireless Adapter for Windows driver: xone-dongle type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-10:4 chip-ID: 045e:02fe class-ID: 0000 serial:
Drives:
Local Storage: total: 1.13 TiB used: 178.48 GiB (15.5%)
ID-1: /dev/sda vendor: Toshiba model: TR200 size: 223.57 GiB speed: 6.0 Gb/s tech: SSD
serial: fw-rev: 12.6 scheme: GPT
ID-2: /dev/sdb vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB speed: 6.0 Gb/s tech: SSD
serial: fw-rev: 023 scheme: GPT
ID-3: /dev/sdc vendor: Western Digital model: WD5000AAKS-00D2B0 size: 465.76 GiB
speed: 3.0 Gb/s tech: HDD rpm: 7200 serial: fw-rev: 1C02 scheme: MBR
Partition:
ID-1: / size: 218.49 GiB used: 178.44 GiB (81.7%) fs: ext4 dev: /dev/sda1
ID-2: /boot/efi size: 527 MiB used: 38.1 MiB (7.2%) fs: vfat dev: /dev/sda2
Swap:
Alert: No swap data was found.
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-6:2 info: Logitech USB Receiver type: keyboard,mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 98mA
chip-ID: 046d:c53f class-ID: 0300
Device-2: 1-10:4 info: Microsoft Xbox Wireless Adapter for Windows type: WiFi
driver: xone-dongle interfaces: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA
chip-ID: 045e:02fe class-ID: 0000 serial:
Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-3:2 info: Logitech HID-Compliant Keyboard type: keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s lanes: 1 power: 100mA
chip-ID: 046d:c316 class-ID: 0300
Device-2: 3-4:3 info: SteelSeries ApS Arctis Nova 3 type: audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 5 rev: 1.1 speed: 12 Mb/s lanes: 1
power: 300mA chip-ID: 1038:12ec class-ID: 0300
Hub-4: 4-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 45.4 C mobo: N/A gpu: amdgpu temp: 41.0 C mem: 38.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Repos:
Packages: pm: dpkg pkgs: 2599
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com adrien main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu resolute main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu resolute-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu resolute-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ resolute-security main restricted universe multiverse
Info:
Memory: total: 16 GiB available: 15.53 GiB used: 3.02 GiB (19.4%)
Processes: 407 Power: uptime: 33m states: freeze,mem suspend: deep wakeups: 0
hibernate: disabled Init: systemd v: 259 default: graphical
Compilers: gcc: 15.2.0 alt: 13 Client: Unknown python3.14 client inxi: 3.3.40
[/code]

Keep in mind this also happens in Mint 22.3.
Cheers

Ngôn ngữ chính
Python
Star
6
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mintsysadm

Tất cả issue của linuxmint/mintsysadm

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.