Quote:
Originally Posted by WFV
maybe i try the initramfs tweaks, but probably over my head.
|
It might not be difficult, but for what you are doing you would also have to mount /home early. In Red Hat 6, all I would need to do is to create a file /etc/fstab-sys with two lines like:
Code:
/dev/sda3 /home ext4 defaults 0 0
/home/usr /usr none bind 0 0
and change the "/usr" and "/home" lines in /etc/fstab to have "0" in the last field so that the init scripts wouldn't try to run an
fsck on those mounted filesystems. Then, a run of
mkinitrd would include that /etc/fstab-sys in the initramfs. I had one system set up in a similar way (separate /usr, not part of any other filesystem, mounted read-only), but got tired of having to remember to remount /usr read/write every time I did an update.
Since my /usr was getting mounted read-only, I wasn't too concerned about turning off the boot
fsck. For your case, I don't think doing that for /home is a good idea, so the whole plan falls apart on that note.