[ РЕШЕНО ] Не выключается ноут

yurius
скинуть вам конфиг?
Да и лучше без закомментированных строк а то тяжело воспринимать после обеда :) глаз мылится
grep -v '^ *#' /boot/EFI/refind/refind.conf
grep -v '^ *#' /boot/EFI/refind/refind.conf-sample
vs220
grep -v '^ *#' /boot/EFI/refind/refind.conf
yurius: ~ $ grep -v '^ *#' /boot/EFI/refind/refind.conf

timeout 5
use_nvram false
resolution 1920 1080
dont_scan_volumes "EFI system partition"   B24D-DD06
default_selection "Arch Linux"

menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   B24D-DD06
    loader   vmlinuz-linux
    initrd   initramfs-linux.img
    options  "root=UUID=b0a8e989-2e60-4a62-9529-8da24ffb3121 initrd=\amd-ucode.img rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
}

menuentry "Arch Linux LTS" {
    icon     /EFI/refind/icons/os_arch_lts.png
    volume   B24D-DD06
    loader   vmlinuz-linux-lts
    initrd   initramfs-linux-lts.img
    options  "root=UUID=b0a8e989-2e60-4a62-9529-8da24ffb3121 initrd=\amd-ucode.img rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs LTS" {
        initrd initramfs-linux-lts-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
}
menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}

menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}

menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}

menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}
yurius: ~ $ 
vs220
grep -v '^ *#' /boot/EFI/refind/refind.conf-sample
yurius: ~ $ grep -v '^ *#' /boot/EFI/refind/refind.conf-sample

timeout 20
use_nvram false
menuentry Linux {
    icon EFI/refind/icons/os_linux.png
    volume 904404F8-B481-440C-A1E3-11A5A954E601
    loader bzImage-3.3.0-rc7
    initrd initrd-3.3.0.img
    options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
    disabled
}

menuentry "Arch Linux" {
    icon     /EFI/refind/icons/os_arch.png
    volume   "Arch Linux"
    loader   /boot/vmlinuz-linux
    initrd   /boot/initramfs-linux.img
    options  "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
    submenuentry "Boot using fallback initramfs" {
        initrd /boot/initramfs-linux-fallback.img
    }
    submenuentry "Boot to terminal" {
        add_options "systemd.unit=multi-user.target"
    }
    disabled
}

menuentry Ubuntu {
    loader /EFI/ubuntu/grubx64.efi
    icon /EFI/refind/icons/os_linux.png
    disabled
}

menuentry "ELILO" {
    loader \EFI\elilo\elilo.efi
    disabled
}

menuentry "Windows 7" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
    disabled
}

menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
    disabled
}

menuentry "My macOS" {
    icon \EFI\refind\icons\os_mac.png
    volume "macOS boot"
    loader \System\Library\CoreServices\boot.efi
    disabled
}

menuentry "macOS via BootNext" {
    icon /EFI/refind/icons/os_mac.png
    firmware_bootnum 80
    disabled
}
yurius: ~ $ 
Видно только две отключенных с такой иконкой

menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.i…..

И

menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png

Но в выводе blkid таких дисков нет, может раньше подключали.

не,это просто шаблоны
vs220
не,это просто шаблоны

Ну да, там же везде "disabled" - заглушки это. Может, напрямую в бинарники пишется это изменение? Ну а куда ж ещё-то, подходящих текстовых файлов с настройками рефинда больше нет... Есть ещё папка .../refind/vars - там файлы HiddenTags и PreviousBoot, открыл их HexEditor-ом, ничего там серьёзного нет, буквально несколько строк, с упоминанием "\vmlinuz-linux" и "\vmlinuz-linux-lts".
yurius
напрямую в бинарники пишется это изменение?
Не, исключено. В конфиг какой то
vs220
Не, исключено. В конфиг какой то
Так нет же больше никаких конфигов. Во всём /boot нет больше чисто текстовых файлов:

yurius: /boot $ ls -R | grep conf
refind_linux.conf
refind.conf
refind.conf-sample
loader.conf
arch.conf
arch_LTS.conf
arch_recovery.conf
arch_recovery_LTS.conf
arch_UFS.conf
yurius: /boot $ ls -R | grep -v "png\|svg\|ttf\|mui\|Microsoft\|img"
.:
9fcaf5903f7b439e85d872cb720b37bb
EFI
loader
refind_linux.conf
vmlinuz-linux
vmlinuz-linux-lts

./9fcaf5903f7b439e85d872cb720b37bb:

./EFI:
BOOT
Linux
refind
systemd
tools

./EFI/BOOT:
BOOTX64.EFI

./EFI/Linux:

Boot
Recovery

BCD
BCD.LOG
BCD.LOG1
BCD.LOG2
bg-BG
bootmgfw.efi
bootmgr.efi
BOOTSTAT.DAT
boot.stl
cs-CZ
da-DK
de-DE
el-GR
en-GB
en-US
es-ES
es-MX
et-EE
fi-FI
Fonts
fr-CA
fr-FR
hr-HR
hu-HU
it-IT
ja-JP
kd_02_10df.dll
kd_02_10ec.dll
kd_02_1137.dll
kd_02_14e4.dll
kd_02_15b3.dll
kd_02_1969.dll
kd_02_19a2.dll
kd_02_1af4.dll
kd_02_8086.dll
kd_07_1415.dll
kd_0C_8086.dll
kdnet_uart16550.dll
kdstub.dll
ko-KR
lt-LT
lv-LV
memtest.efi
nb-NO
nl-NL
pl-PL
pt-BR
pt-PT
qps-ploc
Resources
ro-RO
ru-RU
sk-SK
sl-SI
sr-Latn-RS
sv-SE
tr-TR
uk-UA
winsipolicy.p7b
zh-CN
zh-TW

bootres.dll
en-US
ru-RU

BCD
BCD.LOG
BCD.LOG1
BCD.LOG2

./EFI/refind:
BOOT.CSV
icons
icons-backup
keys
refind.conf
refind.conf-sample
refind_x64.efi
vars

./EFI/refind/icons:

./EFI/refind/icons-backup:

./EFI/refind/keys:

./EFI/refind/vars:
HiddenTags
PreviousBoot

./EFI/systemd:
systemd-bootx64.efi

./EFI/tools:

./loader:
entries
loader.conf
random-seed

./loader/entries:
arch.conf
arch_LTS.conf
arch_recovery.conf
arch_recovery_LTS.conf
arch_UFS.conf
yurius: /boot $
Неужели настройки рефинда сидят где-то ещё в корне?
если уверены, что фраза где то прописана, то нужно искать какой файл содержит данную фразу.
Ошибки не исчезают с опытом - они просто умнеют
vasek
если уверены, что фраза где то прописана, то нужно искать какой файл содержит данную фразу.
Так пока непонятно, ЧТО искать. Событие: удалил иконку "os_linux.png" с экрана рефинда при загрузке, средствами самого интерфейса рефинда. И что в связи с этим событием искать, и где искать? В .conf-файлах визуально ничего не поменялось. Тогда где хотя бы могло поменяться?
yurius
где-то ещё
Должны где то на диске быть при use_nvram false
- Uncommented use_nvram from refind.conf-sample and set it to false. This
change will cause new rEFInd installations to save rEFInd's own variables
(PreviousBoot, HiddenTags, and others) on disk rather than in NVRAM.
Existing installations won't be affected by this change. The point is to
try to save wear and tear on NVRAM storage; however, users who install
rEFInd to an HFS+ volume will need to comment out use_nvram or set it to
true in order to use features that rely on rEFInd's variable storage.

Hiding entries dynamically—rEFInd 0.11.0 introduced a dynamic tag hiding feature. To use it, highlight a tag and hit the Delete (on PCs) or minus (-) key. (The Delete key on Macs is the Backspace key on PCs, and will not work for this; however, some Mac keyboards have a key marked Del that will do the job.) rEFInd will ask for confirmation. If you give it, the OS or external tool tag will disappear, and should remain hidden indefinitely. (Note that you cannot hide built-in tools, such as the About/Info display and the reboot-to-firmware option, in this way.) rEFInd stores the list of EFI OS tags so hidden in NVRAM or on disk (as determined by the use_nvram token in refind.conf) using the HiddenTags variable, BIOS/CSM/legacy OS tags as HiddenLegacy, hidden firmware reboot tags using the HiddenFirmware variable, and tool tags as HiddenTools. If you want to recover a tag you've hidden, you can do so by using the hidden tag maintenance function, which appears on the second row of the rEFInd menu as a recycling symbol. You can disable both the ability to hide tags and to recover them by uncommenting the showtools item in refind.conf and ensuring that hidden_tags is not among the options. (Even if you disable this feature, rEFInd continues to honor tags it finds in NVRAM or on disk.)
vs220
on disk
Большое им спасибо. Кратко и точно, и сразу понятно, где искать - "на диске".

Щас попробую сохранить куда-то, а потом удалить PreviousBoot и HiddenTags - посмотрим, что получится.
 
Зарегистрироваться или войдите чтобы оставить сообщение.