This might sound like, an "Edit /etc/fstab" answer. My fstab has the SD card mounted to /home directory. However, when I start the computer, the home directory ends up on the same partition as my / directory, instead of on the SD card.
- Mounting the SD card to any other directory (e.g. /home2) works.
- Moving the /home entry up/down in fstab does not help.
- Modifying parameters of the /home mount does not help.
- Manually typing in "mount /home" at the command prompt after the computer is started does work.
Entry from cat /proc/mounts: [first one comes from fstab]
mtd0 on / type jffs2 (rw,noatime,rp_size=4096) mtd0 on /home type jffs2 (rw,relatime,rp_size=4096) mtd0 on /versions type jffs2 (rw,relatime,rp_size=4096) mtd0 on /security type jffs2 (rw,relatime,rp_size=4096)
(then come remaining entries from fstab)
I have Fedora 18. To answer comments:
After running "mount /home", the entries listed above stay; however, a new entry is added below, which results in a correct mount:
/dev/mmcblk0p3 /home ext3 rw,relatime,user_xattr,barrier=1,nodelalloc,data=ordered 0 0
My /etc/fstab file:
/dev/root / ext4 defaults,noatime 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults,size=50m 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/mmcblk0p2 swap swap 0 0 /dev/mmcblk0p1 /usr ext3 defaults 0 0 /dev/mmcblk0p4 /var ext2 defaults 0 0 /dev/mmcblk0p3 /home ext3 defaults 0 0
How do I keep /home from mounting on the same partition as /?