ext3到ext4的问题

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

ext3到ext4的问题

#1

帖子 prisoner » 2009-02-24 13:41

准备升级到9.04,请问下ext3会自动转换到ext4么?
T60-2007-DN6,T7200,2GB,120GB,14.1SXGA(1400x1050),128MB ATI Radeon X1400,DVD+RW,Intel 802.11abg wireless,DVD+RW/蓝牙/指纹/6芯
好笑的话
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

Re: ext3到ext4的问题

#2

帖子 想入非非 » 2009-02-24 16:08

好像能够转换。。。但是不能转换回来 :em06
Ubuntu User
头像
vmmm
帖子: 458
注册时间: 2008-10-23 19:01
来自: 乌有之乡

Re: ext3到ext4的问题

#3

帖子 vmmm » 2009-02-25 13:13

重装比较好,先做好备份
心中自是的,便是愚昧人
头像
yilan198711
帖子: 1635
注册时间: 2008-06-22 13:38
来自: 武汉

Re: ext3到ext4的问题

#4

帖子 yilan198711 » 2009-02-25 13:41

我是重新刻盘

安装的…………

保险 :em38
mint+gnome
头像
prisoner
帖子: 171
注册时间: 2008-07-28 14:50

Re: ext3到ext4的问题

#5

帖子 prisoner » 2009-02-25 14:53

如果是要重装的话 我还是不升级好了。
T60-2007-DN6,T7200,2GB,120GB,14.1SXGA(1400x1050),128MB ATI Radeon X1400,DVD+RW,Intel 802.11abg wireless,DVD+RW/蓝牙/指纹/6芯
好笑的话
头像
fudaming
帖子: 37
注册时间: 2005-09-09 20:42
系统: ubuntu18.04 &manjaro

Re: ext3到ext4的问题

#6

帖子 fudaming » 2009-02-27 17:01

想知道怎么转换,正好做个小白,实验一下。

这两天看着不顺眼,打算重装了。
luwen
帖子: 55
注册时间: 2007-12-07 22:59

Re: ext3到ext4的问题

#7

帖子 luwen » 2009-02-27 18:17

不会自动转换 引导区分区暂时不推荐转化的(如果转换,必须采用beta版的grub,不然不支持ext4)
头像
Alpha.Roc
帖子: 106
注册时间: 2006-08-18 20:31
联系:

Re: ext3到ext4的问题

#8

帖子 Alpha.Roc » 2009-02-27 22:10

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
首先保证 unmount 你要转换的盘(最好进入recover mode 来 unmount),然后使用 tune2fs 转换分区。。

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

转换完成后,再使用 fsck 检查磁盘,这步是必须的

fsck -pf /dev/yourfilesystem

fsck 检查时候会返回一些校验码错误——对此无须担心,只需选择 YES 进行修复。。上个命令使用 -p 开关开启了自动修复。。
我的征途是星辰大海

Cloudy PhD Student: http://cloudyphd.blogspot.com/
螺旋进化: http://helixevolution.wordpress.com/
头像
fudaming
帖子: 37
注册时间: 2005-09-09 20:42
系统: ubuntu18.04 &manjaro

Re: ext3到ext4的问题

#9

帖子 fudaming » 2009-02-28 13:14

我的根整个就是一个分区,怎么转换根呢?usb启动?
回复