0

How can I know from which device the Linux kernel booted?

4

3 回答 3

0

事实上,像http://lkml.org/lkml/2003/12/19/139这样的东西可以满足我。但更简单的方法将不胜感激。

于 2010-06-29T14:38:38.100 回答
0
mount

Unless that command specifies a device for /boot then you can assume that it's on /.

于 2010-06-29T14:24:26.677 回答
0
cat /proc/cmdline 
于 2010-07-03T02:32:05.077 回答