Hi Clive,

> + grep -w swap /etc/fstab
> # swap was on /dev/sda2 during installation
> UUID=830fffc7-e2cb-4b0a-b7fa-1b65198ce0c5 none            swap    sw          
>     0       0

That line in /etc/fstab matches the time-out message when booting due to
a swap area with that UUID not being found.

> + lsblk -o type,name,fstype,label,uuid,mountpoint,size,partuuid
> TYPE NAME   FSTYPE LABEL      UUID                                 MOUNTPOINT 
>   SIZE PARTUUID
> disk sdb                                                                      
> 298.1G 
> part ├─sdb4 ext4   move       5853322d-2d9d-4f95-94c4-b5ccec4a660f            
>  95.6G 0007e4a2-04
> part ├─sdb2 ext4   Linux_3    0150ffe2-94b8-4385-8f8f-9831be8a6165            
> 105.2G 0007e4a2-02
> part ├─sdb3 vfat   MSDOS      DF83-27FE                                       
>  37.3G 0007e4a2-03
> part └─sdb1 ext4   Linux_2    e1b1b42e-c985-4a51-989c-d4b247ce401b            
>  60.1G 0007e4a2-01
> rom  sr0                                                                      
>  1024M 
> disk sda                                                                      
> 298.1G 
> part ├─sda4 swap              66b0460e-9393-4743-a751-787c8108c4f0            
>   4.8G 00099971-04
> part ├─sda2 ext4   HomeBackup 8dfb5549-95bf-42d6-bcf5-1d4f9d8de40f            
>  72.2G 00099971-02
> part ├─sda3 ext4   /home      4fe28afb-f9e5-4a9c-897f-691c777a183f /home      
> 196.6G 00099971-03
> part └─sda1 ext4              bba353ae-f00e-49a5-b51e-3ec0f8b8453e /          
>  24.5G 00099971-01

The only swap-type partition is /dev/sda4, not the /dev/sda2 mentioned
in /etc/fstab's comment above.

So two choices to improve things are

    - Edit /etc/fstab and change
          830fffc7-e2cb-4b0a-b7fa-1b65198ce0c5
      to
          66b0460e-9393-4743-a751-787c8108c4f0

    - Alter /dev/sda4's UUID to be the value in /etc/fstab.
      I won't say how because the other method has less chance of
      severely breaking things if a mistake is made.  :-)

To do the first suggestion, paste these lines.

    old=UUID=830fffc7-e2cb-4b0a-b7fa-1b65198ce0c5
    new=UUID=66b0460e-9393-4743-a751-787c8108c4f0
    sudo -i sed -i.$(/bin/date -Is) "s/^$old/$new/" /etc/fstab

This command that you ran before should now show the new UUID in place.

    grep -w swap /etc/fstab

Reboot and judge if booting is quicker.  Once booted, capture the output
of these commands and tell us the URL.

    (
        set -x
        grep -w swap /etc/fstab
        swapon -s
        free -m
        systemd-analyze
        systemd-analyze blame
    ) |&
    curl -sSF 'f:1=<-' ix.io

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-08-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to