Hi
I tried to convert my ext3 to ext4 with these comands: (found here:h**p://maketecheasier.com/how-to-upgrade-from-ext3-to-ext4-without-formatting-the-hard-disk/2009/04/21)
Go to System->Partition Editor. This will show all the partition in your hard disk. Record down the filesystem ID of the partition that you want to convert to ext4.
gparted
Close the Partition Editor. Open a terminal, type the following:
sudo tune2fs -O extents,uninit_bg,dir_index /dev/XXXX
Replace XXXX by the filesystem ID that you have recorded just now.
Once that is done, type the following to fixed your partition:
sudo fsck -pf /dev/XXXX
Don’t forget to replace XXXX with your filesystem ID.
Mount your filesystem
sudo mount -t ext4 /dev/XXXX /mnt
Open the fstab file:
gksu gedit /mnt/etc/fstab
and change the ext3 entry to ext4. Save and exit.
edit fstab
Back to the terminal, we need to reinstall the grub bootloader.
sudo grub-install /dev/XXX
This time, replace the XXX by the filesystem without the number. For example, sudo grub-install /dev/sda
Close the terminal and restart the computer. Reboot into ubuntu 9.04.
In the terminal, type
df -T
You should see your filesystem mounted as ext4 now
I couldn't change the FSTAB file (it said it was not possible to save changes).
After I restarted, I oppend Gparted and it shows the partition as Ext4, but if I do a mount command this appears: /dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro).
If I do a df -T, is also shows ext3.
Which one is correct, after all??
Thank You
I tried to convert my ext3 to ext4 with these comands: (found here:h**p://maketecheasier.com/how-to-upgrade-from-ext3-to-ext4-without-formatting-the-hard-disk/2009/04/21)
Go to System->Partition Editor. This will show all the partition in your hard disk. Record down the filesystem ID of the partition that you want to convert to ext4.
gparted
Close the Partition Editor. Open a terminal, type the following:
sudo tune2fs -O extents,uninit_bg,dir_index /dev/XXXX
Replace XXXX by the filesystem ID that you have recorded just now.
Once that is done, type the following to fixed your partition:
sudo fsck -pf /dev/XXXX
Don’t forget to replace XXXX with your filesystem ID.
Mount your filesystem
sudo mount -t ext4 /dev/XXXX /mnt
Open the fstab file:
gksu gedit /mnt/etc/fstab
and change the ext3 entry to ext4. Save and exit.
edit fstab
Back to the terminal, we need to reinstall the grub bootloader.
sudo grub-install /dev/XXX
This time, replace the XXX by the filesystem without the number. For example, sudo grub-install /dev/sda
Close the terminal and restart the computer. Reboot into ubuntu 9.04.
In the terminal, type
df -T
You should see your filesystem mounted as ext4 now
I couldn't change the FSTAB file (it said it was not possible to save changes).
After I restarted, I oppend Gparted and it shows the partition as Ext4, but if I do a mount command this appears: /dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro).
If I do a df -T, is also shows ext3.
Which one is correct, after all??
Thank You
Comment