菜鳥詢問:ext3 可以轉換成為 ext4 嗎?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Archangelwu
帖子: 10
注册时间: 2007-05-10 18:23

菜鳥詢問:ext3 可以轉換成為 ext4 嗎?

#1

帖子 Archangelwu » 2009-03-05 15:00

也就是說,不要重新做分區,把現有資料的 ext3 分區,直接升級或轉換到 ext4!

不知道該怎麼做,或是沒有辦法,得一定要重做分區。

請老鳥指點了 :em01
上次由 Archangelwu 在 2009-03-05 15:18,总共编辑 1 次。
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 菜鳥詢問:ext4 可以轉換成為 ext4 嗎?

#2

帖子 BigSnake.NET » 2009-03-05 15:01

可以直接转换
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
lerosua
论坛版主
帖子: 8455
注册时间: 2007-11-29 9:41
联系:

Re: 菜鳥詢問:ext4 可以轉換成為 ext4 嗎?

#3

帖子 lerosua » 2009-03-05 15:05

题目写错了。呵呵
头像
drvicar
帖子: 1285
注册时间: 2007-12-17 18:07
来自: 西安

Re: 菜鳥詢問:ext4 可以轉換成為 ext4 嗎?

#4

帖子 drvicar » 2009-03-05 15:09

:em03 我就说吗 本来就是4了还要转成4 什么逻辑 呵呵。
Archangelwu
帖子: 10
注册时间: 2007-05-10 18:23

Re: 菜鳥詢問:ext3 可以轉換成為 ext4 嗎?

#5

帖子 Archangelwu » 2009-03-05 15:19

lerosua 写了:题目写错了。呵呵
謝謝 lerosua 提醒,已經改好了!
Archangelwu
帖子: 10
注册时间: 2007-05-10 18:23

Re: 菜鳥詢問:ext3 可以轉換成為 ext4 嗎?

#6

帖子 Archangelwu » 2009-03-05 15:20

剛剛找到這訊息............

3.2. Migrate existing Ext3 filesystems to Ext4

You need to use the tune2fs and fsck tools in the filesystem, and that filesystem needs to be unmounted. Run:

*

tune2fs -O extents,uninit_bg,dir_index /dev/yourfilesystem

After running this command you MUST run fsck. If you don't do it, Ext4 WILL NOT MOUNT your filesystem. This fsck run is needed to return the filesystem to a consistent state. It WILL tell you that it finds checksum errors in the group descriptors - it's expected, and it's exactly what it needs to be rebuilt to be able to mount it as Ext4, so don't get surprised by them. Since each time it finds one of those errors it asks you what to do, always say YES. If you don't want to be asked, add the "-p" parameter to the fsck command, it means "automatic repair":

*

fsck -pf /dev/yourfilesystem
回复