- To: slug@xxxxxxxxxxx
- Subject: [SLUG] don't try this at /home
- From: Stewart <stewart@xxxxxxxxx>
- Date: Wed, 28 May 2003 23:06:20 +1000
sometimes my impatience gets the better of me. I wanted to convert the
/home partition to ext3, so i unmounted it and ran mkfs.ext3. fine.
tried to mount it again only to discover i didn't have ext3 support in
the kernel. oops. well i have other more pressing priorities at the
moment so i did a bit of googling and found
http://www.troubleshooters.com/linux/ext2toext3.htm which has a brief
par. about how to convert back.
umount /dev/hda10
tune2fs -O ^has_journal /dev/hda10
e2fsck /dev/hda10
in /etc/fstab change /dev/hda10 to type ext2 (skipped coz i didn't get
to change it to ext3 in the 1st place)
mount /dev/hda10
so I did that. remounted /home .... only to discover it empty. nothing
but a lost+found. all gone. lucky it's only a development machine at
the moment - no users and there wasn't anything important in my ~.
so. i guess the lesson here is, think first, mkfs later. also don't
entirely trust google or the credible looking help pages it finds for
you. :-/
feel free to suggest what might have gone wrong. i'd like to know for
next time. :)
cheers,
..S.
(oh btw this is the famous debian ppc so i was actually working with a
/dev/sda but that wouldn't make any difference, would it?)