Debian :: Moving /home To Second Drive?
Dec 20, 2010
I recently installed Debian (*former Windows user*) with xfce and I only aligned one partition. I have a 80gb SSD where I have the OS and apps. I just now installed a hard drive which I'm going to use for documents, pictures, music etc., but I haven't mounted it yet. I'd like to move /home to it's own partition on the second drive, and I'd like the desktop to be on the HDD also, but I don't really have any idea how to do this and haven't found any information about this (that's why I haven't mounted the HDD yet either). I'd like to keep the SSD purely as a drive for OS and apps so if there's anything else I should consider or if there's a better approach for this?
View 14 Replies
ADVERTISEMENT
Jul 15, 2009
F-10 default installation is /swat /boot and the rest /
Many on this site recommend setting up separate partitions for /home
Does making a separate logical volume and putting /home in it do the same in allowing one to do an install to the original logical volume without affecting /home?
If it does, how does one get the 2nd LV recognized in the file system?
View 3 Replies
View Related
Dec 30, 2015
I installed debian 8 on a 16 GB usb drive using this guide. I used a debian 8.2 64-bit image with mate. If I were to get a larger usb drive, would I be able to transfer everything from the 16GB drive to it? How?
View 1 Replies
View Related
Dec 30, 2015
I want to move my old system to a new drive. Currently I have Debian installed with following configuration:
I have an encrypted system where everything is encrypted except /boot. Currently I've /boot and / installed on a 16 GB mSata SSD and /home on a regulard HDD. I've got a 500GB SSD for Christmas and want to move the whole system to the new SSD.
I just wanted to ask if I've got the process required to to this down:
1. backup root-directory (/) without and /boot /home using tar keeping file-permissions and owners to ext. hard drive
2. backup /boot and /home separately using the same method
2. replace HDD with SSD remove mSATA SDD.
3. boot via live-usb
4. create appropriate volume groups, partitions, setup encryption etc.
5. extract backups to appropriate partitions
6. chroot to old /.
7. edit fstab
8. reinstall grub
9. create new init ram img.
I'm pretty sure I've got steps 1.-6. down but I'm very shaky on what to do next.
View 0 Replies
View Related
Aug 5, 2010
Just finished building a new Ubuntu box and have been getting things setup. I have a new SATA 500 gig drive in the new system. My old IDE drive from the previous system is in and mounted. I can currently boot to either by flipping the BIOS info. Not sure if I can mount the SATA while booted to the old IDE tho, get mount errors at startup.
So, my plan is to move the essential bits of my /home into a storage area, and take ownership of them, so I can import my old mail and other essential stuff. When I try to copy from the SATA drives new install I get permission errors, and all the files are owned by #1002. Seeing how my brain is toast due to heat and working on this build for about the past 8 hours, can anyone give me a simple way to copy over the info from the IDE drive (which will be going away) to the SATA drive and have the data usable for import into my home folder.
View 2 Replies
View Related
Apr 23, 2010
I know there is a lot of tutorials about this but I`m kind a new in Ubuntu and Linux. I know that it is good to set different partition for /home. But when I installed my ubuntu 9.10 I made 4 partitions
swap
/boot
/ - 40GB
/usr - 200GB
[Code]...
View 2 Replies
View Related
Jan 17, 2010
I have a IBM T42 (using it now to write this) and a newer Lenovo T500 (with a fresh install of Ubuntu 9.10 on it). I want to take all of my programs and config of those programs, plus all my /home directory information/files/hidden files all over onto the new machine. There may be other stuff I need to take over to, and don't know enough about to comment here.
But basically I want my new system to look and work like my old system, with all the same programs and user data, all configured in the same way. Is there a way to do this over the network or another way? I can't even get the two systems to see each other over the network, even though Folder Sharing is enabled and (I think) all the right components are installed. I even checked to see if my user had permission to share files on both machines, and I do.
View 7 Replies
View Related
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
Aug 5, 2011
I did some minor upgrades to my 10.04 box which grew and grew and grew until I'd hosed xorg, and after some unwise choices about uninstalling X11 as a means to rebuild the system I now have a drive I was using for 10.04 that basically doesn't have an O/S any more... don't ask! First class stupid.Anyhow, I've cracked open a new drive, installed 11.04 and was planning to mount the old /home/me folder as a symbolic link from 11.04. All that was fine until I remembered that 1) I no longer have an OS on my 10.04 drive and I've encrypted my home folder on the 10.04 machine. That home folder is still intact, but obviously not much use right now.
So, have I just hosed myself completely (as I suspect) hosed myself or is there a way to capture the cleartext data from the encrypted folder and move it into the 11.04 machine, either with rsync, restoring the O/S to the formerly 10.04 drive and restoring the encryptied /home to that drive?
Goal 1) recovery contents of encrypted folder to plaintext, but lacking ability to log into O/S that generated the /home folder
2) move data to 11.04
3) attach the cleartext verison of home to my 11.04 account and get to work.
View 6 Replies
View Related
May 29, 2011
How would you go about moving one users home folder to a different partition, while maintaining other users home folder on the current one. Will simply running "usermod -dm /path/to/new/home username" on one of the users do the trick.
I want to run one of the users of an SSD, while the other runs of a bigger SATA disk.
View 9 Replies
View Related
Jun 29, 2010
From what I have understood, trying out different Linux distros is one of those things that a Linux user just needs to do now and again.
So what is the "best" way of keeping your home folder intact? Should I just copy the whole home folder to a separate storage space, install a new distro (I'm thinking going from Ubuntu to Suse) and then just past it in the newly installed distro? Or are there some other, more "refined" methods?
I thought one's home folder contains a lot of config and settings files, but they would surely just be applicable to the original distro!?
I know I can try out several distros via live CDs, which I have done, but when you've taken that next step and actually want to install another distro as your main Linux operating system.
View 7 Replies
View Related
Oct 28, 2010
So when I try to move the home directory to another point, the sound stops working magically. Well actually the sound still works, but the controls don't work. Here is what I am trying to do.
My home directory is currently at /home/user I want it in another independent partition so I copy all the contents from /home/user to /dev/sda5 and then I mount /dev/sda5 to /home/user with rw permissions. Everything works perfectly, even my mozilla profile is copied and such, but the sound somehow disappears. When I comment out the line from fstab that mounts the the filesystem at /home/user, naturally things go back to normal because my folder at /home/user that was earlier becomes my home again. Things are working again. I can go back and forth, doesn't help.
Here are the specs, though they are irrelevant as everything including the sound works as long as I don't try to change my home dir. I'm using a Thinkpad T410. The destination filesystem btw is ntfs for my home directory, I know it's not suggested and most of you here will feel like lecturing me on how i shouldn't be using ntfs, but the point is I want to have my "Desktop" "Documents" "Pictures" "Videos" "Downloads" and everything in the same place for both windows and linux. So if moving the home directory to NTFS is strongly unadvisable, let me know how to move each of these folders to a desirable location. Here's what lspci has to say about audio device.
Quote:
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
View 9 Replies
View Related
Sep 26, 2010
I have formatted a second internal drive as ext3. It worked fine until I copied (rsynch) my /home to the new drive. Now when I try to delete anything I'm forced to delete immediately or skip the deletion. I also tried moving the /usr/local directory to the second drive and it works fine, it doesn't break the Trash. I tried moving /home back to the root drive and the problem is gone. The second drive again works properly. I can reproduce this. The problem only occurs when I move the /home directory to the new drive.
# / was on /dev/sda1 during installation
UUID=89a54f23-98ef-45d2-bef9-47d51992fd01
/ ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=fb609b91-7322-4903-9309-2f0d3a6b87d4
none swap sw 0 0
# My shared volume /dev/sdb1 (show it on desktop)
UUID=a726a583-03e5-47c6-9618-ddbfcdd4c1d6
/media/data ext3 defaults, users, exec0 0
# Moving /usr/local
/media/data/Ubuntu/usr/local
/usr/local bind defaults, bind, users, exec 0 0
# Moving /home
/media/data/Ubuntu/home
/home bind defaults, bind, users, exec 0 0
View 3 Replies
View Related
Jul 11, 2011
I know it is possible to move the ubuntu home directory but what is the best way to move it safely to an NTFS partition that already has valuable data in?
View 8 Replies
View Related
Aug 4, 2010
I am going to move my ubuntu to a different drive. Right now I have it on my primary sata drive in an extended partition. I want to move the whole installation to a different drive. Is there any way to do this without reinstalling ubuntu. Grub is installed onto my 100mb windows 7 boot partition. Is there a way to make grub point to the moved ubuntu installation on the different drive?
View 5 Replies
View Related
Dec 7, 2010
Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.
I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.
I move as such:
dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1
The operation finishes with no problems.
Fsck reports clean... so... I run:
fsck -l /dev/sdb1
A few small errors pop up and they get fixed.
My free space remaining, as expected, is 5.8 GB.
I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.
It does so, the operation completes.
I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.
I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.
View 5 Replies
View Related
Aug 12, 2010
I'm trying to copy files from my external hard drive to the desktop and instead of the usual copy or move to options, I get a widget menu! How do I correct this so I can copy files?I'm running opensuse 11.3 KDE 64bit
View 5 Replies
View Related
Oct 28, 2009
I have Fedora running on my computer at school and have been informed we are getting new computers.
Can I simply move my hard drive to the new computers? I don't have to reinstall do I? Would I have to use a new kernel?
View 14 Replies
View Related
Apr 1, 2011
I installed Ubuntu 10.10 on my laptop alongside Windows 7 on the second 320 GB hard drives and now I want to replace it with a 750 GB hard drive, but when I removed it the grub was gone and Windows (on the first hard drive) wouldn't load. This was a mistake, since the grub is installed on the same hard disk as Ubuntu. I want to use GPorted to delete the partitions on the hard drive, but when I boot with it and use the hard drive partition editor it won't let me delete or move one of the partitions. Does this partition contain the grub and if so how do I move it onto my other hard drive?
View 3 Replies
View Related
Dec 9, 2010
Old drive is dying, so I copied the system over to my new drive. I've moved /home and /tmp to separate partitions and updated fstab and grub with the appropriate UUIDs from blkid. Grub wasn't loading but that's been fixed now.
Problem:
The problem now is that when I boot I get the following screen:
Errors were found while checking the disk drive for /
Press F to attempt to fix the errors, I to ignore, S to skip mounting or M for manual recovery
F doesn't work, and in manual recovery the file system is read-only. How to proceed?
View 9 Replies
View Related
Oct 17, 2010
How can I move a directory to the root of a drive via command line?
In MS-DOS it would be 'move C:/GAMES/QUAKE C:/'
What is the equivilent in Linux?
View 8 Replies
View Related
Mar 3, 2010
I just did a clean install of Ubuntu 9.10 Karmic last night (completely wiping out Jaunty), and since the install, my "Home" key hasn't worked right. To be more specific, it's the Home button that exists in within the 6 keys: Insert, Home, Page Up, Delete, End, Page Down - not the Home button within the number pad.
The other keys work properly, but Home keeps loading Evolution. I removed Evolution to see if it would stop, but of course it didn't. (I didn't think that would work, but it was worth a shot.)
This keyboard is very similar to the one I am using: [URL] A big difference between that one and mine is that I have the windows buttons on mine, so I guess it's a bit newer than in the link.
View 9 Replies
View Related
Jun 11, 2011
I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?
View 2 Replies
View Related
Feb 20, 2010
I have been learning Debian by using a virtual machine. After fine-tuning my installation procedure, I decided to copy that installation to my physical system. The hard drive already has another Linux based system installed. I plan to dual boot.After copying files I updated fstab and menu.lst.The partition scheme between the virtual and physical environments are similar, but the partitions are not mapped exactly the same.Thus the Debian system on the physical hard drive fails to boot simply because the initrd is created for the root partition location on the virtual machine. The initrd created in the virtual machine is looking for the root file system on /dev/hda1 whereas on my physical drive the new location is /dev/sda7.How can I rebuild the initrd on the physical system? I started to use the installation DVD in rescue mode, but I did not get too far.
View 6 Replies
View Related
May 31, 2010
As my proficiency with Linux improves slowly, I've been trying to find the answers for myself, but in this situation I must admit I find myself rather stumped. I have a perfectly nicely working Fedora 12 install on an 80GB SATA drive, and when it hit an error and wouldn't boot last week (easily fixed with fsck from the initial command line) I panicked and ordered a new 250 GB drive. It got here and I might as well use it, I thought to myself, so I went about trying to figure out how to move my install without having to reset all of my settings, programs and so on. I didn't want to mess with dd because I'm not so so clear on resizing my partitions once the copy is done (if someone thinks this is a better idea I'm open to suggestions.) After some poking around I found this set of instructions which I attempted to follow to the letter, but hit some snags. I understand this thread I am referring to may be a bit outdated, which is why (I assume) I hit a bump here
Code:
# mount /dev/hdy1 /boot
mount returns an error demanding I specify the file system type. At a loss, I barreled on until
Code:
[Code]...
To summarize, I partitioned and mounted my new drive using fdfisk and the instructions provided above, then used rsync to copy over all of the files, so as far as I know the new drive is ready to go, just not yet bootable. Opening the Grub.conf file in Kwrite (as root) returns a blank page. What do I do now?
As a side note, you can see that I am not too squeamish about the terminal, so I would prefer to find a "command line only" solution to this relatively simple (?) procedure.
View 5 Replies
View Related
Feb 19, 2010
I have been learning Debian by using a virtual machine. After fine-tuning my installation procedure, I decided to copy that installation to my physical system. The hard drive already has another Linux based system installed. I plan to dual boot.After copying files I updated fstab and menu.lst.
The partition scheme between the virtual and physical environments are similar, but the partitions are not mapped exactly the same.Thus the Debian system on the physical hard drive fails to boot. I think the initrd created in the virtual machine is looking for the root file system on /dev/hda1 whereas on my physical drive the new location is /dev/sda7.How can I rebuild the initrd on the physical system? Or how can I build an initrd in the virtual system that will function on the physical system.I started to use the installation DVD in rescue mode, but I did not get too far.
View 4 Replies
View Related
Sep 13, 2009
I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.
View 2 Replies
View Related
Mar 27, 2011
I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.
View 2 Replies
View Related
May 1, 2011
Installed Ubuntu along with Debian on my Notebook and use Grub Manager to choose between them on startup. Since i like Debian now a lot (in past days it was a very hard system to handle, but there has been some progress i noticed), i have to change some things (want Debian as main system now) For Ubuntu i have: (was meant to be main system on Notebook) "/", "/home" and a "swap" partition, but since i am now going to use mainly Debian, i wanted to store my files all in the "/home"-folder of my extended Ubuntu partition (has much more space available) not in the "/home" folder of the Debian system. So i want both (Debian and Ubuntu) to use the same extended partition ("/home") which i created for Ubuntu to save their files like downloads, videos, and so on.
View 14 Replies
View Related
Sep 24, 2015
I've installed years back Debian on my laptop. Last year i did upgrade, i putted an ssd in my old laptop which works great with debian.
Now I bought a new laptop, to replace my old one. Because my new laptop doesn't have an SSD installed, i want to replace the harddrive by the SSD from my old laptop.
Now so said, so done. I replaced the hard drive easy by the ssd. Now if i boot the new laptop with the ssd installed i'm getting message from EUFI/BIOS that there is no OS installed on the ssd???
Debian is installed on it! If a place back the ssd in my old laptop, it's booting like it should, so it's working. Why is EUFI/BIOS think there is no OS installed? Debian is installed on the ssd so it should work i think?
View 4 Replies
View Related