在beaglebone black上卸载mmcblk1p1时出错-重新分区和格式化期间 [英] Error while unmounting mmcblk1p1 on beaglebone black - during repartitioning and formatting

查看:635
本文介绍了在beaglebone black上卸载mmcblk1p1时出错-重新分区和格式化期间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是嵌入式Linux的新手.我正在关注本教程( https://e2e.ti.com/support/embedded/linux/f/354/t/398780?Script-to-Erase-Emmc-independently-Beagle-Bone-Black )将我的linux系统刷新到beaglebone eMMC. 但我有一个错误:umount: can't umount /dev/mmcblk1p1: Invalid argument

Hi I'm a newbie of embeded linux. I'm following this tutorial (https://e2e.ti.com/support/embedded/linux/f/354/t/398780?Script-to-Erase-Emmc-independently-Beagle-Bone-Black) for flashing my linux system to beaglebone eMMC. But I have an error: umount: can't umount /dev/mmcblk1p1: Invalid argument

这是我的cmd:

Disk /dev/mmcblk1: 3825 MB, 3825205248 bytes
4 heads, 16 sectors/track, 116736 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk1p1   *        2048        2536       15648   e Win95 FAT16 (LBA)
/dev/mmcblk1p2               1        2047       65496  83 Linux

Partition table entries are not in disk order

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
[  235.274729]  mmcblk1: p1 p2

root@beaglebone:/# umount /dev/mmcblk1p1

umount: can't umount /dev/mmcblk1p1: Invalid argument

对不起,我的英语不好.有人对我做错了什么还是错过了什么有任何想法吗?

Sorry my English is not good. Does anybody have any idea of what did I do wrong or did I miss something?

推荐答案

这是您正在关注的脚本中的错误.如果创建的新分区没有文件系统,则不会挂载它们.

This is an error in the script you are following. If you have created new partitions without a file system you would not expect them to be mounted.

在扇区1-2047中创建第二个分区可能不是您想要的.您应该使用分区1之后的所有空间.

Creating the 2nd partition in sectors 1 - 2047 is probably not what you want to do. You should use all the space after partition 1.

这篇关于在beaglebone black上卸载mmcblk1p1时出错-重新分区和格式化期间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆