Re: How to enable EXT3 FS on 2.4
Thanks for good comment.
On Fri, Feb 01, 2002 at 09:25:14AM -0500, David Roundy wrote:
> 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
Good point :) Always nice to have safe fall back.
> 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.
Good point again. But my answer is yes. See I am installing new kernel
above. For this, I think my system needed to be rebooted.
If one just needs to get ext3 functioning, there is no need to reboot.
Cheers :)
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~
+ Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D +
+ My debian quick-reference, http://qref.sourceforge.net/quick/ +
Reply to: