IT猫扑网:您身边最放心的安全下载站! 最新更新|软件分类|软件专题|手机版|论坛转贴|软件发布

您当前所在位置:首页操作系统LINUX → linux对中毒u盘分区和格式化

linux对中毒u盘分区和格式化

时间:2015/6/28来源:IT猫扑网作者:网管联盟我要评论(0)

   u盘情况是4G,分2个区,分别为2G。其中一个分区在windows下"我的电脑"里看不见,但在磁盘管理里能看见,但没有盘符,也无法进行格式化,在FC6下,用命令fdisk -l能看见2个分区/dev/sda1 /dev/sda2,但其中一个分区还是不能挂载。
   把好的分区里的东西备份一下,准备对其重新分区和格式化。步骤如下:
   fdisk /dev/sda //对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)
   Command (m for help):w //保存更改并退出
   fdisk /dev/sda //准备分区拉
   Command (m for help):n //创建一个新的分区
   出现2个选项:e 和p e是扩展分区,p是主分区,我们要选主分区,否则会出错(反正我选e是错了)
   准备就分一个区的,就直接用默认的。
   Command (m for help):w //保存更改并退出
   这样,分区表创建好了,现在开始格式化吧。
   把它格式化成FAT32格式的
   mkfs.vfat -I -O USB /dev/sda1
   格式化完成了。

关键词标签:格式,分区,中毒,parti

相关阅读

文章评论
发表评论

热门文章 安装红帽子RedHat Linux9.0操作系统教程安装红帽子RedHat Linux9.0操作系统教程使用screen管理你的远程会话使用screen管理你的远程会话GNU/Linux安装vmwareGNU/Linux安装vmware如何登录linux vps图形界面 Linux远程桌面连如何登录linux vps图形界面 Linux远程桌面连

相关下载

人气排行 Linux下获取CPUID、硬盘序列号与MAC地址linux tc实现ip流量限制dmidecode命令查看内存型号安装红帽子RedHat Linux9.0操作系统教程linux下解压rar文件lcx.exe、nc.exe、sc.exe入侵中的使用方法Ubuntu linux 关机、重启、注销 命令查看linux服务器硬盘IO读写负载