No filesystem could mount root, tried: ext3 ext2 ext4 vfat msdos
2015-03-12 21:03
351 查看
No filesystem could mount root, tried: ext3 ext2 ext4 vfat msdos
kernel: 4.0.rc3rootfs: ramdisk
我正在做kernel对ramdisk的挂载测试,标题只是最后一句打印出错的地方,经过debug后知道了在启动时对rootfs进行挂载的流程。开始是调用populate_rootfs进行ramdisk进行挂载。但是如果要是出了问题呢?没有关系,忽略就好。上面这个流程走完后,接下来就是检测init文件存在不存在,如果不存在那么说明rootfs挂载有问题,就再把支持的所有文件系统都挂载试试。如果都不行,那么就会打印出如标题错误,内核不再启动。
那么重点就出在了第一个阶段,在不成功的时候给catch住了,其实如果不成功的话,会同时打印出Trying to unpack rootfs image as initramfs…后一句rootfs image is not initramfs (no cpio magic); looks like an initrd。当然括弧中的错误还会有以下几中:
no cpio magic
incorrect cpio method used: use -H newc option
junk in compressed archive
…
ramdisk是bootloader帮助内核弄到ram中的,如果确认没有***上的错误,那么就是bootloader这点上没有支持好。
相关文章推荐
- 启动新内核出现:No filesystem could mount root, tried: ext3 ext2 cramfs vfa
- No filesystem could mount root, tried: ext2 cramfs vfat msdos romfs
- No filesystem could mount root, tried: ext3 cramfs vfat msdos romfs
- mini2440烧录内核时重启出错:No filesystem could mount root, tried: ext3 cramfs vfa
- linux升级内核,出现:mount:could not find filesystem‘/dev/root’的解决方法
- linux升级内核,出现:mount:could not find filesystem‘/dev/root’的解决方法
- linux升级内核,出现:mount:could not find filesystem‘/dev/root’的解决方法
- 内核启动提示:mount:could not find filesystem ‘/dev/root’
- 解决错误:NAND: could not create temp file for system NAND disk image: No such file or directory
- Ubuntu 更新后崩溃:Mount of root filesystem failed
- Linux File Systems: Ext2 vs Ext3 vs Ext4
- File /tmp/hadoop-root/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 1
- Error: cannot mount filesystem: No such device
- could not find filesystem '/dev/root'
- Hi3536 Mount NFS root filesystem tips
- LFS安装完重启后无法进入系统(could not find filesystem /dev/root)
- 解决错误:NAND: could not create temp file for system NAND disk image: No such file or directory
- Resolving Ext3 Error: No journal on filesystem
- "Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- Mount a remote file system using sshfs and fuse - How to install sshfs