ubuntu 中制作init ramdisk 时候的mkinitrd的问题"mkinitrd command not found"
2014-01-17 16:44
766 查看
我在ubuntu中制作init ramdisk 的时候,遇到了这样的问题:“mkinitrd
command not found ”。
当时我以为是没有安装mkinitrd。可是当我“sudo
apt-get install initrd-tools”的时候还是出错。
后来发现有个命令ubuntu自带“mkinitramfs”。但是我以为mkinitramfs 和 mkinitrd的用法一样。
其实不是:mkinitramfs 要比mkinitrd 的命令后面要加个参数“-o”;
例如:
mkinitrd initrd-2.6.32 2.6.32。
mkinitramfs -o initrd-2.6.32 2.6.32
希望给初学者带来帮助。
command not found ”。
当时我以为是没有安装mkinitrd。可是当我“sudo
apt-get install initrd-tools”的时候还是出错。
后来发现有个命令ubuntu自带“mkinitramfs”。但是我以为mkinitramfs 和 mkinitrd的用法一样。
其实不是:mkinitramfs 要比mkinitrd 的命令后面要加个参数“-o”;
例如:
mkinitrd initrd-2.6.32 2.6.32。
mkinitramfs -o initrd-2.6.32 2.6.32
希望给初学者带来帮助。
相关文章推荐
- 解决ubuntu编译内核uImage出现问题"mkimage" command not found - U-Boot images will not be built问题
- ubuntu 下 Eclipse C\C++ 问题:Eclipse: "Launch failed. Binary not found"
- make的时候会报错"g++: Command not found"
- cmd "command not found"问题的真正原因和解决办法
- ubuntu 安装 java时遇到的问题 add-apt-repository command not found
- Ubuntu 下运行 Shell 脚本时显示 "declare not found" 的问题
- 解决ubuntu sudo not found command的问题
- Linux下解决“shutdown: command not found"问题
- 修复"The symbol grub xputs not found"问题
- ubuntu安装apache2出现"Config variable ${APACHE_LOCK_DIR} is not defined"问题的解决方法
- linux 解决Ubuntu编译内核uImage出现问题“mkimage” command not found - U-Boot images will not be built问题
- 1.android入门不能忽视的问题之出现“ClassNotFoundException: Didn't find class "...Activity" on path: DexPathLis”错误
- ubuntu 14.04 vsfptd command not found
- 解决linux下"bash:shutdown:command not found"的解决方法
- vnc Unable to licence server: "XML error 0:0 Error: First Tag not found"问题的解决
- the emacs windows initialization file "term/w32-winel" could not be found问题如何解决
- 如何解决ROS "roscore command not found"
- 【Linux】【Docker】CentOS6.9主机上Docker Ubuntu14.04系统安装CUDA问题Module nvidia-uvm not found
- "source:not found" in Ubuntu10.10
- 我遇到的问题:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path