LINUX.ORG.RU
решено ФорумAdmin

Перестал работать dual boot

 


0

1

Привет! На компе стоят windows 7 и Linux Mint Mate 22 (Ubuntu 24). Сегодня внезапно перестала появляться страница с выбором загрузки. Загружает сразу Linux Mint. В файле /etc/default/grub разкомментировал строку строку GRUB_DISABLE_OS_PROBER=false. Затем как положено

sudo update-grub2
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.0-64-generic
Found initrd image: /boot/initrd.img-6.8.0-64-generic
Found linux image: /boot/vmlinuz-6.8.0-60-generic
Found initrd image: /boot/initrd.img-6.8.0-60-generic
Found linux image: /boot/vmlinuz-6.8.0-51-generic
Found initrd image: /boot/initrd.img-6.8.0-51-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 7 on /dev/sda1
Adding boot menu entry for UEFI Firmware Settings ...
done

Проверил,

sudo os-prober      
/dev/sda1:Windows 7:Windows:chain

Но все равно загружает сразу Linux Mint, страница выбора игнорируется. При установке Linux Mint было какое то сообщение про uefi, но я проигнорировал. Полгода работало без проблем, страница выбора появлялась. А вот сегодня все сломалось. В чем может быть дело?

★★★★
Ответ на: комментарий от Aceler

Вот файл grub, grub.cfg длинный, но если нужно могу выложить

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
rustamych ★★★★
() автор топика
Ответ на: комментарий от Dimez

@andytux Спасибо, как же я не заметил. Затра буду на работе и попробую. Вообще-то это как то странно. Это что же при обновлении чего-то появилась эта строка? За все мои года использования линукса вижу такое впервые. Обычно помогало просто update-grub, а тут что-то новое.

rustamych ★★★★
() автор топика
Ответ на: комментарий от rustamych

Меню можно и спрятать а для понимания что граб стартовал и можно жахнуть esc для показа меню включить GRUB_INIT_TUNE="480 440 1" для звуковой сигнализации.

anonymous
()