Ask Your Question
1

Slow boot on Fedora29

asked 2018-12-20 11:27:04 -0500

malcolmmaya gravatar image

updated 2018-12-20 21:00:44 -0500

My Fedora install recently (two weeks or so) started to boot very slowly. Like minutes slowly. I tried to use systemd-analyse blame to find the culprit and ended up with this

$ systemd-analyze blame
         38.697s dracut-initqueue.service
         28.396s dnf-makecache.service
          6.450s NetworkManager-wait-online.service
          4.660s plymouth-quit-wait.service
           804ms initrd-switch-root.service
           764ms systemd-udev-settle.service
           523ms udisks2.service

I assumed something about my dracut initramfs went wrong after an update but didn't really know where to go with this since a quick google didn't lead to anything. In desperation I just reinstalled my Fedora machine to find that the same problem is still there on a clean install.

So now I'm turning to the community to help me find out what is happening there. Any lead on to what information I should look for ? Why is my machine suddenly so slow to boot ? Why is dracut-initqueue taking so long :/ ?

Run systemd-analyze by itself returns:

$ systemd-analyze
Startup finished in 2.989s (kernel) + 39.442s (initrd) + 9.278s (userspace) = 51.711s
graphical.target reached after 7.527s in userspace

Which is a lot longer than what it used to

edit retag flag offensive close merge delete

Comments

How long does boot take? If you don't know, run systemd-analyze by itself, and the last number will be the total boot time. If I were you, I'd only look at the top two services, as they're the only ones that take a significant length of time.

sideburns gravatar imagesideburns ( 2018-12-20 13:57:08 -0500 )edit

I updated the post to answer the question :)

malcolmmaya gravatar imagemalcolmmaya ( 2018-12-20 21:01:05 -0500 )edit

Hello

Exactly same problem here, even on a fresh install of F29... But For me dracut-initqueue.service is taking 1min 7.212s... On a SSD...(!) So if someone has the answer, I'm very interressed. Thanks!

kats gravatar imagekats ( 2019-01-07 03:12:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-01-14 02:47:47 -0500

kats gravatar image

Hi

I solved my problem which was similar to yours. I used dmesg command to check kernel boot messages and found that a USB device was failing to initialize at boot.

dmesg | grep -i error

So as I didn't know how to fix this, here is what I did:

Unplug all USB device except mouse/keyboard, reboot. Fedora booted instantly! So I plugged 1 Device after another, with a reboot between each.

Now my boot times are good again.

Hope it could help you

Just my 2 cts

Best regards

PS: It was interesting to see how much the USB initialization of each Device affects boot time...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-12-20 11:27:04 -0500

Seen: 417 times

Last updated: Jan 14