I think I managed that after a few experiments. I hope that the following procedure helps those who also googled this question.
The values show are for a Fedora 10 with the root fs under LVM. Check proper kernel and initrd image names under the /boot/ directory.
The steps are:
1 - as root, edit /etc/fstab as suggested (replace "defaults" by "noatime,data=journal").
("noatime" was not asked for. Is just to test some speedup - be careful not to loose the original tabulation - I guess the TABS where lost in transcription).
Code:
/dev/VolGroup00/rootvol / ext3 noatime,data=journal 1 1
2 - as root, run
Code:
mkinitrd -v --fstab=/etc/fstab /boot/initrd-2.6.27.5-117.journal.i686.img 2.6.27.5-117.fc10.i686
This will create a new file /boot/initrd-2.6.27.5-117.journal.i686.img
3 - as root edit /etc/grub.conf and add an entry like:
Code:
title Fedora Test
root (hd0,0)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 rootflags=data=journal ro
initrd /initrd-2.6.27.5-117.journal.i686.img
Then reboot, and choose the "Fedora Test" target on the next boot.
It worked for me.