How To Fix Slow Boot In Ubuntu 16.04 – 17.10 : Home Encryption Bug
If you’ve encrypted your home folder then you’re likely running into this bug where you have an extremely slow 2 minute plus boot time. This is a quick fix that allows you to resolve the issue in Ubuntu 17.04 & tested on 17.10 version. This impacted both of my machines that I tried Ubuntu on and this fix worked perfect.
gksudo gedit /etc/crypttab
remove UUID line
add /swapfile
Save
Reboot
ubuntu
THANKSSSS IT HELP A LOT!!!
Please help, I got error saying A start job is running for /dev/mapper/cryptswap
My pc isn't opening
Will it work on pop os Linux?
Great now my pc doesn't work
I have Kingston ssd 480GB By Boot time is Slow , Plzz Guild Me How Much should be Swaparea and link to a tutorial on Installation of Ubuntu on ssd …
it says
gksudo not found. Also helpful for beginners to say which shortcut you are using.
i have ubuntu 18.04 but it gives error like command gksudo not found
crypttab is empty. 16.04
does it work on ubuntu 16.04??
There is nothing in the text editor. What should I do?
Does it work on Lubuntu 18.04?
Thanks, you are a life saver. Now I have no boot time
Hi, I have a problem and I can't find the solution. My Ubuntu's startup is really slow, i've tried to do your solution but, when I open /etc/crypttab, the file is just empty. I've tried with gedit and geany.
Hope you can help me.
Regards from Argentina.
PD: Sory, I don't use to write in English, forget my grammar's errors.
Nothing comes up in text editor. When I close it this message pops up in the terminal ** (gedit:2493): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
Dear DAS, I have a fresh install of 17.10 with encryption. Installed gksudo and when I input the command I get the following error "Failed to run gedit '/etc/crypttab' as user root.
Unable to copy the user's Xauthorization file."
I am running an ASUS U47A with 8gb RAM / i5 2650m. My boot time is horrendous, it will reach the passkey quickly enough but once inserted it takes about a full minute or multi minute (its variable) boot time to load Ubuntu.
Any help would be much appreciated!
It fixed a slow boot on my 16.04 too. Maybe you can update the title 😉
"The program 'gksudo' is currently not installed. You can install it by typing:
sudo apt install gksu"
Do I want to install this?
YEWAA! this was exactly my problem! THX A LOT MATE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The brain is filled. Now.. how about that Rocket League gaming? 😛