linux下格式化SD卡

您所在的位置:网站首页 在mac上格式化存储卡的方法 linux下格式化SD卡

linux下格式化SD卡

2024-07-17 15:21:56| 来源: 网络整理| 查看: 265

在linux下面给sd卡分区,格式化是非常轻松的。 我安装的系统是ubuntu10.04。 sd卡插上之后,自动mount了。 所以,第一步,umount。 $sudo -i  输入自己的密码取得root权限。 # mount 可以看到最后一行的设备号 /dev/mmcblk0 on /media/60C5-3EC0 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush) umount这个sd卡

# umount /dev/mmcblk0

下面上场的是fdisk工具。 # fdisk /dev/mmcblk0 fdisk命令都是非常简单的。 WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). 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 m   print this menu 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) 先p,看看sd卡的分区现状。 然后d,删除原分区 n,创建分区 Command (m for help): n Command action e   extended p   primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-62528, default 1): 1 Last cylinder, +cylinders or +size{K,M,G} (1-62528, default 62528):  +1500M t,指定分区类型, Command (m for help): t Selected partition 1 Hex code (type L to list codes): L 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris         1  FAT12           39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT- 2  XENIX root      3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT- 3  XENIX usr       40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT- 4  FAT16


【本文地址】

公司简介

联系我们

今日新闻


点击排行

实验室常用的仪器、试剂和
说到实验室常用到的东西,主要就分为仪器、试剂和耗
不用再找了,全球10大实验
01、赛默飞世尔科技(热电)Thermo Fisher Scientif
三代水柜的量产巅峰T-72坦
作者:寞寒最近,西边闹腾挺大,本来小寞以为忙完这
通风柜跟实验室通风系统有
说到通风柜跟实验室通风,不少人都纠结二者到底是不
集消毒杀菌、烘干收纳为一
厨房是家里细菌较多的地方,潮湿的环境、没有完全密
实验室设备之全钢实验台如
全钢实验台是实验室家具中较为重要的家具之一,很多

推荐新闻


    图片新闻

    实验室药品柜的特性有哪些
    实验室药品柜是实验室家具的重要组成部分之一,主要
    小学科学实验中有哪些教学
    计算机 计算器 一般 打孔器 打气筒 仪器车 显微镜
    实验室各种仪器原理动图讲
    1.紫外分光光谱UV分析原理:吸收紫外光能量,引起分
    高中化学常见仪器及实验装
    1、可加热仪器:2、计量仪器:(1)仪器A的名称:量
    微生物操作主要设备和器具
    今天盘点一下微生物操作主要设备和器具,别嫌我啰嗦
    浅谈通风柜使用基本常识
     众所周知,通风柜功能中最主要的就是排气功能。在

    专题文章

      CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭