LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 04: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, 04:58 PM   #2
mennohellinga
Member
 
Registered: Jun 2012
Location: AccountKiller
Distribution: AccountKiller
Posts: 72

Rep: Reputation: 38
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 mennohellinga; 08-14-2012 at 04:59 PM. Reason: unmatched parentheses
 
1 members found this post helpful.
Old 08-14-2012, 05: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, 05:59 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,131
Blog Entries: 2

Rep: Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833Reputation: 4833
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 06:01 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:12 AM
Can't move files from usb flash drive WillingToLikeLinux Ubuntu 1 07-05-2009 09:30 PM
USB flash drive to move files between my linux and windows computers tehoverlord Linux - Hardware 1 06-13-2008 01:56 PM
new user- can't access my flash drive kebi Linux - Software 1 08-17-2005 12:04 PM
Mandrake Move 2.0 doesn't seem to find my USB flash drive Jeff59 Linux - Hardware 0 01-24-2005 08:21 PM


All times are GMT -5. The time now is 06:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration