![]() |
Horribly long boot on LL4 on SSD - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17) +--- Thread: Horribly long boot on LL4 on SSD (/showthread.php?tid=5456) Pages:
1
2
|
Horribly long boot on LL4 on SSD - Roy - 07-08-2018 Hello I've installed a couple of week ago a fresh LL4 OS on my SSD Everything was find and boots and startup was super fast But now the system's load very slow.. it takes for it something like 02:20 minutes from pressing enter in GRUB until the first desktop sight I tried running systemd-analyze blame as suggested on old post here to see what takes so long.. but the output wasn't satisfying Code: 11.905s vboxadd.service Also.. what is that vboxadd.service? I remember deleting virtual box as I don't really need it right now I also tried to reformat my swap partition as it was suggested in some post I did move my home partition to another hard drive Can someone help? the internet isn't helpful that much this time... :-\ Re: Horribly long boot on LL4 on SSD - trinidad - 07-08-2018 Read the release notes here: https://www.freecinema2022.gq/forums/release-announcements/linux-lite-4-0-final-released/ Use the code to properly deal with vbox additions. Code: sudo apt purge virtualbox* sudo systemctl stop vboxadd.service sudo systemctl stop vboxadd-service.service sudo systemctl disable vboxadd.service sudo systemctl disable vboxadd-service.service TC Re: Horribly long boot on LL4 on SSD - tomg54 - 07-08-2018 Hello. Same problem here. The removal of vb via Jerry's post helped, but still over a minute to boot. I just tried installing kernel 4.4.0. out of curiosity. Now boot time is about 20 seconds, as it was with lite 3.8. Re: Horribly long boot on LL4 on SSD - Roy - 07-08-2018 Well the code to properly deal with the vbox additions only cut down 9 seconds I think I'll try different kernel versions.. I have currently installed 4.15.0 I can try 16 or 17 or downgrade.. what do you recommend? Re: Horribly long boot on LL4 on SSD - Roy - 07-08-2018 I am currently on 4.17.0 after trying 4.16.0 and 4.4.0 Boot time still the same.. or even longer with 4.4.0 I have noticed something suspicious There's a timeout waiting for two devices and after that I saw a "job" that takes 1:30 minutes and I really don't know what it is ![]() ![]() The output of systemctl status apparmor.service is: Code: apparmor.service - AppArmor initialization I have two devices to power up my Linux system which is SSD (/dev/sdb) and HDD SSD consist of two partitions one for SWAP in the beginning of the drive weights ~30GB and the rest 200GB is for root The other HDD splitted in half consist of HOME partition (/dev/sdd1) and another ext4 non-relevant old home partition (/dev/sdd2) that will be gone soon... I think the "job" is cycling between SWAP and ROOT partition doing something to them or just checking them.. And what is that "apparmor" thing fail to parse things? a bug maybe? I am still new to the linux system so help will be much appreciated Re: Horribly long boot on LL4 on SSD - Roy - 07-08-2018 Alright I fixed that "start job" annoying issue Because there was already an old system before I switched to LL4 (the time I was dual boot with LL3.8 and Win10) and then deleting the old one after everything was okay in LL4 the /etc/fstab file was corrupted I have noticed my swap partition wasn't on on every boot so I dug again but this time I searched for "start job waiting for device.." and ended up reading this answer edit the file makes it point to the right devices (it still pointed to old swap) save and reboot Now boot time is ~40 seconds! At F-ing Last..! Maybe someone should write a tutorial how to properly remove old system from a dual boot : ![]() Thank you all for supporting me I still need to fix apparmor issue.. or at least wait for a fix Thanks again ![]() Re: Horribly long boot on LL4 on SSD - trinidad - 07-09-2018 What is the result for: ls /etc/apparmor.d/ TC Re: Horribly long boot on LL4 on SSD - Roy - 07-09-2018 The content of it is: Code: total 152 Re: Horribly long boot on LL4 on SSD - trinidad - 07-09-2018 Run your system on the kernel it came with, and only go forward with repairs for your problem on that kernel. Second problem shouldn't even be there in LL 4.0 so I'm assuming you changed kernels at some point, maybe back and forth. first problem https://bugs.launchpad.net/snapd/+bug/1739485 second problem https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038 TC Re: Horribly long boot on LL4 on SSD - tomg54 - 07-10-2018 I did not change the kernel. Installed on ssd 3x. Followed purge VB instructions per release announcements. Plus 2 minute boot, after VB purge, just under.2 minutes. I just installled xubuntu 18.04 on same spare ssd, 4.15.0-23-generic. Boot in 12 seconds. Reversion to that kernel in Lite broke my wi-fi, but, it booted fast. [size=78%]. [/size] |