linux ntfs分区转换,Ubuntu下将NTFS分区转换成Linux的ext3分区格式

Ubuntu实在太吸引人了,Windows也不想要了,因为早些的时候用的Windows,所以有2个硬盘分区一直是NTFS格式的。不想要了,反正Windows系统都给我删掉的。

这里用我的D盘当例子吧,因为是分区格式转换完了写的这个,所以,可能中间的操作可能会有些不是很准确(哈哈,也差不到哪里去),不过,步骤是错不了的!

D:在Linux下对应于/dev/hda6,操作步骤如下:

1、先将/dev/hda6给卸载掉(sudo umount /dev/hda6 )

2、用fdisk转换分区格式,改为83

sudo fdisk /dev/hda

Command (m for help): m (这里有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 //这个t就是偶们要用的

u change display/entry units

v verify the partition table

w write table to disk and exit

x extra functionality (experts only)

下面就是要用t命来修改下分区的id

Command (m for help): t

Partition number (1-10): 6 //这个是分区号

Hex code (type L to list codes):83 // 83是Linux的id,可以敲一个“l”查看一下0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值