ubuntuusers.de

Problem Grub / Autoremove

Status: Gelöst | Ubuntu-Version: Kubuntu 25.04 (Plucky Puffin)
Antworten |

underduc

Anmeldungsdatum:
30. September 2020

Beiträge: 33

Hallo, ich habe ein Problem beim aufräumen mit autoremove und keine Ahnung wie ich da wieder hin gekommen bin...

 sudo apt autoremove 
[sudo] Passwort für uli:       
ENTFERNUNG:                                 
  linux-image-6.11.0-24-generic

Zusammenfassung:
  Aktualisierung: 0, Installation: 0, Entfernen: 1, nicht aktualisieren: 0
  2 nicht vollständig installiert oder entfernt.
  Freigegebener Platz: 15,5 MB

Fortfahren? [J/n] j
(Lese Datenbank ... 285953 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von linux-image-6.11.0-24-generic (6.11.0-24.24) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.11.0-24-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.14.0-22-generic
Found initrd image: /boot/initrd.img-6.14.0-22-generic
Found linux image: /boot/vmlinuz-6.14.0-15-generic
Found initrd image: /boot/initrd.img-6.14.0-15-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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-6.14.0-22-generic
Found initrd image: /boot/initrd.img-6.14.0-22-generic
Found linux image: /boot/vmlinuz-6.14.0-15-generic
Found initrd image: /boot/initrd.img-6.14.0-15-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
Fehler: syntax error.
Fehler: Incorrect command.
Fehler: syntax error.
Syntaxfehler in Zeile 258
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.11.0-24-generic (--remove):
 »installiertes post-removal-Skript des Paketes linux-image-6.11.0-24-generic«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Zu viele Fehler, Abbruch
Fehler traten auf beim Bearbeiten von:
 linux-image-6.11.0-24-generic
Bearbeitung wurde angehalten, da zu viele Fehler auftraten.
Fehler: Sub-process /usr/bin/dpkg returned an error code (1)

Hier der Inhalt der Datei /boot/grub/grub.cfg.new.

sudo cat /boot/grub/grub.cfg.new
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=3
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 3 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi

color_normal=white/black

if [ -e ${prefix}/themes/kubuntu-logo/theme.txt ]; then
  insmod png
  theme=${prefix}/themes/kubuntu-logo/theme.txt
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux_proxy ###

function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
                set vt_handoff=vt.handoff=7
        else
                set vt_handoff=
        fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if [ ${grub_platform} != pc ]; then
      set linux_gfx_mode=keep
    elif hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode



menuentry "Kubuntu" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
        linux   /boot/vmlinuz-6.14.0-22-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro  quiet splash $vt_handoff
        initrd  /boot/initrd.img-6.14.0-22-generic
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Windows Boot Manager (on /dev/nvme0n1p1)" --class windows --class os $menuentry_id_option 'osprober-efi-98A0-C85F' {
        insmod part_gpt
        insmod fat
        search --no-floppy --fs-uuid --set=root 98A0-C85F
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/31_linux_proxy ###
submenu "Advanced options for Kubuntu"{
menuentry "Kubuntu, with Linux 6.14.0-22-generic" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-22-generic-advanced-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-22-generic ...'
                linux   /boot/vmlinuz-6.14.0-22-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro  quiet splash $vt_handoff
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-22-generic
}
menuentry "Kubuntu, with Linux 6.14.0-22-generic (recovery mode)" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-22-generic-recovery-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-22-generic ...'
                linux   /boot/vmlinuz-6.14.0-22-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro recovery nomodeset dis_ucode_ldr 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-22-generic
}
menuentry "Kubuntu, with Linux 6.14.0-15-generic" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-15-generic-advanced-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-15-generic ...'
                linux   /boot/vmlinuz-6.14.0-15-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro  quiet splash $vt_handoff
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-15-generic
}
menuentry "Kubuntu, with Linux 6.14.0-15-generic (recovery mode)" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-15-generic-recovery-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-15-generic ...'
                linux   /boot/vmlinuz-6.14.0-15-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro recovery nomodeset dis_ucode_ldr 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-15-generic
}
}
### END /etc/grub.d/31_linux_proxy ###

### BEGIN /etc/grub.d/32_linux_zfs ###
### END /etc/grub.d/32_linux_zfs ###

### BEGIN /etc/grub.d/33_linux_xen ###

### END /etc/grub.d/33_linux_xen ###

### BEGIN /etc/grub.d/34_memtest86+_proxy ###

if [ "$grub_platform" = efi -a "$grub_cpu" = i386 ]; then


fi
if [ "$grub_platform" = pc ]; then if cpuid -l ; then


fi ; fi
if [ "$grub_platform" = pc ]; then if ! cpuid -l ; then


fi ; fi
### END /etc/grub.d/34_memtest86+_proxy ###

### BEGIN /etc/grub.d/35_os-prober_proxy ###


set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/35_os-prober_proxy ###

### BEGIN /etc/grub.d/36_memtest86+_proxy ###
menuentry "Memory test (memtest86+x64.efi)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.efi 
}
menuentry "Memory test (memtest86+x64.efi, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.efi console=ttyS0,115200
}
menuentry "Memory test (memtest86+ia32.efi)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.efi 
}
menuentry "Memory test (memtest86+ia32.efi, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.efi console=ttyS0,115200
}
menuentry "Memory test (memtest86+x64.bin)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.bin 
}
menuentry "Memory test (memtest86+x64.bin, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.bin console=ttyS0,115200
}
menuentry "Memory test (memtest86+ia32.bin)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.bin 
}
menuentry "Memory test (memtest86+ia32.bin, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.bin console=ttyS0,115200
}
### END /etc/grub.d/36_memtest86+_proxy ###

### BEGIN /etc/grub.d/37_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/37_bli ###

### BEGIN /etc/grub.d/38_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
        fwsetup --is-supported
        if [ "$?" = 0 ]; then
                menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
                        fwsetup
                }
        fi
fi
### END /etc/grub.d/38_uefi-firmware ###

### BEGIN /etc/grub.d/39_fwupd ###
### END /etc/grub.d/39_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

Hier der Inhalt der Datei /etc/default/grub

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

GRUB_DEFAULT="0"
GRUB_TIMEOUT_STYLE="hidden"
GRUB_TIMEOUT="3"
GRUB_DISTRIBUTOR="Kubuntu"
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/GOP/UGA
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE="1024x768"

# 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"

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 4974

Schau mal dort im Wiki:

Das bedeutet, um den os-prober einzuschalten, muss der os-probler installiert sein:

Nachschauen ob der os-prober installiert ist, im Terminal:

dpkg -l os-prober

Wenn der os-prober fehlt:

sudo apt-get install os-prober

Dann in der GRUB Konfiguration den os-prober freischalten, dazu:

#GRUB_DISABLE_OS_PROBER="false"

... das Gartenzäunchen vor dem Eintrag entfernen:

GRUB_DISABLE_OS_PROBER="false"

... am besten im Terminal mit Nano als Editor und sudo für die notwendigen root Rechte:

sudo nano /etc/default/grub

Die Datei speichern, und dann:

sudo update-grub

underduc

(Themenstarter)

Anmeldungsdatum:
30. September 2020

Beiträge: 33

Scheint vorhanden zu sein.

1
2
3
4
5
6
7
8
 dpkg -l os-prober
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name           Version      Architektur  Beschreibung
+++-==============-============-============-===============================================
ii  os-prober      1.83ubuntu2  amd64        utility to detect other OSes on a set of drives

Habe den Eintrag aktiviert und update-grub ausgeführt. Leider mit dem gleichen Ergebnis:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.14.0-22-generic
Found initrd image: /boot/initrd.img-6.14.0-22-generic
Found linux image: /boot/vmlinuz-6.14.0-15-generic
Found initrd image: /boot/initrd.img-6.14.0-15-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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-6.14.0-22-generic
Found initrd image: /boot/initrd.img-6.14.0-22-generic
Found linux image: /boot/vmlinuz-6.14.0-15-generic
Found initrd image: /boot/initrd.img-6.14.0-15-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
Fehler: syntax error.
Fehler: Incorrect command.
Fehler: syntax error.
Syntaxfehler in Zeile 258
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.

Hier nochmal die "sudo cat /boot/grub/grub.cfg.new" mit Zeilennummern

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=3
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 3 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
  clear
fi

color_normal=white/black

if [ -e ${prefix}/themes/kubuntu-logo/theme.txt ]; then
  insmod png
  theme=${prefix}/themes/kubuntu-logo/theme.txt
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux_proxy ###

function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
                set vt_handoff=vt.handoff=7
        else
                set vt_handoff=
        fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if [ ${grub_platform} != pc ]; then
      set linux_gfx_mode=keep
    elif hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode



menuentry "Kubuntu" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
        linux   /boot/vmlinuz-6.14.0-22-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro  quiet splash $vt_handoff
        initrd  /boot/initrd.img-6.14.0-22-generic
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Windows Boot Manager (on /dev/nvme0n1p1)" --class windows --class os $menuentry_id_option 'osprober-efi-98A0-C85F' {
        insmod part_gpt
        insmod fat
        search --no-floppy --fs-uuid --set=root 98A0-C85F
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/31_linux_proxy ###
submenu "Advanced options for Kubuntu"{
menuentry "Kubuntu, with Linux 6.14.0-22-generic" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-22-generic-advanced-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-22-generic ...'
                linux   /boot/vmlinuz-6.14.0-22-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro  quiet splash $vt_handoff
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-22-generic
}
menuentry "Kubuntu, with Linux 6.14.0-22-generic (recovery mode)" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-22-generic-recovery-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-22-generic ...'
                linux   /boot/vmlinuz-6.14.0-22-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro recovery nomodeset dis_ucode_ldr 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-22-generic
}
menuentry "Kubuntu, with Linux 6.14.0-15-generic" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-15-generic-advanced-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                gfxmode $linux_gfx_mode
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-15-generic ...'
                linux   /boot/vmlinuz-6.14.0-15-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro  quiet splash $vt_handoff
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-15-generic
}
menuentry "Kubuntu, with Linux 6.14.0-15-generic (recovery mode)" --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.14.0-15-generic-recovery-e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e' {
                recordfail
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                echo    'Loading Linux 6.14.0-15-generic ...'
                linux   /boot/vmlinuz-6.14.0-15-generic root=UUID=e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e ro recovery nomodeset dis_ucode_ldr 
                echo    'Loading initial ramdisk ...'
                initrd  /boot/initrd.img-6.14.0-15-generic
}
}
### END /etc/grub.d/31_linux_proxy ###

### BEGIN /etc/grub.d/32_linux_zfs ###
### END /etc/grub.d/32_linux_zfs ###

### BEGIN /etc/grub.d/33_linux_xen ###

### END /etc/grub.d/33_linux_xen ###

### BEGIN /etc/grub.d/34_memtest86+_proxy ###

if [ "$grub_platform" = efi -a "$grub_cpu" = i386 ]; then


fi
if [ "$grub_platform" = pc ]; then if cpuid -l ; then


fi ; fi
if [ "$grub_platform" = pc ]; then if ! cpuid -l ; then


fi ; fi
### END /etc/grub.d/34_memtest86+_proxy ###

### BEGIN /etc/grub.d/35_os-prober_proxy ###


set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/35_os-prober_proxy ###

### BEGIN /etc/grub.d/36_memtest86+_proxy ###
menuentry "Memory test (memtest86+x64.efi)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.efi 
}
menuentry "Memory test (memtest86+x64.efi, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.efi console=ttyS0,115200
}
menuentry "Memory test (memtest86+ia32.efi)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.efi 
}
menuentry "Memory test (memtest86+ia32.efi, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.efi console=ttyS0,115200
}
menuentry "Memory test (memtest86+x64.bin)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.bin 
}
menuentry "Memory test (memtest86+x64.bin, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+x64.bin console=ttyS0,115200
}
menuentry "Memory test (memtest86+ia32.bin)" --class memtest $menuentry_id_option "memtest86+" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.bin 
}
menuentry "Memory test (memtest86+ia32.bin, serial console)" --class memtest $menuentry_id_option "memtest86+-serial" {
                insmod part_gpt
                insmod ext2
                search --no-floppy --fs-uuid --set=root e5a8825d-27f8-4d9f-aae7-12fc2d1a3c6e
                linux /boot/memtest86+ia32.bin console=ttyS0,115200
}
### END /etc/grub.d/36_memtest86+_proxy ###

### BEGIN /etc/grub.d/37_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/37_bli ###

### BEGIN /etc/grub.d/38_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
        fwsetup --is-supported
        if [ "$?" = 0 ]; then
                menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
                        fwsetup
                }
        fi
fi
### END /etc/grub.d/38_uefi-firmware ###

### BEGIN /etc/grub.d/39_fwupd ###
### END /etc/grub.d/39_fwupd ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4647

sudo dpkg --remove --force-remove-reinstreq linux-image-6.11.0-24-generic

danach

sudo update-grub

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4647

underduc schrieb:

Hier nochmal die "sudo cat /boot/grub/grub.cfg.new" mit Zeilennummern

### BEGIN /etc/grub.d/34_memtest86+_proxy ###

if [ "$grub_platform" = efi -a "$grub_cpu" = i386 ]; then


fi
if [ "$grub_platform" = pc ]; then if cpuid -l ; then


fi ; fi
if [ "$grub_platform" = pc ]; then if ! cpuid -l ; then


fi ; fi
### END /etc/grub.d/34_memtest86+_proxy ###

Der Operator -a ist nicht zulässig in POSIX-konformer-Syntax innerhalb von GRUB-Skripten. Das verursacht den Syntaxfehler.

Ersetze die Zeile durch:

if [ "$grub_platform" = efi ] && [ "$grub_cpu" = i386 ]; then

danach

sudo update-grub

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 4974

War da etwa ein grub-customizer dran? Der grub-customizer ist leider berüchtigt.

Der Abschnitt in der /boot/grub/grub.cfg würde eigentlich vom Script generiert, das aus dem DEB-Paket memtest86+ stammt. Das wäre aber:

/etc/grub.d/20_memtest86+

Nicht aber:

/etc/grub.d/34_memtest86+_proxy 

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4647

Noch ein Hinweis am Rande: autoremove alleine ohne --purge hinterlässt alle konfigs auf dem System. Also Datenmüll. Deswegen besser sudo apt autoremove --purge oder kurz sudo apt autopurge.

Eine komplette Systembereinigung sieht so aus:

sudo apt autopurge && sudo apt clean && sudo apt purge ~c

underduc

(Themenstarter)

Anmeldungsdatum:
30. September 2020

Beiträge: 33

schwarzheit schrieb:

underduc schrieb:

Hier nochmal die "sudo cat /boot/grub/grub.cfg.new" mit Zeilennummern

### BEGIN /etc/grub.d/34_memtest86+_proxy ###

if [ "$grub_platform" = efi -a "$grub_cpu" = i386 ]; then


fi
if [ "$grub_platform" = pc ]; then if cpuid -l ; then


fi ; fi
if [ "$grub_platform" = pc ]; then if ! cpuid -l ; then


fi ; fi
### END /etc/grub.d/34_memtest86+_proxy ###

Der Operator -a ist nicht zulässig in POSIX-konformer-Syntax innerhalb von GRUB-Skripten. Das verursacht den Syntaxfehler.

Ersetze die Zeile durch:

if [ "$grub_platform" = efi ] && [ "$grub_cpu" = i386 ]; then

danach

sudo update-grub

Das Script wird immer neu generiert und in der Gen-Datei finde ich keine Möglichkeit das "-a" zu entfernen.

trollsportverein schrieb:

War da etwa ein grub-customizer dran? Der grub-customizer ist leider berüchtigt.

Der Abschnitt in der /boot/grub/grub.cfg würde eigentlich vom Script generiert, das aus dem DEB-Paket memtest86+ stammt. Das wäre aber:

/etc/grub.d/20_memtest86+

Nicht aber:

/etc/grub.d/34_memtest86+_proxy 

Das File /etc/grub.d/20_memtest86+ existiert nicht auf meinem System.

underduc

(Themenstarter)

Anmeldungsdatum:
30. September 2020

Beiträge: 33

trollsportverein schrieb:

War da etwa ein grub-customizer dran? Der grub-customizer ist leider berüchtigt. }}}

Ja, der ist installiert, aber ich weiß nicht mehr ob ich ihn je benutzt habe...

Er wird zumindest hier noch empfohlen: https://wiki.ubuntuusers.de/GRUB_2/Konfiguration/#GRUB-DISABLE-OS-PROBER

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4647

Bitte unterlasse Fullquote. Lies dazu Zitate.

Da steht eindeutig:

Hier wird ausdrücklich von "Teile eines vorherigen Beitrags" gesprochen, gesamte -also komplette- Beitragen zu zitieren ist unerwünscht.

Und wenn man direkt antwortet reicht ein @[user:Benutzername:] da braucht es garkein Zitat.

schwarzheit Team-Icon

Supporter
Avatar von schwarzheit

Anmeldungsdatum:
31. Dezember 2007

Beiträge: 4647

underduc schrieb:

Das Script wird immer neu generiert und in der Gen-Datei finde ich keine Möglichkeit das "-a" zu entfernen.

Derartige Datein (also Dateien in /) bearbeitet man IMMER mit nano.

Also sudo nano /Pfad/zur/Datei.

Und ich sagte nicht entferne das -a sondern ersetze die Zeile!

Nano bedient man mit der Tastatur (Pfeiltasten), das Menue ist unten und ereicht man mit der Strg -Taste + Buchstabe.

underduc

(Themenstarter)

Anmeldungsdatum:
30. September 2020

Beiträge: 33

@schwarzheit

Ich weiß nicht woraus du schließt, dass ich nicht genau das getan habe - die komplette Zeile auszutauschen? Nano ist mein Standardeditor für Scripte.

Und ich wiederhole mich nur ungern, aber das Script wird immer neu generiert:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
~$ sudo nano /boot/grub/grub.cfg.new
~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.14.0-22-generic
Found initrd image: /boot/initrd.img-6.14.0-22-generic
Found linux image: /boot/vmlinuz-6.14.0-15-generic
Found initrd image: /boot/initrd.img-6.14.0-15-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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-6.14.0-22-generic
Found initrd image: /boot/initrd.img-6.14.0-22-generic
Found linux image: /boot/vmlinuz-6.14.0-15-generic
Found initrd image: /boot/initrd.img-6.14.0-15-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
Fehler: syntax error.
Fehler: Incorrect command.
Fehler: syntax error.
Syntaxfehler in Zeile 258
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.

Kreuzschnabel

Anmeldungsdatum:
12. Dezember 2011

Beiträge: 1572

Bearbeitest du direkt die Datei, über der fett drübersteht

# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub

…?

--ks

underduc

(Themenstarter)

Anmeldungsdatum:
30. September 2020

Beiträge: 33

Hier war nie die Rede von einer anderen Datei.

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 4974

underduc schrieb:

Ja, der ist installiert, aber ich weiß nicht mehr ob ich ihn je benutzt habe...

Er wird zumindest hier noch empfohlen: [...]

Nein, der GRUB Customizer wird nicht empfohlen, es wird deutlich im Wiki gewarnt.

Das große rosa Feld ganz oben, und dann noch weitere Warnungen im GRUB Customizer Wiki Artikel.

Die Suchergebnisse, bei denen es mit GRUB Customizer zu Problemen kommt, sind auch Legion.

Also besser den GRUB Customizer entfernen, mit purge, und dann noch mal nachschauen und gegebenenfalls korrigieren, wenn trotz purge noch Überreste übrig bleiben. Darauf wird auch im GRUB_Customizer Wiki-Artikel hingewiesen.

Wenn das GRUB Customizer Tohuwabohu gesäubert ist, dann das DEB-Paket memtest86+ reinstallieren:

sudo apt-get install --reinstall memtest86+

Das Paket memtest86+ bringt das Script /etc/grub.d/20_memtest86+ für GRUB mit, das lässt sich auch nachschauen:

dpkg -L memtest86+ 

Falls nicht doch noch GRUB Customizer Tohuwabohu übrig geblieben ist, sollte dann:

sudo update-grub

... wieder funktionieren.

Antworten |