[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to enable EXT3 FS on 2.4



On Fri, Feb 01, 2002 at 02:17:00AM -0800, Osamu Aoki wrote:
> I did following to enable ext3 fs on my system.  If there are better
> way, let me know.  (kernel-image-2.4.17-686-smp)
> 
> # apt-get update; apt-get install kernel-image-2.4.17-686-smp
> ...
> # tune2fs -j -i 0 /dev/hda1
> # tune2fs -j -i 0 /dev/hda2 # ... For all EXT2 FS which moves to EXT3
> # cd /etc; mv fstab fstab.old
> # sed 's/ext2/ext3/g' <fstab.old >fstab

I would make this

# sed 's/ext2/ext3,ext2/g' <fstab.old >fstab

So that you can still mount the partitions as ext2 if ext3 isn't available
(e.g. using an older kernel or whatever).

> # shutdown -r now
> ... reboot and, at prompt by initrd image, type RETURN
> # insmod jbd
> # insmod ext3 # depmod ext3 may take care all
> # insmod ext2
> # ^D
> ... Now I get system on ext3 fs (/,...)

Do you really need to reboot? It seems that you could just insmod ext3 and
then `mount -o remount` the relevant partitions.
-- 
David Roundy
http://civet.berkeley.edu/droundy/



Reply to: