您尚未登录。

楼主 #1 2019-06-20 18:11:00

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

关于 Gparted进行SD卡分区问题

我使用GParted对tf卡进行分区,fat16分区是没问题的,但是第二分区即ext4分区失败,提示缺少软件包,有人遇到过这种问题吗?但我之前是成功格式化过1张tf卡的,不知道为什么突然出现这个问题
_20190620180941.jpg

离线

#2 2019-06-20 19:40:25

smartcar
会员
注册时间: 2018-02-19
已发帖子: 735
积分: 735

Re: 关于 Gparted进行SD卡分区问题

可能依赖别的软件:

sudo apt-get install e2fsprogs

离线

楼主 #3 2019-06-20 22:57:15

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

Re: 关于 Gparted进行SD卡分区问题

我在解决的时候发现是ext4文件系统功能引起的无法挂载,has_journal日志功能存在的时候,ext4分区无法挂载,我尝试吧这个文件系统功能去掉后,是可以成功挂载的,但是我使用晕哥提供的文件系统以及我以往成功运行的文件系统都是无法正确启动。
_20190620224924.png

[    1.440383] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.449630] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.473268] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    1.484155] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.491827] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.501335] devtmpfs: mounted
[    1.505605] Freeing unused kernel memory: 1024K
[    1.514607] Starting init: /sbin/init exists but couldn't execute it (error -8)
[    1.523472] Starting init: /bin/sh exists but couldn't execute it (error -8)
[    1.530648] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    1.544807] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #13
[    1.552190] Hardware name: Allwinner sun8i Family
[    1.556931] [<c010e4c4>] (unwind_backtrace) from [<c010b218>] (show_stack+0x10/0x14)
[    1.564677] [<c010b218>] (show_stack) from [<c06664dc>] (dump_stack+0x84/0x98)
[    1.571901] [<c06664dc>] (dump_stack) from [<c011b544>] (panic+0xdc/0x248)
[    1.578778] [<c011b544>] (panic) from [<c0678ef0>] (kernel_init+0x100/0x110)
[    1.585825] [<c0678ef0>] (kernel_init) from [<c0107578>] (ret_from_fork+0x14/0x3c)
[    1.593398] Rebooting in 5 seconds..

还有一种情况就是当我解压文件系统并在ext4分区重新添加has_journal功能时,开发板启动信息显示无法找到ext4分区,难道是tf卡的问题?我已经用2张tf卡试过

[    1.434514]   #0: V3s Audio Codec
[    1.440421] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.449675] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.461824] JBD2: no valid journal superblock found
[    1.466800] EXT4-fs (mmcblk0p2): error loading journal
[    1.473809] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.483139] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.495212] JBD2: no valid journal superblock found
[    1.500203] EXT4-fs (mmcblk0p2): error loading journal
[    1.506561] List of all partitions:
[    1.510081] b300         1967104 mmcblk0 
[    1.510087]  driver: mmcblk
[    1.516961]   b301           30720 mmcblk0p1 5decf8e4-01
[    1.516965] 
[    1.523758]   b302         1934336 mmcblk0p2 5decf8e4-02
[    1.523760] 
[    1.530570] No filesystem could mount root, tried: 
[    1.530573]  ext3
[    1.535441]  ext2
[    1.537377]  ext4
[    1.539299]  vfat
[    1.541219] 
[    1.544632] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[    1.553062] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #13
[    1.560444] Hardware name: Allwinner sun8i Family
[    1.565183] [<c010e4c4>] (unwind_backtrace) from [<c010b218>] (show_stack+0x10/0x14)
[    1.572930] [<c010b218>] (show_stack) from [<c06664dc>] (dump_stack+0x84/0x98)
[    1.580153] [<c06664dc>] (dump_stack) from [<c011b544>] (panic+0xdc/0x248)
[    1.587029] [<c011b544>] (panic) from [<c0901278>] (mount_block_root+0x224/0x26c)
[    1.594508] [<c0901278>] (mount_block_root) from [<c09013e4>] (mount_root+0x124/0x12c)
[    1.602417] [<c09013e4>] (mount_root) from [<c090153c>] (prepare_namespace+0x150/0x198)
[    1.610414] [<c090153c>] (prepare_namespace) from [<c0900e24>] (kernel_init_freeable+0x1bc/0x1cc)
[    1.619278] [<c0900e24>] (kernel_init_freeable) from [<c0678df8>] (kernel_init+0x8/0x110)
[    1.627451] [<c0678df8>] (kernel_init) from [<c0107578>] (ret_from_fork+0x14/0x3c)
[    1.635023] Rebooting in 5 seconds..

最近编辑记录 605364021 (2019-06-20 23:17:06)

离线

楼主 #4 2019-06-21 11:09:01

605364021
会员
注册时间: 2018-10-23
已发帖子: 251
积分: 251

Re: 关于 Gparted进行SD卡分区问题

tf卡奸商,买的是扩容卡,坑爹。

离线

#5 2019-06-21 13:54:54

cityf
会员
注册时间: 2017-11-03
已发帖子: 195
积分: 195

Re: 关于 Gparted进行SD卡分区问题

还有这种骚操作,大千世界,无奇不有。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn