/dev/root: No such file or directory

/***************************************************************************
 *                /dev/root: No such file or directory
 * 说明:
 *     在使用SD卡自动扩展功能的时候,发现/dev/root不存在,找一下原因。
 *
 *                                       2017-4-1 深圳 南山平山村 曾剑锋
 **************************************************************************/

一、参考文档:
    Find out what device /dev/root represents in Linux?
        http://unix.stackexchange.com/questions/17563/find-out-what-device-dev-root-represents-in-linux

二、cat /etc/fstab
    # <file system> <mount pt>      <type>  <options>       <dump>  <pass>
    rootfs       /               ext2    rw,noauto       0       1
    proc            /proc           proc    defaults        0       0
    devpts          /dev/pts        devpts  defaults,gid=5,mode=620 0       0
    tmpfs           /dev/shm        tmpfs   mode=0777       0       0
    tmpfs           /tmp            tmpfs   mode=1777       0       0
    tmpfs           /run            tmpfs   mode=0755,nosuid,nodev  0       0
    sysfs           /sys            sysfs   defaults        0       0

三、修改说明:
    1. 将/etc/fstab文件里<file system>字段的rootfs换成/dev/root;
    2. 修改如下:
        # <file system> <mount pt>      <type>  <options>       <dump>  <pass>
        /dev/root       /               ext2    rw,noauto       0       1
        proc            /proc           proc    defaults        0       0
        devpts          /dev/pts        devpts  defaults,gid=5,mode=620 0       0
        tmpfs           /dev/shm        tmpfs   mode=0777       0       0
        tmpfs           /tmp            tmpfs   mode=1777       0       0
        tmpfs           /run            tmpfs   mode=0755,nosuid,nodev  0       0
        sysfs           /sys            sysfs   defaults        0       0
时间: 2024-10-18 15:07:57

/dev/root: No such file or directory的相关文章

vmware:Could not open /dev/vmmon: No such file or directory.

Q: Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded. method: Solution "vmmon" is the virtual machine monitor kernel module. You can rebuid it by running: sudo vmware-modconfig --cons

can&#39;t open /dev/ttyS0: No such file or directory

今天用 Buildroot 编译文件系统烧写到开发板启动提示下面的错误 can't open /dev/ttyS0: No such file or directorycan't open /dev/ttyS0: No such file or directorycan't open /dev/ttyS0: No such file or directorycan't open /dev/ttyS0: No such file or directorycan't open /dev/ttyS0:

CentOS6.5环境安装VMware虚拟机----解决启动虚拟机时could not open /dev/vmmon: No such file or directory的问题

我之前在ubuntu中安装vmware很顺利的就装好了,但是在centos 6.5 64bit中安装vmware workstation 10.0.4安装之后,重启系统后却无法使用,出现Could not open /dev/vmmon的错误,在网上找了好多资料都不对,最后好不容易找到了解决办法...贴在这里,已被以后再用 1.首先到官网上下载最新的版本,下载到本地后赋予可执行的权限. 下载地址是https://my.vmware.com/web/vmware/info/slug/desktop

Linux格式化分区报错Could not start /dev/sda No such file or directory 解决办法

查看已经分好的区 [[email protected] ~]# fdisk -l /dev/sda   Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280bytes Sector size (logical/physical): 512 bytes /512 bytes I/O size (m

完美解决VMware Workstation : Could not open /dev/vmmon: No such file or directory

[email protected]:/usr/bin# cd /etc/init.d [email protected]:/usr/bin# sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old [email protected]:/usr/bin# sudo vmware-modconfig --console --install-all --appname="VMware Player"

Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

Try this : sudo modprobe vboxnetadp ref: https://github.com/gasolin/foxbox/issues/32

Linux 格式化分区 报错Could not stat --- No such file or directory 和 partprobe 命令

分区的过程正常: [[email protected] /]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot      Start         End      Blocks   Id  System /dev/sda1   *

使用华为U8860测试时出现“Unable to open log device &#39;/dev/log/main&#39;: No such file or directory”

这是因为华为默认禁掉了log输出, 解决办法: 拨号: *#*#2846579#*#* 会显示工程菜单, Go to "ProjectMenu" -> "Background Setting" -> "Log Setting" Open "Log switch" and set it to ON. Open "Log level setting" and set the log level yo

logcat 提示 Unable to open log device &#39;/dev/log/main&#39;: No such file or directory

解决办法: Open: /system/etc/init.d/××× (not the same file on different ROMs, find the right file) Find the line that says: rm /dev/log/main Change the line to: # rm /dev/log/main (comments out the line, rm = remove, in case you were wondering) Save and r