升级至Ext4
今天终于忍不住把分区格式转到了Ext4.
很简单, 用puppy或者其它livecd引导, 把原来的分区tar到移动硬盘, 格式化为Ext4后再tar回来就是了. 之所以建立新的Ext4分区而不是从Ext3转过去是为了保证原有文件也使用了Ext4新的特性.
下面是根分区的操作, 其它分区类似:
tar cvpf /mnt/mount_point_of_storage/root.tar -C /mnt/mount_point_of_root ./
mkfs.ext4 /dev/partition_of_root
tar xvpf /mnt/mount_point_of_storage/root.tar -C /mnt/mount_point_of_root
PS1: 记得改fstab和grub.
PS2: 从去年的七月初开始想转Ext4, 一直忍到现在才动手. 事实证明, 我是一个多么稳重的人儿啊…


太沉着了……竟然能忍到现在
我在考虑什么时候用btrfs呢
[Reply]
adam8157 Reply:
July 16th, 2010 at 16:20
@delectate, 你木有哥稳重…哇哈哈
[Reply]
delectate
16 Jul 10 at 16:17
我上百g的资料 怎么tar啊..
[Reply]
adam8157 Reply:
August 26th, 2010 at 00:10
@ofan, 那就copy出来, 其实和tar差不了多少. 没有洁癖的话也可以直接升级.
[Reply]
delectate Reply:
September 1st, 2010 at 19:03
@adam8157, rsync比较有保障
[Reply]
ofan
24 Aug 10 at 23:11