|
如何挂载已经编译好的kernel.img
发表于 2015-1-22 18:10:32
浏览:8959
|
回复:3
打印
只看该作者
[复制链接]
楼主
本帖最后由 bacon36 于 2015-1-22 18:19 编辑
新手,编译好的kernel文件。想挂载到目录上查看内容。但是
sudo mount -t ext[234] [-o loop] kernel.img testmount/
- mount: wrong fs type, bad option, bad superblock on /dev/loop3,
- missing codepage or helper program, or other error
- In some cases useful info is found in syslog - try
- dmesg | tail or so
复制代码 dmesg|tail:
- [13035.226684] EXT4-fs (loop3): VFS: Can't find ext4 filesystem
复制代码
fdisk -l kernel.img
- Disk kernel.img: 6 MB, 6330880 bytes
- 255 heads, 63 sectors/track, 0 cylinders, total 12365 sectors
- Units = sectors of 1 * 512 = 512 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x1a000003
- Disk kernel.img doesn't contain a valid partition table
复制代码
ubuntu14.4的发行版
按照网上资料,查了下没有没有 /etc/filesystems 和 /etc/vfs
完全不知道怎么办了。
|
|