[SOLVED] How to convert ext2 to ext3 in slackware 14.0 32 bit for root ( / )directory without losing data
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to convert ext2 to ext3 in slackware 14.0 32 bit for root ( / )directory without losing data
Hi could you all help me ? i want to convert my ext2 to ext3 of my machine which is running slackware 14.0 (32 bit) ,i only have one partition just the "/" . i do not want to lose my data , while searching i found this "tune2fs -j /dev/hda2" to do as root but nothing else mentioned .
Can you help me with details step by step to achieve this exactly without losing data?
@business_kid , yes i know my drive ... i was asking whether i should do something else other than just tune2fs , somewhere i have read like after that we have to do a makeinitrd with the boot img...im not sure about that
This is what i have seen , just want to check if its correct or not
Quote:
Log in as root
Edit /etc/fstab and change ext2 to ext3 on the line referencing the root directory.
tune2fs -j /dev/hda2
cd /boot
mv initrd-2.4.18-26.8.0.img initrd-2.4.18-26.8.0.img.ext2
mkinitrd initrd-2.4.18-26.8.0.img 2.4.18-26.8.0
reboot
I'd also make a full backup of your drive using Clonezilla or something similar just in case something goes wrong. You can always fall back on and retry.
Yes i was able to do with ,first edit the fstab file and changed the corresponding drive from ext2 to ext3 and then i just did "tune2fs -j /path/to/drive" , that's all it was required , after that i rebooted the system and everything is working fine. I am marking this thread as solved.. and thanks to all of you for your support
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.