Nérókutya Át kell írni az /etc/default/grub fájlban ezt a sort, majd

sudo update-grub

    meskobalazs
    Átírtam:

    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 loglevel=0"
    GRUB_CMDLINE_LINUX=""

    majd: sudo update-grub, és a terminálban ez jött

    Sourcing file `/etc/default/grub'
    /usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found

      meskobalazs
      Sajnos nem tudok belépni a pastebinre, hiába írom be az ubuntu jelszavam, pedig azt kéri az email címemhez.
      Így kénytelen vagyok ide copizni:

      # 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=0
      GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=0"
      GRUB_CMDLINE_LINUX=""
      
      # 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-pc only)
      #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"

        Nérókutya Módosítottam rajta. Használd legközelebb a formázási lehetőségeket, amit biztosít az oldal.

        Nérókutya
        Mivel írtad át?
        A nano -val? Vagy valami GUI programot használtál?

        Megnézném, hogy:
        cat -A /etc/default/grub
        milyen kimenetet ad?

          klt
          Sima Szövegszerkesztővel, root joggal.
          cat -A /etc/default/grub kimenete:

          M-oM-;M-?# 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=0$
          GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`$
          GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=0"$
          GRUB_CMDLINE_LINUX=""$
          $
          # 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-pc only)$
          #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"$
          • klt válaszolt erre.

            Nérókutya Akkor ott a baj. Az első sorban nem kéne az a krix-krax a # előtt.
            Használd a inkább nano-t szöveges konfig fájlok szerkesztésére!

              klt
              Rendben, nanoval szerkesztve:

              # 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=0
              GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
              GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=0"
              GRUB_CMDLINE_LINUX=""
              
              # 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-pc only)
              #GRUB_TERMINAL=console

              Ismét futtatma cat -A /etc/default/grub parancsot és az a krix-krax a # előtt tovább5ra is ott maradt.

              M-oM-;M-?# If you change this file, run 'update-grub' afterwards to update$

              Lefuttatam a sudo update-grub-ot, és ezt írja:

              Sourcing file `/etc/default/grub'
              /usr/sbin/grub-mkconfig: 1: /etc/default/grub: #: not found
              • klt válaszolt erre.

                Nérókutya Töröld ki az egész első sort, az lesz a legegyszerűbb.
                Az a bizbasz valami nem nyomtatható karakter, ami nem látszik, de ott van. Az zavarja meg a grub-mkconfig-ot.

                  klt
                  Kitöröltem, futtattam a sudo update-grub parancsot:

                  reloadkft@reloadkft-VivoBook-ASUSLaptop-X515EA-X515EA:~$ sudo update-grub
                  [sudo] reloadkft jelszava: 
                  Sourcing file `/etc/default/grub'
                  Sourcing file `/etc/default/grub.d/init-select.cfg'
                  Generating grub configuration file ...
                  Found linux image: /boot/vmlinuz-5.15.0-52-generic
                  Found initrd image: /boot/initrd.img-5.15.0-52-generic
                  Found linux image: /boot/vmlinuz-5.15.0-48-generic
                  Found initrd image: /boot/initrd.img-5.15.0-48-generic
                  Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
                  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

                    Nérókutya Kiváló, ezek szerint sikerült. Egyébként a M-oM-;M-? karaktersorozat az Unicode BOM (Byte Order Mark, vagyis bájtsorrendjel), lehet hogy valami olyan szerkesztővel lett megnyitva a fájl, amely módosította a karakterkódolást.

                      meskobalazs
                      Pontosan, egy sima szövegszerkesztővel. De klt sporttárs segített és nano-val rendeztem.
                      Azonban az eredeti "probléma", a boottoláskori szövegelés nem szünt meg, de már annyiba hagyom, mert a rendszer működik.

                      Köszönöm a segítséget.

                        Nérókutya Nekem a sima szövegszerkesztő a Pluma (MATE-n), ami a Gedit megfelelője/másolata.

                        Még soha nem rakott egyik sem semmit a szerkesztett fájlokba, pedig az évek folyamán elég sokszor szerkesztettem ilyen-olyan rendszerfájlokat (nanot talán kétszer használtam ~15 év alatt). Szóval kíváncsi lennék, hogy nálad mi az a sima szövegszerkesztő.

                          Htibi
                          OFF
                          A szerény tippem a LibreOffice Writer lenne, nálam a képernyőn elég sima, nem hullámzik. :-D
                          Ha jól tudom, az „alap” Ubuntun még mindig a Gedit az alapértelmezett alkalmazás, amivel grafikus felületen ilyen állományokat illik piszkálni, azt gondolom, az nem csinálna ilyen gubancot.

                            Htibi
                            Amúgy a magyarosított neve Szövegszerkesztő.