ext3 and mkinitrdForum: HD Install Topic: ext3 and mkinitrd started by: bucksontour Posted by bucksontour on Sep. 17 2005,19:40
Ive managed to get DSL 1.5 installed / running on a compact flash card, but my platform regularly gets powered off while the os is up. This frequently leads to fsck taking ages to check the fs.Im therefore trying to use ext3 instead, and after partitioning my CF with an ext3 primary partition, dmesg reports my ext3 partition being mounted as ext2. After some digging it appears the stock kernel doesn't ship with ext3 support compilied in. A cat of /proc/filesystems confirms ext2 only. I've found the jbd and ext3 modules and can insmod them in post boot, but id prefer them to be loaded so the kernel can mount the root partition ext3 initially. After more digging most people recommend using an initrd image with ext3 and jbd modules loaded. So: apt-get install initrd-tools echo jbd >> /etc/mkinitrd/modules echo ext3 >> /etc/mkinitrd/modules /etc/mkinitrd -o /boot/initrd.img-<kernel-version> /lib/modules/<kernel-version> And i get nothing but grief. Can anyone reccomend a good way of loading ext3 and jbd using initrd ? TIA Andrew. |