I found out that the slow boot comes from a large initrd. I also found out that at that point the system is relying on a slow but reliable access method from the BIOS to load the kernel. That all makes sense now. To fix the problem you can edit /etc/initramfs-tools/initramfs.conf and set "MODULES=dep". Then run "sudo update-initramfs -u". This reduced initrd from 245 MB to 5.4M. I'm not sure why it is larger or some systems. Maybe it is usually this large these days and some systems have a much slower BIOS disk access routine. Now this phase of boot takes less than 2 seconds.
"Loading initial ramdisk" is slow at boot
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
DTS設備樹學習(二)
高大上的simon哥哥
2020-07-07 22:23:56
Linux kernel OOPS解析:
高大上的simon哥哥
2020-07-07 22:23:56
DTS文件詳解,DTS文件解析
高大上的simon哥哥
2020-07-07 22:23:56
kernel command
zhyjunFov
2020-07-04 16:23:18
Linux 內核配置方式詳解
zhyjunFov
2020-07-04 16:23:15
20.Linux3.4內核啓動源碼分析(zImage內核解壓過程分析)
mini-coco
2020-07-03 21:52:40
23.nanopi t2 s5p4418超頻
mini-coco
2020-07-03 21:52:40
15.【linux驅動】spi驅動
mini-coco
2020-07-03 21:52:40
Linux內存管理第四章 -- 進程地址空間(Process Address Space)
猿来如此yXy
2020-07-03 03:44:25
Linux內存管理第二章 -- Describing Physical Memory
猿来如此yXy
2020-07-03 03:44:25
Linux內存管理第六章 -- Physical Page Allocation(Buddy Allocator)
猿来如此yXy
2020-07-03 03:44:25
Linux內存管理第八章 -- Slab Allocator (一)
猿来如此yXy
2020-07-03 03:44:25
Linux內存管理第十章 -- 頁框回收(Page Frame Reclamation)
猿来如此yXy
2020-07-03 03:44:25