There are tons of ways to do this but today i will post live cd method.You need a Jaunty Live CD for this(Other live cds probably will work but this is what i did :) ).
Boot your Ubuntu jaunty box with live cd and give following commands at terminal :
At this example we are converting /dev/sda2 partition to ext4.If you are converting / to ext4, Ubuntu Jaunty already has a patched grub so grub can boot from ext4, do not worry about that.
$sudo bash
$tune2fs -O extents,uninit_bg,dir_index /dev/sda2
$e2fsck -pf /dev/sda1
Now we are mounting the partiton and change fstab :
$sudo bash
$mount -t ext4 /dev/sda2 /mnt
$sudo gedit /mnt/etc/fstab
Now find the sda2 line and change ext3 to ext4.Sample :
# /dev/sda2
UUID=XXXXXXXXXXXXXXXXXXXXXXXXXX / ext4 relatime,errors=remount-ro 0 1
We are done.BUT you may get grub error 13 when booting your box so before the restart give this command :
$sudo grub-install /dev/sda --root-directory=/mnt --recheck
![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | ![]() | ![]() |
![]() |
0 comments:
Post a Comment