LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-29-2005, 02:00 PM   #1
tuneout
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian 3.1 Sarge
Posts: 27

Rep: Reputation: 15
using flash drive for /home directory?


my setup is this: i've got windows XP installed on a 60GB harddrive (family insists, and i've tried resizing the partition, to no avail) so i installed a second harddrive. problem is, this hd is only 5.4gb, and i've got debian 3.1 sarge installed on there. it fits, and doesn't go too slow, which is awesome. problem is, occasionally files build up (i'm assuming it's my music, since when i remove it, the problem goes away) and suddenly i'm not able to log in. i then have to go in as root and either delete/move to a flashdrive all those files. this is getting to be a pain. my question is, is it possible to mount my flashdrive at boot and have it used as my /home directory, or at least as part of it, like, have some folders on it (like media, etc) so that i don't run into this problem?
 
Old 12-29-2005, 04:24 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
It's possible, no problems here. Just edit /etc/fstab (you probably already have an entry for the flash drive), make it use /home (or /home/user/somedir) as mounpoint.
 
Old 12-29-2005, 05:36 PM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
You may be taking the hard route. If you're going to work with Windows, it's possibly worth investing in a program that will do a lot of the things that Windows can't do for itself. For a quick fix, you can use for example the trial version of Partition Magic, which is a very useful Windows tool and quite capable of resizing NTFS partitions.

http://www.soft32.com/download_151.html

If you use the flash drive, I would definitely consider mounting only a directory and not all of /home. You could even mount it on a point independent of /home, just any name you like (maybe /mymusic).

I'd also consider asking around and seeing if you can't get your hands on a bigger secondary drive. I bet you can pick up a used 20-40GB drive surprisingly cheap.
 
Old 01-01-2006, 08:22 AM   #4
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
If you want to resize this partition you must first defrag it WITHOUT optmization for faster program start. Then you get all files moved to the beginning and you can resize it. - FAT anyway..
OR: put the download directory of whatever program you use for downloading music or film on the 60 gb XP partition, that's only fair..
--Go to setup in Gtk-gnutella f.ex

Last edited by coyopil; 01-01-2006 at 08:24 AM.
 
  


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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 02:16 AM
Home Directory & C drive deleted at same time Wen Win Linux - Newbie 1 12-17-2005 07:53 AM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 03:16 AM
How do you install a new hard drive and make it the new /home directory??? anilnatha Linux - Hardware 4 08-02-2005 05:39 PM


All times are GMT -5. The time now is 04:21 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration