Author Topic: <answered>Move "dot" File To Another Partition?  (Read 812 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
<answered>Move "dot" File To Another Partition?
« on: February 26, 2010, 12:16:04 PM »
What I would like to do is change the location of the home folder for just one program (VB) to a partition on a second hard drive. Is this possible? How. Tried Google but no luck. Thanks in advance.

« Last Edit: February 26, 2010, 03:54:26 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Move "dot" File To Another Partition?
« Reply #1 on: February 26, 2010, 01:18:41 PM »
What I would like to do is change the location of the home folder for just one program (VB) to a partition on a second hard drive. Is this possible? How. Tried Google but no luck. Thanks in advance.



Sure you can, and you can also remove the hidden attribute by removing the . from the name. Once you have it where you want it, create a link to it with the . in the name. The application will see the properly named link and connect to the contents of the moved directory.

I have a number of files that i want to be the same in all my installations. I keep them in a directory named portable, on a partition I mount on /home/polack/Documents. With a new installation, I delete the file the system creates, and create a link of the same name to the master version in the portable directory. The ~/.VertualBox is actually rather small, if it doesn't contain the VDI files. I keep them in a separate VDI directory on another partition, and link it back to /home/polack/.VirtualBox/HardDisks. VBox seems quite happy with this arrangement, and all VM .vdi files are centrally located so can be used by each OS.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15515
  • ┌∩┐(◕_◕)┌∩┐
Re: Move "dot" File To Another Partition?
« Reply #2 on: February 26, 2010, 01:25:03 PM »
Quote
VBox seems quite happy with this arrangement, and all VM .vdi files are centrally located so can be used by each OS.

Ray2047

I too, do what old-polack does and have my VDI's located in there own location where they can be used by VBox from wherever...
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Move "dot" File To Another Partition?
« Reply #3 on: February 26, 2010, 02:08:37 PM »
Yes, it is primarily the VDI files but where and how do I create the link? That is what I'm not sure of.

How do I go about adding in the new hard drive? Do I just install it and let the system find it or do I need to edit FSTAB or some other file. Can I Fdisk and format it after it is recognized by the system. Sorry but I'm in what is newbie territory for me so not even quite sure what to ask.

Thank you for the help so far.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Move "dot" File To Another Partition?
« Reply #4 on: February 26, 2010, 02:38:27 PM »
Yes, it is primarily the VDI files but where and how do I create the link? That is what I'm not sure of.

Open two file manager windows and drag the directory to it's new location, then choose Move Here. When that's done, reverse the process back to the original location but choose Link Here.

Quote
How do I go about adding in the new hard drive? Do I just install it and let the system find it or do I need to edit FSTAB or some other file. Can I Fdisk and format it after it is recognized by the system. Sorry but I'm in what is newbie territory for me so not even quite sure what to ask.

Thank you for the help so far.

What new hard drive? There was no mention of a new hard drive in your original post. The question asked was about moving folders from one partition to another. Forum rules state one problem per thread. This one has been explained/solved. If you need help with hardware (a new hard drive) you need to start another thread in the appropriate forum section. ;)

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Move "dot" File To Another Partition?
« Reply #5 on: February 26, 2010, 02:48:25 PM »
Quote
Open two file manager windows and drag the directory to it's new location, then choose Move Here. When that's done, reverse the process back to the original location but choose Link Here.
So obvious I feel stupid for asking. Where I was going to move them was a hard drive I was going to add that's what I meant by
Quote
to a partition on a second hard drive.
Sorry I wasn't clear. I will mark the post as answered.

Thank you for the help.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6472
  • I'm going South
Re: <answered>Move "dot" File To Another Partition?
« Reply #6 on: February 26, 2010, 06:10:10 PM »
When you start your new thread in the hardware section, remember to tell us whether your new hard drive is an internal one or a removable one.  :)
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: <answered>Move "dot" File To Another Partition?
« Reply #7 on: February 26, 2010, 06:22:39 PM »
When you start your new thread in the hardware section, remember to tell us whether your new hard drive is an internal one or a removable one.  :)

Actually I'll probably just install and yell only if I get stuck. It is interesting though how one question can supply answers to others. I will also use this HD to backup other home files in case 2010 gives me a problem. Again thanks.
« Last Edit: February 26, 2010, 06:24:20 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb