1

When I was using only Ubuntu 15.10, the boot time was very fast, it was about 15-20 seconds.

Recently I installed Kali-Linux rolling edition along side Ubuntu 15.10.
Afterwards the boot time of Ubuntu has drastically increased (Kali boots fast enough).
It takes almost 3 to 4 minutes -> "Ubuntu ....." loading.

  • My system partitions :

enter image description here

enter image description here *for higher resolution click here

I noticed that there is a gap of 72 Sec between line 971 to 972 in dmesg file.

I don't know why ?

Please help me to solve this problem.

6
  • I had the same issue just one month ago, then I found that installing kali with the same swap partition of Ubuntu, automatically changed partition UUID. Let's take a look at this link, hope it can help you!
    – MKay
    Feb 21, 2016 at 11:00
  • @MKay could you solve the problem? if yes please consider writing an answer. Thanks :-) Feb 21, 2016 at 11:13
  • Could you post the output of journalctl command and of /etc/fstab file, please?
    – MKay
    Feb 21, 2016 at 11:16
  • @MKay output posted., please see the updated question now :-) Feb 21, 2016 at 11:34
  • 1
    Please post also the OP for blkid /dev/sda4, I'm sorry I forgot. Anyway if you search for lines containing swap in journalctl command OP you can see errors in mounting partition. I think that you could try copying UUID of /dev/sda4 in /etc/fstab of Kali and substituting it in /etc/fstab of Ubuntu, this should solve the issue!
    – MKay
    Feb 21, 2016 at 11:53

2 Answers 2

3

Boot from Ubuntu installation media.

Select Try Ubuntu without installing.

Step 1 : Reinstall the Ubuntu GRUB boot loader.

Open a terminal and execute :

sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
update-grub  
exit

Step 2 : Correct the UUID entries in the fstab file.

Open another terminal and execute :

sudo blkid  

Open another terminal and execute :

sudo gedit /mnt/etc/fstab

Replace the UUID entries of sda1 | sda2 | sda3 | sda4

with those of the output given from the blkid command.

Close all terminals and reboot into Ubuntu operating system.

2
  • Thank you very much for your quick response with working answer :-) , This solved my problem. I can now boot Ubuntu fast. BUT!! My Kali-lost its speed :-( please see this Invalid UUID error in kali Feb 21, 2016 at 12:18
  • @SeverusTux : You're welcome ! ... and - the kali issue has to be fixed in kali ... enjoy ubuntu experience ! :)
    – cl-netbox
    Feb 21, 2016 at 15:10
0

Re-install grub and update entire fstab is more then necessary! if you wand the ubuntu splash-screen in grub instead kali splash-screen, yes you can reinstall grub.

kali(debian) installer, when installed belong another distro, do not take care about there have an existing swap partition so the installer format it again; once the swap partition has been formatted the UUID has change!

The only necessary is up to date the UUID of swap partition in the fstab and in "/etc/initramfs-tools/conf.d/resume" and regenerate the initramfs to let hibernation work again.

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.