新手请教下.如何在Ubuntu下挂载system.img ext4文件呢

为当前最终发行版之前的所有版本提供支持
回复
dslz666
帖子: 1
注册时间: 2013-02-05 20:06
系统: ubuntu
送出感谢: 0
接收感谢: 0

新手请教下.如何在Ubuntu下挂载system.img ext4文件呢

#1

帖子 dslz666 » 2013-02-06 18:54

本想在Ubuntu 挂载安卓的IMG文件,来修改刷机包

那刷机包的SYSTEM分成了6个IMG 就是system_1.img / system_2.img / system_3.img ........ system_6.img

代码: 全选

 运行 sudo mount   -o loop   system_1.img  system 
显示
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error
       系统日志中可能有一些重要的信息,
       试试用 dmesg | tail 之类的命令查看。


 

代码: 全选

运行  dmesg | tail  查看LOG
显示
[   74.005499] audit_printk_skb: 18 callbacks suppressed
[   74.005518] type=1400 audit(1360118240.727:23): apparmor="DENIED" operation="capable" parent=1 profile="/usr/lib/telepathy/mission-control-5" pid=1553 comm="mission-control" capability=23  capname="sys_nice"
[   74.415356] type=1400 audit(1360118241.135:24): apparmor="DENIED" operation="open" parent=1 profile="/usr/lib/telepathy/mission-control-5" name="/usr/share/gvfs/remote-volume-monitors/" pid=1553 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[  365.116251] EXT4-fs (loop0): bad geometry: block count 97656 exceeds size of device (32767 blocks)
[  579.113993] hrtimer: interrupt took 5682946 ns
[  630.545278] EXT4-fs (loop0): bad geometry: block count 97656 exceeds size of device (32767 blocks)
[  644.026965] EXT4-fs (loop0): Unrecognized mount option "loop1" or missing value
[  670.312507] EXT4-fs (loop0): bad geometry: block count 97656 exceeds size of device (32767 blocks)
[  788.599457] EXT4-fs (loop0): bad geometry: block count 76800 exceeds size of device (1657 blocks)
[ 1008.514549] EXT4-fs (loop0): bad geometry: block count 97656 exceeds size of device (32767 blocks)

代码: 全选

  file system_1.img
结果为
system_1.img: Linux rev 1.0 ext4 filesystem data, UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b (extents) (large files)

代码: 全选

 fdisk -l -u  system_1.img 

Disk system_1.img: 134 MB, 134213632 bytes
255 heads, 63 sectors/track, 16 cylinders, total 262136 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: 0x00000000

Disk system_1.img doesn't contain a valid partition tabl
前辈们帮帮我,谢谢了
头像
lxr1234
帖子: 721
注册时间: 2009-04-10 11:15
来自: 三民主义国国民权利省我的选择市中共下台镇
送出感谢: 0
接收感谢: 14 次

Re: 新手请教下.如何在Ubuntu下挂载system.img ext4文件呢

#2

帖子 lxr1234 » 2013-02-07 2:35

好像这个文件的大小超过分区信息中标示的拉,可能被追加了零
强烈反对M$的ARM Secure Boot 锁定要求,大家请签名反对
http://www.fsf.org/campaigns/secure-boo ... cted-boot/
dramforever
帖子: 37
注册时间: 2012-07-26 9:55
系统: ubuntu 12.04 i386 老机
送出感谢: 0
接收感谢: 1 次

Re: 新手请教下.如何在Ubuntu下挂载system.img ext4文件呢

#3

帖子 dramforever » 2013-02-08 18:47

一句话:坏的,挂载个头
一天看到内核调试开关叫KDEBUG,然后就不想用kubuntu了
回复

回到 “老旧版本支持”