Announcement

Collapse
No announcement yet.

Extremely long boot time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    i suspect you've done an update while pursuing this problem , and the update fixed it ...
    could you do a clean reboot and see if it's faster ?
    ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

    Comment


      #32
      I have, and it isn't.

      My gut tells me that some processes is being called that is expecting something that doesn't exist and waits until it times out before the boot process proceeds. What that is I haven't a clue.

      I haven't yet tried recreating the /boot/grub/grubenv file to eliminate it being corrupted or contains a persistent variable (or variables) that are causing this issue.
      Slava Ukraini! 🇺🇦
      Windows no longer obstruct my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #33
        reboot again and immediately after logging in , run
        Code:
        systemctl show grub-common.service -p ExecMainStartTimestamp -p ExecMainExitTimestamp -p ExecMainPID -p InactiveExitTimestamp
        Code:
        journalctl -b -u grub-common.service -o short-monotonic --no-pager
        and the ones from post #30
        Last edited by die.boer; Aug 21, 2026, 03:22 PM.
        ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

        Comment


          #34
          systemctl show grub-common.service -p ExecMainStartTimestamp -p ExecMainExitTimestamp -p
          ExecMainPID -p InactiveExitTimestamp
          InactiveExitTimestamp=Fri 2026-08-21 16:52:06 CDT
          ExecMainStartTimestamp=
          ExecMainExitTimestamp=



          journalctl -b -u grub-common.service -o short-monotonic --no-pager
          [ 30.504227] maccat systemd[1]: Starting grub-common.service - LSB: Record successful boot for GRUB...
          [ 32.833205] maccat grub-common[948]: * Recording successful boot for GRUB
          [ 115.396779] maccat grub-common[948]: ...done.
          [ 115.398417] maccat systemd[1]: Started grub-common.service - LSB: Record successful boot for GRUB.


          Slava Ukraini! 🇺🇦
          Windows no longer obstruct my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #35
            please run
            Code:
            sudo time grub-editenv /boot/grub/grubenv unset recordfail
            and then immediately
            Code:
            sudo time grub-editenv /boot/grub/grubenv list
            after that , also
            Code:
            systemctl cat grub-common.service
            Code:
            systemctl show grub-common.service \
            -p Type \
            -p ExecStart \
            -p TimeoutStartUSec \
            -p Before \
            -p After \
            -p Requires \
            -p Wants​
            ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

            Comment


              #36
              sudo time grub-editenv /boot/grub/grubenv unset recordfail
              [sudo: authenticate] Password:
              0.00user 0.04system 0:01.81elapsed 2%CPU (0avgtext+0avgdata 6744maxresident)k
              11248inputs+6704outputs (0major+691minor)pagefaults 0swaps



              sudo time grub-editenv /boot/grub/grubenv list
              env_block=512+1
              0.00user 0.04system 0:01.44elapsed 3%CPU (0avgtext+0avgdata 6480maxresident)k
              11280inputs+3040outputs (0major+691minor)pagefaults 0swaps



              systemctl show grub-common.service \
              -p Type \
              -p ExecStart \
              -p TimeoutStartUSec \
              -p Before \
              -p After \
              -p Requires \
              -p Wants​


              Requires=system.slice sysinit.target

              Before=graphical.target multi-user.target shutdown.target
              After=basic.target systemd-journald.socket all.target sysinit.target system.slice
              Type=forking
              TimeoutStartUSec=5min
              ExecStart={ path=/etc/init.d/grub-common ; argv[]=/etc/init.d/grub-common start ; ignore_errors=no ; start_time=[Fri 2026-08-21 16:52:06 CDT] ; stop_time=[Fri 2026-08-21 16:53:30 CDT] ; pid=9>



              Slava Ukraini! 🇺🇦
              Windows no longer obstruct my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #37
                Code:
                systemctl cat grub-common.service
                Code:
                systemctl show grub-common.service \
                -p FragmentPath \
                -p SourcePath \
                -p Type \
                -p RemainAfterExit \
                -p GuessMainPID \
                -p PIDFile \
                -p ExecStart \
                -p TimeoutStartUSec​
                Code:
                systemctl show grub-common.service \
                -p MainPID \
                -p ControlPID \
                -p ExecMainPID​
                Code:
                time sudo systemctl start grub-common.service
                ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

                Comment


                  #38
                  systemctl cat grub-common.service
                  # /run/systemd/generator.late/grub-common.service
                  # Automatically generated by systemd-sysv-generator

                  [Unit]
                  Documentation=man:systemd-sysv-generator(8)
                  SourcePath=/etc/init.d/grub-common
                  Description=LSB: Record successful boot for GRUB
                  Before=multi-user.target
                  Before=multi-user.target
                  Before=multi-user.target
                  Before=graphical.target
                  After=all.target

                  [Service]
                  Type=forking
                  Restart=no
                  TimeoutSec=5min
                  IgnoreSIGPIPE=no
                  KillMode=process
                  GuessMainPID=no
                  RemainAfterExit=yes
                  SuccessExitStatus=5 6
                  ExecStart=/etc/init.d/grub-common start
                  ExecStop=/etc/init.d/grub-common stop


                  systemctl show grub-common.service \
                  -p FragmentPath \
                  -p SourcePath \
                  -p Type \
                  -p RemainAfterExit \
                  -p GuessMainPID \
                  -p PIDFile \
                  -p ExecStart \
                  -p TimeoutStartUSec​
                  FragmentPath=/run/systemd/generator.late/grub-common.service
                  SourcePath=/etc/init.d/grub-common
                  Type=forking
                  PIDFile=
                  RemainAfterExit=yes
                  GuessMainPID=no
                  ExecStart={ path=/etc/init.d/grub-common ; argv[]=/etc/init.d/grub-common start ; ignore_errors=no ; start_time=[Fri 2026-08-21 16:52:06 >



                  systemctl show grub-common.service \
                  -p MainPID \
                  -p ControlPID \
                  -p ExecMainPID​
                  MainPID=0
                  ControlPID=0



                  time sudo systemctl start grub-common.service
                  [sudo: authenticate] Password:

                  real0m4.626s
                  user0m0.056s
                  sys0m0.035s


                  Slava Ukraini! 🇺🇦
                  Windows no longer obstruct my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment

                  Users Viewing This Topic

                  Collapse

                  There are 0 users viewing this topic.

                  Working...
                  X