Le Vendredi 17 Mai 2002 23:17, vous avez �crit : > Hi, > > After successful transfer of all partitions to ext3, using tune2fs -j > /dev/hda?, I thought everything was OK, also for the root > partition. But its NOT! While having ext2 compiled into the kernel and > ext3 as a module, as with kernel-2.4.18.16, the root partition is > mounted as ext2, not ext3. This has been verified when rebooting after > problems with shutdown (especially with upgrading glibc etc) when the > root partition is uncleanly unmounted. How to resolve this, the fstab > entry is useless since it's on the not yet mounted / partition...? I > assume mounting of the root partition is taken care of by the kernel.. >
The /etc/fstab is not read at the boot time. All your fs are specified, for the boot BEFORE the mounting of the / partition, in an image of the kernel. Look in your lilo (or grub), there is something about an initrd.img file. This initrd.img is the image where the fs are specified. So when you change your fs, you have to regenerate a new initrd.img. The command to do that is mkinitrd. You have to specified the newname (do not use initrd.img, so that you can re-use it later if something doesn't work) and the number of your kernel sources. Then change your lilo.conf or grub.lst with the new initrd.img (for example newinitrd.img), run /sbin/lilo if necessary, and you're done ! Look at man mkinitrd to learn more ! N.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
