General :: Move The Home Directory To Another Partition?

May 25, 2010

I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Move M /home Directory To New Partition?

Jun 22, 2011

How do you do this without breaking all the links and preferences in /home? Does the system take care of everything? Has anyone done it or is it actually system crippling?

View 2 Replies View Related

General :: Move /home To Ntfs Partition?

Sep 5, 2010

There was a Toshiba Satellite notebook with XP I decided to install Fedora 13 in dual boot mode.So, I booted with Gparted and shrunk the ndows XP partition to just 24 GB.Then I set up partitions for Linux this way/boot, ext4 256 MB/, ext4 16 GB/home, ntfs 176 GBswap, 8 GBI intentionally left about 8 GB left just in caseThen I proceeded to install Fedora 13.I used the customized mode to use the already set up partitions and keep Windows XP.At the moment of setting the mounting points, fine with /boot, / and swap. But Anaconda wouldn't accept mounting point for /home.I went on anyway.Fedora got set up and run moothly.However, /home resided in / with only 10 GB left.And the /home partition could be seen as a separate disk with its 176 GB.This is /etc/fstab:

#
# /etc/fstab
# Created by anaconda on Sun Sep 5 05:46:26 2010

[code]...

View 14 Replies View Related

General :: Move The Srv Directory To Another Partition?

Jun 28, 2010

When installing Ubuntu (10.04) I chose the /home to be installed in a separate partition.I would now like to move the /srv directory into the same partition. The problem I found is that Ubuntu did not make a /home directory inside the partition itself. It just places the account directories in the partition and mounts it to /home. So I cannot just easily move the /srv folder into the partition.

How can I:

Move those account directories into a home folder inside the partition Make that new home folder the default /home folder. ditto with the /srv folder, or any I choose in the future.

View 3 Replies View Related

General :: Ntfs To Ext3 - Move /home To The Other Partition That Exists On My Computer?

May 10, 2010

I've been trying to figure out how to move /home to the other partition that exists on my computer, however it's ntfs and turns out it's impossible to move my /home there. So how do convert that ntfs partition to ext3, I don't mind loosing data that's in that partition. [url] is the partition I'm talking about. So what's the best way to do it ? If you write what commands I should use please include partition names.

View 3 Replies View Related

Ubuntu :: Move / Home To Existing / Home Partition?

Jul 1, 2011

Been digging around and not finding anything that quite works.

Background: I had an existing 10.10 install and 10.04 on another partition. When I installed the 10.04 I told it to use the existing /home partition which is also being used by the 10.10 install. All good, both users have directories with all their data in the same /home partition.

Issue: So, as the 10.04 was 32bit (experimenting but another story) I decided I would replace with 10.04 64bit. All went well except when I did the manual partitioning I screwed up and instead of setting the existing /home partition to 'use but don't format' - which I think is what I must have done last time - I left it as 'don't use and don't format'. So, obviously, now the new 10.04 install has its /home inside /, which I don't want. I want it on the existing /home partition as it was with the previous 10.04 install.

Question(s): Is there any simple(ish) way of doing this without a reinstall? Not a major problem as I have only just installed and can do it again without losing anything but time, but I would like to figure out a way to do it without if possible.I want to essentially move the /home/user directory (rather than the /home) and make it /media/home/user inside the existing partition. Seems easy enough on the surface but becomes involved as I investigate.Ubuntu 10.04 minimal install with Xfce DE.

View 8 Replies View Related

Ubuntu :: Move The /home Directory To A Different Location?

Jun 29, 2010

I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.

I have a drive (/dev/sda5) mounted as /media/data

I would like to move /home to /media/data/home?

I have tried usermod but get the following error:

Code:
test@TestServer:/media/data$ sudo mkdir /media/data/home
test@TestServer:/media/data$ ls
home lost+found
test@TestServer:/media/data$ sudo usermod -dm /media/data/home
usermod: user '/media/data/home' does not exist

View 2 Replies View Related

Ubuntu :: Unable To Move Home Directory

Dec 28, 2010

Ubuntu 10.10 32 bit/ and /storage are on two different partitions. I want to move my home directory to the /storage partition, so I went to System -> Administration -> Users and Groups then Advanced Settings then the Advanced tab. I changed Home Directory from /home/billy to /storage/home/billy. I click on ok and I'm asked if I want to copy all the user's files over to the new location or start fresh. I click, Copy Files. It acts like it's doing something, but all it does is create the home/billy directories inside /storage, but it never copies files over and the next time I go to /home/billy it's still in the old location. What the heck is the deal?

View 7 Replies View Related

Fedora :: Shrink Home Directory And Move It To The End Of The Drive?

Aug 1, 2009

So I messed up a little and didn't leave enough room on my disk. I want to shrink my home directory and move it to the end of the drive. Is this possible? It's ext4 but no an LVM partition though.

View 1 Replies View Related

CentOS 5 :: Move User's Home Directory To A Different Disk?

Oct 20, 2009

I would like to move a user's home directory to a different disk. Is there a "clean" way to do this? Specifically, is it safe to just copy all the .* files to the new destination and then change the home in the user config? Or are there maybe environment entries with absolute paths which will cause problems with this strategy?

View 5 Replies View Related

Ubuntu :: Move The Users Home Directory To An External Drive?

Jan 19, 2010

As I regularly move between Mac and PC, I thought it would be a good idea to put all my data on an external drive. As Windows 7 and OS X have similar home folder layouts, I just simply put all the folders I need for both on the root of the external drive and changed a few settings so that the Home folder for my user is on the external drive on both Windows and OS X.

Whilst Ubuntu also has a similar structure, I cannot work out how to have it so that my users home folder is on the external drive. I have done a little research and all I can find is how to have the /home directory on another partition. a) this is not what I'm trying to do, just the folder for my user and b) this would mean formatting the external drive to extX format, which just wouldn't work for me.

I am using 9.10 (or will be once the upgrade is complete)

View 9 Replies View Related

Ubuntu Security :: Move To Encrypted Home Directory Not Losing Data?

Jul 20, 2011

I am running ubuntu 11.04 I'd like to encrypt my home folder. - how can it be done, without creating new user/starting from scratch. -I'd like to keep all the files and desktop settings - the only change should be that the folder is encrypted now.

View 2 Replies View Related

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

Apr 20, 2010

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.

The easiest way to do this would seem to be to just change & export $HOME, eg

cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions

However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?

View 1 Replies View Related

OpenSUSE Install :: Move /home To Another Partition With Yast?

Jul 18, 2010

Im using suse 11.1 with /home on a separate partition. To move my /home to a larger partition it looked easy to use Yast partitioner. I copied all /home/ files first to the new partition and backed-up fstab.

with Yast I unmounted /dev/sdb6 = /home and mounted it to /local
then unmounted /dev/sda4 = mynewhomepartition and mounted it to /home

checking the new fstab it looked fine but after a restart it did not work and I got an error. resetting the original fstab resetted the system as it used to be. My question is: why does it not work, are there (hidden) files with the old or other settings?.

View 4 Replies View Related

Ubuntu Installation :: Move /home To A Separate Partition?

Jan 11, 2010

I want to move my home directory to a separate partition so I can install the new versions of Ubuntu without losing my data. And while I'm at it, what other important directories should I move to separate partitions? And how do I do it? I'm guessing that the /boot directory should also be moved to its own partition too, yes? Because it has the GRUB in it, and if I removed Ubuntu to make way for a newer version of Ubuntu, I'll just get an error because the computer can't find the GRUB that doesn't exist anymore, right? And also, if I move those important yet-to-be-listed directories to their own separate partitions, how large should those partitions be?

I don't want to miss out on the upcoming Lucid Lynx (If it will work in the first place, of course ) By the way, I have an Ubuntu-Windows XP dual-boot system. I'll attach a screenshot of my partition table from GPartEd. You can see that I have about 300 GB. The largest partition is Ubuntu.

View 8 Replies View Related

OpenSUSE Install :: Move Separate Home Partition Back To /?

May 10, 2010

How would I go about moving a separate home partition back to /, and be able to delete the /home partition? I'm assuming I would have to copy the contents of /home to the root partition, and change fstab at the very least.

View 6 Replies View Related

Ubuntu Security :: Move Home Folder To Encrypted Partition?

Apr 11, 2010

What are the steps I must take to move my existing home folder to a separate, encrypted partition? Can I create this partition without damaging my current partition? Where is a trusted location to download App Armor profiles? What else can I do to harden the security of Ubuntu?

View 1 Replies View Related

Ubuntu :: Create A User Partition And Move The Contents Of Home Folder Into It

Mar 7, 2010

Gparted shows that my dual boot laptop has the following partitions: [URL] I want to create a partition and move the contents of my Home folder into it.

View 3 Replies View Related

Fedora Installation :: Setup Dual Bood Data Partition And Move /home?

Feb 21, 2009

I have just spent dome time using gparted to sort out my partitions. I have a vista partition, a fedora one and a big chunk of unallocated space I wish to use as my data drive.

I want to move my ~ folder to the new partition and have windows/vista access the folder and write to the Documents, Downloads folders etc.

What is the best format to use?

Also I plan to start backing up my partitions to a server, for instance using g4l to save a linux image (maby a windose one too). Is there any benifit in keeping all the hidden files (ones starting with period '.') i.e moving the whole ~ folder or would I be best off leaving the ~ dir and moving the folders I know i use such as ~/Downloads, ~/Documents etc?

And how should i preform the move of all these files? 'mv'? do i need to add any special options?

View 3 Replies View Related

Ubuntu :: Move Xampp's Root Directory From /opt/lampp/htdocs To /home/private/htdocs

Dec 2, 2010

i was trying to move xampp's root directory from /opt/lampp/htdocs to /home/private/htdocs (in order to use Ubuntu One) but when i restarted apache i got "permission denied" when i tried to load the index page.so i said to my self...hey..let's chmod
i entered this three commands in terminal:

Code:
sudo chmod -R 755 /home/private/htdocs
sudo chmod 755 /home/private
sudo chmod 755 /home
('private' is my username)

after a couple of seconds everything begun to disapper, shortcuts on my desktop, my wallpaper...all.i even tried to execute another command with sudo but i got a nice error message that said i don't have permissions to execute bla bla.now i can't even log into my user.

View 4 Replies View Related

Ubuntu :: Moving Home Directory To New Partition?

Jul 16, 2010

I am trying to move my home directory from my install partition to a new partition. I cloned my installation from a previous ~78 gb HD using g4l to a new 250 GB drive. Now that I am using the new drive i created a new partition to used for files called "files". New partition is sda3 and the boot partition is sd1. I am trying to follow this guide [URL] but I am having no success.

The output of:
Code:
find . -depth -print0 | cpio --null --sparse -pvd /media/sda3
is

Code:
pio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1381.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1336.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1387.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory .....

View 6 Replies View Related

CentOS 5 Networking :: Mounting Home Directory On NFS Partition

Aug 27, 2009

I have attached a 2 TB LUN to the HP Blade Server running CentOS 5.3 via a Qlogic HBA. To provide the cluster users with sufficient storage areaa, I want to move only the home directory from the default partitioning schema to the attached storage and leave the remaining partitions on the main harddrive of the server. So, having copied user directories & files to the new location, i.e.,
/cluster/home2 on the new storage partition, what modification(s) should I make on the server?
/export/home is the default location for the users.
/cluster/home2 is NFS shared directory serving as the new home location for the users.

View 1 Replies View Related

OpenSUSE Install :: Oversize /Home Directory On Formatted Partition

Jul 17, 2010

I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:

Code:
dyn-0a2a1f40:/ # df -h .....

That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of

Code:
dyn-0a2a1f40:/ # du -sk /home
10548452 /home

I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:

Code:
dyn-0a2a1f40:/ # fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x219b052d .....

I have Linux 2.6.34-12-desktop x86_64 and KDE 4.4.5 (which I had previously used in 11.2 without any problems) and 4.0GB RAM.

View 9 Replies View Related

Ubuntu :: Have Both Os's To Use The Same Directory For Documents, Musics, Downloads, Etc On Home Partition?

Jul 9, 2010

I would like to have both os's to use the same directory for documents, musics, downloads, etc on my home partition.I have a dual boot of moonos and xp.home folder patitionwindows sys partitionmoonos sys partitionbackup data partitionI would like to point both os's to either the home partition or data partition.

View 2 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.

Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?

View 10 Replies View Related

Red Hat / Fedora :: Reduce The Size Of LVM Partition Without Loosing Home Directory Data?

Jun 3, 2009

I have a home directory which is mounted on the LVM partition,How can i reduce the size of LVM partiotion without loosing the data on home directory...whenever i use lvreduce command it show me a warning mesg that the whole data will be lost...reducing the size of LVM partition without loosing my home directory data.

View 1 Replies View Related

OpenSUSE Install :: Create A New Home Partition, Don't Want To Preserve The Existing Home Partition?

Jan 14, 2010

Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.

View 5 Replies View Related

General :: Access Directory Outside Of Home Directory?

Apr 13, 2010

I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?

View 7 Replies View Related

General :: Move Old File To Other Directory?

Feb 2, 2010

I have a directory , there are many files created in it , I want to use the command to move the files which elder than 30 days and gzip it and then move it to /tmp , and then remove those files , I tried use below command but not work.

find ~path -type f -mtime 30 -exec tar -zcvf - {} --remove-files > /tmp/oldfile.tgz ;

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved