I have Lubuntu 18.04 LTS i386 installed on an SD card on Intel Classmate PC laptop.
I have recently cloned the 16GB card to a 64GB one using Win32DiskImager and resized it using GParted LiveUSB.
The boot is absurdly slow now, and I have looked around and tried all the solutions but it seems the problem lies somewhere in GRUB, but I'm kinda fresh to Linux so I don't know here to start looking to identify it.
I disabled splash to see the kernel boot messages and found out the boot is stalling for exactly 2 minutes (120 seconds) in grub, before loading the kernel (with blank screen, no cursor), which would suggest some kind of a timeout event, but I don't know where to start looking for the cause behind it.
So far I tried solutions form other similar questions:
/etc/fstab
shows the correct UUID for disk (matchingblkid
one)blockdev --getalignoff /dev/sdb1
shows0
swap
is a file, not a partition/etc/crypttab
doesn't exist/etc/initramfs-tools/conf.d
is epmty- I ran
update-grub
- I ran
update-initramfs -uk all
systemd-analyze
doesn't account for the entirety of boot timedmesg
shows nothing interesting, as boot messages only start showing up after 2 minutes of grub limbo
It seems the stall is somewhere in grub. I have checked to make sure that /boot/grub/grub.cfg
shows UUID matching blkid
one everywhere. /var/boot.log
is empty journalctl -b
starts at the same point dmesg
does (after 2 minutes)
Any ideas as to where I could start looking to identify the problem would be greatly appreciated!
systemd-analyze critical-chain
andsystemd-analyze blame
to see what part of the boot tha takes the time.systemd-analyze
shows 30 seconds total boot time, whereas the entire boot takes over 2 minutes. Whatever happens happens inside grub / boot, before kernel loads, but I don't know how to debug that