Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道我是否可以在grub 和真正的操作系统启动之间的initrd中运行 Qt 应用程序。并在 Qt 应用程序运行时停止。
是的,您可以这样做,因为 initrd 本身也是一个迷你根系统。但是,与普通的根系统相比,initrd 中没有包含很多库以保持合理的大小。所以你必须自己添加 QT 程序所需的所有库。或者你可以编译一个静态链接的 QT 程序,它比动态的要简单一点。