After a necessairy boot repair, the kernel load time is significantly longer than normal: 34s. http://paste.ubuntu.com/p/s45GGcf22B I don't know how to fix that.

about: Long kernel load time the Intel Speed Step, on or off gave me both 34s for the kernel to load.

I don't understand this solution well: Is it normal for Ubuntu to take a long time to shut down after running the boot-repair program?

My grub menu seems to be on my Windows SSD and my Ubuntu on an other SSD.

I had to repair the boot since I accidently pulled out a data cable of one of my SSD drives. Luckily, I have access to my Windows and my Ubuntu.

Here is my startup script in the Grub Customizer for Ubuntu, causing the slow start:

Here is the script I found in the Grub customizer to launch my Ubuntu:

gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  c1d84984-8159-4a32-bf22-a30e1d0f33fe
  search --no-floppy --fs-uuid --set=root c1d84984-8159-4a32-bf22-a30e1d0f33fe
        linux   /boot/vmlinuz-4.15.0-128-generic root=UUID=c1d84984-8159-4a32-bf22-a30e1d0f33fe ro  quiet splash $vt_handoff
initrd  /boot/initrd.img-4.15.0-128-generic
  • 1
    Some things to check & links to even more. askubuntu.com/questions/1284302/… After abnormal shutdown, full fsck often required for ext4 partition(s) and chkdsk from Windows on NTFS partitions.
    – oldfred
    Dec 24, 2020 at 19:11
  • I don't see any need to check a full filecheck because there was no data connection to the disconnected partition. I just need to know how to launch. My Ubuntu to launch is at: /dev/sdb1.
    – Rogonow
    Dec 30, 2020 at 19:11
  • Do you have the old BIOS/MBR configuration, not new UEFI with gpt partitioning? Unless old system better to use UEFI/gpt. Grub Customizer replaces grub scripts with its own proxy scripts. Lets see details, use ppa version with your live installer (2nd option) or any working install, not Boot-Repair ISO: Please copy & paste the pastebin link to the Boot-info summary report ( do not post report), do not run the auto fix till reviewed. help.ubuntu.com/community/Boot-Repair
    – oldfred
    Dec 30, 2020 at 19:43
  • Some more info: systemd-analyze time Startup finished in 6.033s (firmware) + 5.200s (loader) + 34.282s (kernel) + 4.449s (userspace) = 49.966s graphical.target reached after 4.262s in userspace grub-install (GRUB) 2.02-2ubuntu8.20
    – Rogonow
    Dec 30, 2020 at 19:56
  • I dont know which configuration. So, I have to set root to "set root='hd1,ppa1'" ?
    – Rogonow
    Dec 30, 2020 at 20:01

1 Answer 1


I finally found the solution: Boot hangs for 30 seconds at "Begin: Running /scripts/local-premount" THe system searched for a swap file, which I don't have. I don't need a swap for my 8 GB!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.