Медленная загрузка Ubuntu 20.04 (при установке GRUB загружаются Mint 18.3 и Ubuntu.
Linux Mint 18.3 >systemd-analyze:
Startup finished in 5.46s (kernel) + 6.952s (userspace) = 12.416s
Ubuntu 20.04 >systemd-analyze:
Startup finished in 2.322s (kernel) + 1min 35.188s (userspace) =
1min 37.511s graphical.target reached after 1min 35.146s in userspace
>systemd-analyze blame
4.243s plymouth-quit-wait.service
1.260s dev-sdb4.device
889ms dev-loop9.device
866ms dev-loop8.device
789ms dev-loop11.device
752ms dev-loop10.device
742ms dev-loop12.device
699ms snapd.service
...
So since I read it is NOT plymouth-quit-wait.service itself that
is the problem, but the things it is waiting on here is that report.
Now what?
>systemctl list-dependencies plymouth-quit-wait.service
plymouth-quit-wait.service
● ├─system.slice
● └─sysinit.target
● ├─apparmor.service
● ├─dev-hugepages.mount
● ├─dev-mqueue.mount
● ├─keyboard-setup.service
● ├─kmod-static-nodes.service
● ├─plymouth-read-write.service
● ├─plymouth-start.service
● ├─proc-sys-fs-binfmt_misc.automount
● ├─setvtrgb.service
● ├─sys-fs-fuse-connections.mount
● ├─sys-kernel-config.mount
● ├─sys-kernel-debug.mount
● ├─sys-kernel-tracing.mount
● ├─systemd-ask-password-console.path
● ├─systemd-binfmt.service
● ├─systemd-boot-system-token.service
● ├─systemd-hwdb-update.service
● ├─systemd-journal-flush.service
● ├─systemd-journald.service
● ├─systemd-machine-id-commit.service
● ├─systemd-modules-load.service
● ├─systemd-pstore.service
● ├─systemd-random-seed.service
● ├─systemd-sysctl.service
● ├─systemd-sysusers.service
● ├─systemd-timesyncd.service
● ├─systemd-tmpfiles-setup-dev.service
● ├─systemd-tmpfiles-setup.service
● ├─systemd-udev-trigger.service
● ├─systemd-udevd.service
● ├─systemd-update-utmp.service
● ├─cryptsetup.target
● ├─local-fs.target
● │ ├─-.mount
● │ ├─home-bigubuntu-data.mount
● │ ├─systemd-fsck-root.service
● │ └─systemd-remount-fs.service
● └─swap.target
● ├─dev-disk-by\x2duuid-
5753820a\x2d8370\x2d4f29\x2d86f6\x2ddc56e5ba92a0.swap
● └─dev-disk-by\x2duuid-
82172d10\x2d5331\x2d42a1\x2d8434\x2d15455d6d1ae3.swap
Since I believe this might be related to my partitioning of the two
Solid State Hard drives, here is the Gparted 0.25.0 report:
Disk#2 250 G SSD (Mint & Ubuntu live here)
ATA Samsung SSD 850
Size: 232.89 GiB,
Path: /dev/sdb,
Partion table: msdos,
Heads: 255,
Sectors/track: 63,
Cylinders 30401,
Total sectors: 488397168,
Sector size: 512
Partition: /dev/sdb3
File Sys: fat32
Mount point: (none)
Label: GRUB
Size: 1.00 GiB
Used: 2.02 MiB
Unused: 1021.98 MiB
Flags: (none)
Partition: /dev/sdb1
File Sys: ext4
Mount point: /
Label: (none)
Size: 128.00 GiB
Used: 27.65 GiB
Unused: 100.35 GiB
Flags: (none)
Partition: /dev/sdb4
File Sys: ext4
Mount point: (none)
Label: Ubuntu
Size: 96.50 GiB
Used: 47.76 GiB
Unused: 51.19 GiB
Flags: boot
Partition: unallocated
File Sys: unallocated
Mount point: (none)
Label: (none)
Size: 1.36 MiB
Used: (none)
Unused: (none)
Flags: (none)
Partition: /dev/sdb2
File Sys: extended
Mount point: (none)
Label: (none)
Size: 6.94 GiB
Used: (none)
Unused: (none)
Flags: (none)
Partition: /dev/sdb5
File Sys: linux-swap
Mount point: (none)
Label: (none)
Size: 6.94 GiB
Used: 0 B
Unused: 6.94 GiB
Flags: (none)
Disk#1 - 1T SSD (data disk for both distros mirrored on DropBox)
ATA Samsung SSD 860
Size: 931.51 GiB,
Path: /sda
Partition table: gpt
Heads: 255
Sectors/track: 63
Cylinders: 121601
Total sectors: 1953525168
Sector size: 512, Name: data
Partition: /dev/sda1
Name: data
File Sys: ext4
Mount point: /home/big/data
Label: 1T-SSB
Size: 931.51 GiB
Used: 28.85 GiB
Unused: 902.66 GiB
Flags: (none)
Ну, вот как я «исправил» проблему с медленной загрузкой Ubuntu:
Я стер диск с операционной системой. Затем я переустановил Mint 18.3 из ISO-образ на USB-накопителе. Затем сделал ISO-образ Ubuntu 20.04 на другом USB-накопителе и установил его, просто выбрав «Установить» рядом с Mint. (Кстати, похоже, мне пришлось вынуть свой 1T SSD, чтобы добраться туда, где он не «запутался»!)
Теперь все хорошо. Однако, когда я снова вставил диск емкостью 1 ТБ, он каким-то образом был установлен в / media. Здесь живут мои локальные файлы Dropbox. Мне пришлось войти в Диски, чтобы убедиться, что он смонтировался во время загрузки. В процессе много использовал GParted.