General :: Copying /home Directory To External Usb Drive?
Dec 21, 2010
im thinking of copying my /home directory by just click & dragging it to my external usb hard drive. then do a fresh reinstall. then just replace the new /home directory with the one on my hard drive(old home directory) will it have my original programs i used to have and all my settings & stuff?
View 10 Replies
ADVERTISEMENT
Jun 11, 2011
How do you copy everything in the home directory to an external drive while running in rescue mode?
View 3 Replies
View Related
Apr 15, 2010
I am getting ready to upgrade from Ubuntu 8.10 to 9,04 (I am a bit behind, I know). I just drag my home folder to a USB drive to back up and it should copy all the files (including hidden ones).
When I tried this, I get the error that Symbolic links cannot be created. Should I worry about this? Would this effect my backup in some fashion?
View 8 Replies
View Related
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
Nov 21, 2008
I want to copy a .tgz file from my computer to an external hard drive. However, I get the following message:cp: cannot create regular file `/mnt/usbkey/ws_2008/misc/minipar-0.5-W indows.tgz': ermission deniedI get this error with any file I try to copy to the external disk. rnal disk is recognized, when I mount it, I can see the files and folder I have there, but seems that I cannot copy anything to it.When I try to copy the same files from my computer to a usb flash drive, everything works
View 9 Replies
View Related
Jul 30, 2011
I have two USB 2 external hard drives. I want to copy about 30 gigs of data from one to another. What command line command do I use ? I was thinking of using cp with the -R and -n options, but I have no idea what devices to refer to. I can't find any external hard drives in /etc/fstab and I'm not sure what /dev device each USB external hard drive uses. I just want to copy the files and the directories that they are in just as they are. There are no links and I do not want to do a backup.
View 10 Replies
View Related
Jun 20, 2009
I am thinking about using aida to nuke my drive and then I'll re-partition it with gparted. I don't want to lose my 15 GB installation of Fedora Core 10 in the process and have an external 80 GB drive. How could I back up Fedora to this drive with the intention of copying it back to my internal drive?
View 2 Replies
View Related
May 19, 2010
im trying to copy a file over to my external hard drive and its a 5.8gig file and i keep getting this error saying there was a file copy error and then i click show more details and says Failed to attach the file: File too large
View 3 Replies
View Related
Aug 2, 2010
i have this .mkv file of a movie which is of size 7.9GB and when i try to copy it to my external drive after some time it shows a error saying "Error splicing file: file too long" so how to copy help
my external HD's file format is vfat. and i am using ubuntu 10.04
View 4 Replies
View Related
Nov 2, 2010
I have just had to reinstall my OS (Sabayon) onto a new and larger hard drive (dying old disk). I quickly saved all my old docs in /home on an external USB drive (formatted and then created an ext4 file system) before the swap and installation.
After getting the new disk running I connected the USB external disk. First I could not access the drive at all, but that seems to be fixed. Now I want to bring all my files back to my new /home folder but apparently they (especially the former MS Office .doc, .xls, etc files, not so much the OpenOffice files) are �read only� and I don't have permissions anymore. I am able to create directories on the external, and can move files back and forth, but don't seem to own many of them.Sabayon automatically mounted my external disk in /media/disk, rather than /mnt, so I've left that alone for now. After searching here and elsewhere for info, I tried a few things (below): For access I added a line to /etc/fstab:
Code:
/dev/sdb1 /media/disk ext4 noauto,rw 0 0
Here's what I've done to try and fix ownership already:
in /media I:
Code:
# chmod 775 disk
which gives output of:
Code:
media # ls -l
total 4
drwxrwxr-x 2 root root 4096 Nov 1 21:30 disk
[code]....
I'm not sure what the �total 4� refers to since there is only the one directory �disk� inside /media but I assume that's not part of this issue... Does adding umask=0 have anything to do with this, and if so where does that go?
View 7 Replies
View Related
Aug 7, 2011
I've got two external drives that are using ext4 that for whatever reason, I just can't seem to write too. I've changed the permissions on the drives using chmod so the permissions are "drwxrwxrwx". I can even right click within the drive and click "Create New Folder" but then it tells me, "Error while copying to "sdc1". The destination is read-only." I thought the destination permissions were setup so anyone can read/write to the disk? I haven't been using linux that long and have only recently started to feel comfortable to move over all of my stuff to Fedora.
View 6 Replies
View Related
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
Nov 11, 2010
Any opinions on this? I think it would be very convenient for me, but I don't want to cripple the speed of my computer if it is going to slow it down substantially.
View 4 Replies
View Related
Aug 7, 2010
I want to have ~/Documents ~/Music ~/Pictures ~/Videos point to directories with the same names, but at a different (external hard drive) location.I've been playing around with different commands, but not getting the desired result.
View 2 Replies
View Related
Feb 1, 2010
share an external USB NTFS drive on my home network. The drive is attached to my desktop box running Debian Lenny. It's accessible on the desktop. I have a directory on the drive that I would like to make accessible to a Windows XP laptop. Read-only would be fine. The laptop has wireless access to the network.
View 8 Replies
View Related
Jul 25, 2011
For some reason I cant get the syntax to switch to a directory in my external harddrive. I know I've done it before but now I can't get it to work. Here is what I've done.
cd /home/media/My Book/folder Where MyBook is the name of the hard drive.
View 6 Replies
View Related
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
Mar 17, 2010
Method of automatic backup from my hard drive to a usb drive when plugged in.
Basically I'll be constantly putting files in /home/downloads and I want it so when I plug in a NTFS usb drive it will automatically Cut(not copy) all the contents of that folder including other folders to my usb drive. Is there any well known programs that can do this?
I would prefer something that is in the repositories that is easily configurable via command line rather than some complicated script.
View 4 Replies
View Related
Jun 18, 2010
Ubuntu 10.04 (64)I have a second drive (currently mounted as /disk2).I want my home directory (/home/jb) to include this second disk as JUST a separate 'folder' accessible from my home area.want the data on the second disk to be encrypted, (just like my /home/jb folder is now).I would prefer to 'blend' the second drive into my existing setup.I'm looking for the safest way to achieve this, don't mind editing fstab etc. or getting my hands dirty on the cli.
View 2 Replies
View Related
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
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
Nov 11, 2010
i want to move a directory to an external hard drive this is what i did
Code: konlah@konlah-laptop:~/Downloads$ sudo mv -i LinuxCBT /mnt/EXTERNAL after that i did
Code: konlah@konlah-laptop:~/Downloads$ ls so the file wasn't there anymore.. but i couldn't find it in my external hard drive.
View 1 Replies
View Related
Jun 8, 2010
I have an 500GB Iomega external drive connected to my iMac and used for the Mac Time Machine back-ups. I want to put a small partition on there that I can use to back-up my Ubuntu files which are on my laptop. I thought that I would be able to just copy the entire Home file on Ubuntu to this drive be drag and drop but this does not work. I get a notice to inform me that I do not have permission to create file there. I can however move files in the other direction (from the external drive to Ubuntu on the laptop. I assume this is because the external drive was formatted for Mac and I hope the problem will be solved if I could format a part of the drive in ext4 to accommodate the linux files.
View 7 Replies
View Related
Nov 27, 2010
I recently reinstalled Ubuntu 11.04 "Natty Narwhal" Daily 20101124 on my netbook and decided to place /home on an external 500GB SimpleTech hard drive because the netbook's internal SSD is only 8 GB.
Well, when I boot into the main SSD to try and test out the system, I have two problems:
First of all, GRUB is unstable and won't always find the kernel to boot. In particular, I have to hit <Enter> one, two, even three times just for GRUB to find the kernel and boot the system.
However, that's not all:
When the system is booting, I wait endlessly for X to start. It doesn't. The Plymouth splash screen stays there and it looks like the system is endlessly booting with no progress.
Suggest chrooting into the drive and doing a "sudo apt-get dist-upgrade" by any chance? This being in order to make the system on the drive up-to-date? If so, I will see if it boots.
View 15 Replies
View Related
Jun 14, 2011
I have a dual boot windows XP/OpenSuse 11.3 system running from a hard drive. They are both 32 bit in spite of the fact that the system can run 64 bit.
I would like to upgrade to Windows 7 64 bit (the wife insists, not yet a Linux possibility) and OpenSuse 11.4 64 bit, but having the programme files on an SSD for faster loading, with my data files on the existing hard drive.
I'm happy with the notion of getting the SSD going as a dual boot system. With Windows, as I understand it, it can tell it fairly easily where to look for the "my documents" folder on the hard drive.
However, the Home directory in Linux is not quite the same. How (if it's possible) could I run the SSD but use my existing Home directory on the hard drive?
View 9 Replies
View Related
Nov 28, 2010
I have just installed Ubuntu desktop and I am using this pc as a file server. I have already installed Samba and have it operational and viewable by my windows computers. Now the problem is that I have 2 hard drives and the way that I have Samba set up it is sharing my home directory which is wonderful but my windows computers do not have access to the second hard drive. I search for several hours this morning trying to figure out how to do this but cannot figure it out.
View 7 Replies
View Related
Feb 10, 2010
I've a directory containing around 2.8 lacs of files. I want to move them to another directory.If I use cp or mv then I get an error 'argument list too long'. If I write a script like
for file in ls *; do
cp {source} to {destination}
done
then because of ls command , its performance degrades.How can I do this?
View 7 Replies
View Related
Jul 22, 2010
What I'm trying to do: write a script that will list all the directories in a given location. Ask the user to enter a number corresponding to the location of the directory in the list, and then moving into that directory.
I have written a script to do this, but it only works when I run it as: <user>$program_name and the script runs in a sub-shell. But, when it is run in a sub-shell, the changes made by the script go away after the script ends.
When I run it as:
<user>$. program_name
and the script runs in the current source shell, I get an error:
bash: cd: /home/dev/Project/dirname: No such file of directory
Code:
IFS='
' read -d '' -a ArrName < <(ls ~/Projects)
read filenumber
cd $HOME/Projects/${ArrName[$filenumber]}
View 6 Replies
View Related
Mar 16, 2011
iam trying to send sms using gnokii utility in linux firstly i did sudo apt-get install gnokii after that i got a gnokiirc.gz file in /usr/share/doc/gnokii/sample/gnokiirc.gz file here after that i did gunzip gnokiirc.gz then i transferred my file from the /usr/share/doc/gnokii/sample to home directory by using copy command as copying files to home is not allowed so i used sudo sudo cp gnokii /home after that i changed the port=/dev/ttyUSB2 and model=AT in the gnokiirc file in the home directory and then i wrote gnokii --identify
[Code]....
i followed as in the [URL] and [URL] and except this "Note that you will need read/write permissions on whatever serial port you specify in .gnokiirc."(iam confused what is my serial port is it ttyUSB2)
View 7 Replies
View Related
Mar 13, 2011
I'm trying to resume copying from a mounted CIFS device to my local hdd with cURL. I tried
Code:
$ curl -C - -O file://myfile
and also
Code:
$ curl -C <manual offset> -O file://myfile
(looked up the manual offset using "$ wc -c")
This resumes copying if I cancel it eg with ^C.
But it does not work if I unmount and remount the CIFS device. cURL then ignores my given offset and continues again from start as if nothing were there without saying a word. With "-C -" the same effect.
View 2 Replies
View Related