Moving /home to a USB stick
Is it possible to move the /home directory to a USB stick? Running RH9 at home and at work - would like to have email and user settings move with me.
I have attempted it with little success -- anybody have any ideas? ---scott |
I've moved the contents in my /home directory to a USB hard disk once. I mounted the HD and used konqueror to copy everything in my /home directory to the HD for backup. (had to log in as root :D)
Too bad I still haven't figured out how to move directories through the command line :scratch: vxc |
That isn't really the problem ---
When using apps like evolution, Open Office, mozilla --- user data is stored in the /home directory which is mounted at boot. I need to move this mount to the USB Stick. Errors occur when I attempt to copy symbolic links, boot errors occur due to X11 file locks -- etc. etc. To copy a directory from the command line --- cp -R <dir_source> <dir_dest> Thanks for the help though!!!! |
Here is something that I believe will fit the bill.
If not already acomplished create a linux filesystem on your USB stick like ext3. Copy all of the files from your /home to the stick. Create a script that will detect if the USB if inserted will then mount it to /home. Run the script from rc.local The advantage would be that if you happen to forget your USB stick or if it fails (Its happened to me) everything will still boot. When you mount the drive to /home your existing /home files will be hidden so if no stick you will still have all of your users configuration files. |
Shut down x then copy the files.
Hmm... might have to study this a little more..... |
All times are GMT -5. The time now is 05:03 PM. |