LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-14-2012, 03:35 PM   #1
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Rep: Reputation: Disabled
Move a user to a flash drive


I had an idea at one point to get a very large flash-drive and move my user files to a flash drive, the idea being I could then take the files anywhere. I've heard of people doing that kind of thing with partitions, where they separate the /usr files from the rest of the system. Of course I would back up the files for safety reasons, but I want to know if it's possible to move an entire user to a flash drive and then use it as if it was a partition.
 
Old 08-14-2012, 03:58 PM   #2
zwitterion-241920
Member
 
Registered: Nov 2011
Location: AccountKiller
Distribution: AccountKiller
Posts: 89

Rep: Reputation: 39
You could do this; just copy your home folder to the USB, but you will have to edit /etc/fstab on every machine that you plug the USB in to so that it mounts the USB as /home or /home/username. You will also have to make sure every machine you plug the USB in to has an entry in /etc/passwd and /etc/shadow for your user and that all those user entries have the same numeric ID. Then there is the risc of different computers using different versions of software, which may cause trouble with your config files, or different computers running different distros, or DEs, which might cause trouble with your ~/.xinitrc. (Took me ages to get OpenSUSE to accept my Archlinux .xinitrc file.)

Is this feasible if you want to carry your user account with you wherever you go? No.
Is this feasible if you want to have the same user account on all your home computers and your computer at work? Maybe, but you might as well use an old computer as an NFS server from your home. This is a lot safer and easier.
You might also be interested in this thread.

Last edited by zwitterion-241920; 08-14-2012 at 03:59 PM. Reason: unmatched parentheses
 
1 members found this post helpful.
Old 08-14-2012, 04:14 PM   #3
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Original Poster
Rep: Reputation: Disabled
I'm not aiming to be able to use the drive as a user on any machine. I'm mostly looking to have access to the files on it, even when not running my Linux.
 
Old 08-14-2012, 04:59 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
For clarification: Your user's files normally are stored in your user's home directory under /home, /usr stores the applications and their files.

If you don't want to store your user's configuration files, but mere data, why don't you just copy it over? Or mount it to a folder in your user's home directory?

Offtopic: Any reason why this thread is marked as solved?

Last edited by TobiSGD; 08-14-2012 at 05:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] USB flash Drive mount when simple user njb Slackware 6 08-23-2010 07:12 AM
Can't move files from usb flash drive WillingToLikeLinux Ubuntu 1 07-05-2009 08:30 PM
USB flash drive to move files between my linux and windows computers tehoverlord Linux - Hardware 1 06-13-2008 12:56 PM
new user- can't access my flash drive kebi Linux - Software 1 08-17-2005 11:04 AM
Mandrake Move 2.0 doesn't seem to find my USB flash drive Jeff59 Linux - Hardware 0 01-24-2005 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration