当前位置: 首页 > news >正文

doesn‘t contain a valid partition table

  • 查看硬盘空间
$ fdisk -l
Disk /dev/mmcblk0: 29 GB, 31037849600 bytes, 60620800 sectors
947200 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytesDisk /dev/mmcblk0 doesn't contain a valid partition table
Disk /dev/mmcblk0p1: 1 MB, 1048576 bytes, 2048 sectors
32 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytesDisk /dev/mmcblk0p1 doesn't contain a valid partition table
  • 解决办法
$ fdisk /dev/mmcblk0

m:菜单

Command (m for help): m
Command Action
a       toggle a bootable flag
b       edit bsd disklabel
c       toggle the dos compatibility flag
d       delete a partition
l       list known partition types
n       add a new partition
o       create a new empty DOS partition table
p       print the partition table
q       quit without saving changes
s       create a new empty Sun disklabel
t       change a partition's system id
u       change display/entry units
v       verify the partition table
w       write table to disk and exit
x       extra functionality (experts only)Command (m for help): n
Partition typep   primary partition (1-4)e   extended
p
Partition number (1-4): q
Partition number (1-4): 1
First sector (16-60620799, default 16):
Using default value 16
Last sector or +size{,K,M,G,T} (16-60620799, default 60620799):
Using default value 60620799Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy

http://www.lryc.cn/news/332048.html

相关文章:

  • modprobe加载驱动模块时报错:modprobe: module xxx.ko not found in modules.dep
  • 游戏引擎中的粒子系统
  • 哈佛大学商业评论 -- 第二篇:增强现实是如何工作的?
  • 『python爬虫』巨量http代理使用 每天白嫖1000ip(保姆级图文)
  • 6-95 希尔排序(Java语言描述)
  • JAVA面试大全之分布式篇
  • qt各种锁使用讲解
  • 5.111 BCC工具之ext4dist.py解读
  • Rust 的 termion 库控制终端光标的位置
  • ADB(Android Debug Bridge)操作命令详解及示例
  • 书生浦语训练营2期-第二节课笔记作业
  • 【日常积累】指定ruby版本环境安装
  • SOC内部集成网络MAC外设+ PHY网络芯片方案:MII/RMII 接口与 MDIO 接口
  • 简单了解HTTP和HTTPS
  • 系列学习前端之第 9 章:一文搞懂 Node.js 和 nvm,掌握 npm
  • 超强命令行解析工具Apache Commons CLI
  • JAVAEE——多线程进阶,锁策略
  • 富文本编辑器Quill全套教程
  • Swift 代码注释的使用
  • 蓝桥杯—DS1302
  • nginx: 集群环境配置搭建
  • Linux:进程终止和等待
  • 一、next-auth 身份验证凭据-使用电子邮件和密码注册登录
  • 2.SpringBoot利用Thymeleaf实现页面的展示
  • devtool: ‘source-map‘ 和 devtool: ‘#source-map‘的区别
  • Flutter Boost 3
  • ElementUI响应式Layout布局xs,sm,md,lg,xl
  • 机器学习——典型的卷积神经网络
  • 速通数据结构与算法第四站 双链表
  • 51单片机学习笔记12 SPI接口 使用1302时钟