I am having problems similar to those described in Boot much slower after partition resize. To summarise I repartitioned my hard drive to get more space in /
. To do this I deleted the swap space, resized and then repartitioned swap. Everything went cleanly except when trying to boot it takes about 1-2 minutes to get the login screen.
As suggested in these other posts:
I checked the blkid
outputs with those in /etc/fstab
and edited it so they match. This did not solve the long boot times though. Any suggestions?
Further Info:
systemd-analyze
Startup finished in 8.469s (kernel) + 3min 351ms (userspace) = 3min 8.820s
Output from systemd-analyze blame
is here
Uninteresting output from cat /etc/rc.local
is here
Output from cat /var/log/boot.log
is here
sudo blkid
output
systemd-analyze
andsystemd-analyze blame
– PyGeek03 Oct 31 '16 at 02:48systemd-analyze
: Startup finished in 8.469s (kernel) + 3min 351ms (userspace) = 3min 8.820ssystemd-analyze blame
: http://paste.ubuntu.com/23405395/ – lackos Oct 31 '16 at 02:57cat /etc/rc.local
: http://paste.ubuntu.com/23405424/cat /var/log/boot.log
: http://paste.ubuntu.com/23405433/ – lackos Oct 31 '16 at 03:09/
/home
and swap partitions match the output toblkid
. Though there is nothing beneath#/dev/mapper/cryptswap1 none swap sw 0 0
#/dev/mapper/cryptswap2 none swap sw 0 0
in the fstab file. I am not sure what these even are. – lackos Oct 31 '16 at 03:19cryptsetup remove cryptswap2
, remove the line in/etc/fstab
containing cryptswap2 then reboot. Create the swap and encrypt it again. – PyGeek03 Oct 31 '16 at 03:22/var/log/boot.log
, there was no problem with cryptswap1, maybe because you didn't touch it, so I think you don't have to remove it. – PyGeek03 Oct 31 '16 at 03:26cat /etc/fstab
andsudo blkid
, and a screenshot of gparted /dev/sda. – heynnema Oct 31 '16 at 15:35cat /etc/fstab
: http://paste.ubuntu.com/23409042/sudo blkid
: http://paste.ubuntu.com/23409046/ – lackos Oct 31 '16 at 23:05