viernes, mayo 27, 2005

Changing file system from Ext2 to Ext3 in Debian GNU/Linux

Changing file system from Ext2 to Ext3 in Debian GNU/Linux :: arul's technical site :: arul john: "Converting Ext2 to Ext3
Ext2 has been the Linux default filesystems until recently. But when the computer is rebooted without correctly shutting down, Ext2 filesystems are placed in an error state which could result in data loss.
Ext3 is a journalised filesystem made to remove those errors. If you want to replace Ext2 with Ext3, read on, or else go to the next page.

Login as root.

su

Unmount the /dev/hda4 partition.

umount /dev/hda4

Oops, if it doesn't unmount, then I remount it as read-only.

mount -o remount,rw /dev/hda4

Convert it to Ext3.

tune2js -j /dev/hda4

Edit /etc/fstab and in the /dev/hda4 entry, change ext2 to ext3.

Reboot (one of the very few times you'll be rebooting!!)

shutdown -h now"
Comments: Publicar un comentario

<< Home

This page is powered by Blogger. Isn't yours?