ext4 migration on my laptop

ext4 migration on my laptop

1:05 AM PST, December 30, 2008, updated at 1:07 AM PST, January 16, 2009

I migrated from ext3 -> ext4 on my laptop.

tune2fs -O extents,uninit_bg,dir_index /dev/sda1
After running this command you must run fsck.

On kernels < 2.6.28 one needs:
tune2fs -E test_fs /dev/sda1


I thought of no bad and simply rebooted. That was a mistake: grub won't boot from an ext4 partition. So I had to install grub2 instead.

grub2 on the other hand would boot, but the initrd needed to be rebuilt: I had to add the ext4, jbd2, and crc16 modules.

After that the laptop would boot, but the system tries to mount the root as ext3, which fails due to "optional unsupported features (40)". I had to pass an additional parameter:

rootfstype=ext4

in grub.

On kernels < 2.6.28 one needs to use ext4dev instead of ext4

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值