Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Ukrycie menu GRUB
#21
0
Fastboot to nie to.
Pokaż wynik
Kod:
sudo update-grub
#22
0
Dygresja: wszystkim życzę najlepszego w 2023 roku!!!!!!!!!!!



Takie coś się pojawiło...z jakimiś Warningowymi  linijkami:

Kod:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Found linux image: /boot/vmlinuz-5.15.0-41-generic
Found initrd image: /boot/initrd.img-5.15.0-41-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.
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.
Adding boot menu entry for UEFI Firmware Settings ...
done
#23
0
Ten warning pokazuje, że os-prober wciąż działa, mimo naszych prób wyłączenia go.

To teraz pokaż jeszcze raz ten główny plik:
Kod:
sudo cat /etc/default/grub
oraz to:
Kod:
sudo cat /etc/default/grub.d/50_linuxmint.cfg
i to:
Kod:
sudo cat /etc/default/grub.d/init-select.cfg
#24
0
Wynik 1:
Kod:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=true
Wynik 2:
Kod:
# Set distributor to "Ubuntu"
#
# In Mint 16:
# shim and grub come with hardcoded ubuntu strings upstream, without this EFI installation is broken
# https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417
#
# In Mint 17:
# Despite the bug report being marked as fixed, the situation is the same. Grub was patched by Ubuntu
# to assign the "ubuntu" distributor ID when it was given "Kubuntu". That results in Kubuntu finally
# getting EFI to work out of the box but still using "ubuntu" as far as grub-install is concerned.
# So we'll stick to "Ubuntu" for this iteration.
#
# In Mint 18:
# Some packages are still hardcoded with the "ubuntu" path.. fwupdate for instance.
# Visually, the grub boot menuentry name is set for derivatives in 10_linux,
# but underneath the EFI path remains "ubuntu" for everything to work properly.

GRUB_DISTRIBUTOR="Ubuntu"

# Re-enable OS Prober
# Since Mint 21
# https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00120.html
GRUB_DISABLE_OS_PROBER=false
Wynik 3:

Kod:
# Work around a bug in the obsolete init-select package which broke
# grub-mkconfig when init-select was removed but not purged.  This file does
# nothing and will be removed in a later release.
#
# See:
#  https://bugs.debian.org/858528
#  https://bugs.debian.org/863801

Takie były info po Twoich komendach Smile.
#25
0
Używaj znaczników kodu.

Ok, w pliku /etc/default/grub.d/50_linuxmint.cfg zmień sobie os-prober wiadomo na co (true) i znowu pokaż wynik sudo update-grub
#26
0
(01-01-2023, 16:49)dedito napisał(a): Używaj znaczników kodu.

Ok, w pliku /etc/default/grub.d/50_linuxmint.cfg zmień sobie os-prober wiadomo na co (true) i znowu pokaż wynik sudo update-grub

Uzywam już zanaczników... czy to nie to?

Prośbę mam, bo jak porobiłem kilka różnych rzeczy...i teraz dajesz instrukcje jakby wracające do którejś z wczesniejszych czynności, to już pogubiłem. Wybacz, ale przytłaczająca ilość nowych komend, działań, zapisków... Staram się.
Jak ten plik otworzć?
Zmienic na na co? Bo wcale nie jest to oczywiste dla mnie. Sugerujesz, że wiadomo na co, że na True, ale jesli dobrze widzę, to w tej linijce jest już True, więc na co mam zmienić? Jakiś  'False'? Chyba, że nie o tym myslę co trzeba.
#27
0
Otwórz plik xed admin:///etc/default/grub.d/50_linuxmint.cfg
i
GRUB_DISABLE_OS_PROBER=false
zmień na
GRUB_DISABLE_OS_PROBER=true
#28
0
Zrobiłem tę zmianę wynik poniżej. Sprawdziłem restartując lapka - bez zmian.

Wynik:

Kod:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.0-56-generic
Found initrd image: /boot/initrd.img-5.15.0-56-generic
Found linux image: /boot/vmlinuz-5.15.0-41-generic
Found initrd image: /boot/initrd.img-5.15.0-41-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.
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
#29
0
To kończą mi się pomysły.
OS-prober jest wyłączony co widać w ostrzeżeniu:
Kod:
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.

To spróbuj programiku grub-customizer (znajdziesz go w menadżerze oprogramowania)
i odznacz w nim opcje pokaż menu i szukaj systemów operacyjnych, dodatkowo przy domyślnym wpisie na liście rozwijalnej ustaw ten, który wybierasz.

  [Obrazek: tqmV8CQ.png]
#30
0
Może nie uwierzysz, ale u mnie nie ma tego programiku, anic innego z 'grub'.


Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości