Raspberry Pi: mvoe home & var folders to USB HDD?
Posted
by
doni49
on Super User
See other posts from Super User
or by doni49
Published on 2013-06-29T02:39:44Z
Indexed on
2013/06/29
4:23 UTC
Read the original article
Hit count: 412
I have a Raspberry Pi running raspian. I've installed Apache2, PHP & MySQL. Apache & MySQL are both configured to use sub-directories of /var. I'd like to use a directory on my USB HDD instead of my SD card.
I'd also like to move the /home directory to the USB HDD.
I'd like to avoid re-partioning my HDD if possible. I thought maybe I could use a symlink to tell raspian that /var is really at /media/USBHDD1/var and /home is really at /media/USBHDD1/home. I tried it last night but couldn't get it to work.
© Super User or respective owner