在联想 N200 4GBRAM 180HDD 上,20.04 LTS 的启动时间非常长

在联想 N200 4GBRAM 180HDD 上,20.04 LTS 的启动时间非常长

PC 规格为: ''' Linux krishna-3000-N200 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux ''' PC 的 lshw 如下:

''' 描述:计算机宽度:64 位功能:smp vsyscall32

*-core 描述:主板物理 ID:0 *-memory 描述:系统内存物理 ID:0 大小:4GiB *-cpu 产品:Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz 供应商:Intel Corp. 物理 ID:1 总线信息:cpu@0 大小:1318MHz 容量:1667MHz 宽度:64 位

 *-pci
      description: Host bridge
      product: Mobile PM965/GM965/GL960 Memory Controller Hub
      vendor: Intel Corporation
      physical id: 100
      bus info: pci@0000:00:00.0
      version: 0c
      width: 32 bits
      clock: 33MHz
    *-display:0
         description: VGA compatible controller
         product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
         vendor: Intel Corporation
         physical id: 2
         bus info: pci@0000:00:02.0
         version: 0c
         width: 64 bits
         clock: 33MHz
         capabilities: vga_controller bus_master cap_list rom
         configuration: driver=i915 latency=0
         resources: irq:16 memory:fc000000-fc0fffff memory:d0000000-dfffffff ioport:1800(size=8) memory:c0000-dffff
    *-display:1 UNCLAIMED
         description: Display controller
         product: Mobile GM965/GL960 Integrated Graphics Controller (secondary)
         vendor: Intel Corporation
         physical id: 2.1
         bus info: pci@0000:00:02.1
         version: 0c
         width: 64 bits
         clock: 33MHz
         capabilities: bus_master cap_list
         configuration: latency=0
         resources: memory:fc100000-fc1fffff

'''

以下是关键路径输出。

'''

graphic.target @1分钟21.638秒
└─multi-user.target @1分钟 21.636秒
  └─snapd.seeded.service @52.716s +528ms
    └─snapd.service @31.105s +21.599s
      └─basic.target @30.277秒
        └─sockets.target @30.277s
          └─snapd.socket @30.270s +6ms
            └─sysinit.target @30.123s
              └─snapd.apparmor.service @29.266s +856ms
                └─apparmor.service @27.535s +1.728s
                  └─local-fs.target @27.533秒
                    └─run-snapd-ns-canonical\x2dlivepatch.mnt.mount @45.633s
                      └─run-snapd-ns.mount @43.622s
                        └─swap.target @27.011秒
                          └─dev-disk-by\x2duuid-44e357ef\x2dfd87\x2d4721\x2d8870\x2df8b1c14d9339.swap @26.939s +69ms
                            └─dev-disk-by\x2duuid-44e357ef\x2dfd87\x2d4721\x2d8870\x2df8b1c14d9339.device @26.936s

'''

请提出任何建议,以将启动时间从 2 分钟减少。

相关内容