You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Mount new ~ to old one in another partition

Author (Read 4380 times)

0 Members and 1 Guest are viewing this topic.

Re: Mount new ~ to old one in another partition
« Reply #12 on: July 29, 2018, 01:50:23 AM »
 

kpanic

  • PayPal Supporter
  • Forum Regular
  • *****
  • 162
    Posts
  • Reputation: 67
  • Linux Lite Member
    • View Profile

  • CPU: Core i5 M450

  • MEMORY: 8Gb

  • VIDEO CARD: Nvidia GT216
Ooops! Actually @m654321 and @DeepThought gave better instructions.
Better NOT copy the old configuration files and directories, which usually begin with a dot,
like for example the directory ~/.synaptic

So, better just copy (or link) the normal directories like ~/Documents, ~/Music and so on
 

Re: Mount new ~ to old one in another partition
« Reply #11 on: July 08, 2018, 11:27:32 AM »
 

Roy

  • New to Forums
  • *
  • 36
    Posts
  • Reputation: 2
  • Linux Lite FTW
    • View Profile

  • CPU: intel core i7 4820k

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GTX 970
These are all good solutions  :D
Maybe next time I ran into this problem I'll have more options to pick  ;D
 

Re: Mount new ~ to old one in another partition
« Reply #10 on: July 05, 2018, 12:16:32 AM »
 

kpanic

  • PayPal Supporter
  • Forum Regular
  • *****
  • 162
    Posts
  • Reputation: 67
  • Linux Lite Member
    • View Profile

  • CPU: Core i5 M450

  • MEMORY: 8Gb

  • VIDEO CARD: Nvidia GT216


And one way to do it, is to save everything into an USB stick and then restore back from it.
 

Re: Mount new ~ to old one in another partition
« Reply #9 on: July 04, 2018, 11:56:33 PM »
 

kpanic

  • PayPal Supporter
  • Forum Regular
  • *****
  • 162
    Posts
  • Reputation: 67
  • Linux Lite Member
    • View Profile

  • CPU: Core i5 M450

  • MEMORY: 8Gb

  • VIDEO CARD: Nvidia GT216
Sorry to be late in this topic but here is what I would have done to copy the old home directory:
Mounted the partition which had the old /home to /mnt

1. sudo mount /dev/device_where_old_home_is  /mnt
2. cd /home
3. sudo cp -dpR /mnt/home/your_user .
4. sync && umount /mnt

One way to do it, which keeps the old files on the source drive saved

« Last Edit: July 05, 2018, 12:18:52 AM by kpanic »
 

Re: Mount new ~ to old one in another partition
« Reply #8 on: July 03, 2018, 12:07:18 PM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
@Roy
You're welcome - I'm glad to be of any help  :)
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

Re: Mount new ~ to old one in another partition
« Reply #7 on: July 03, 2018, 09:05:53 AM »
 

Roy

  • New to Forums
  • *
  • 36
    Posts
  • Reputation: 2
  • Linux Lite FTW
    • View Profile

  • CPU: intel core i7 4820k

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GTX 970
Thanks I very much appreciate it!
I did read your comment a bit late as I already deleted my LL3.8.. initially I wasn't intended to go dual booting, I just wanted the latest LL keeping 3.8 as backup for a short period of time so if something goes bad with 4...
I had to do partitions rearranging because of an unallocated space in the beginning of the hard drive either way, so I decided to split it in half and the first (clean) partition I mounted as the new home and the second (old) partition serves as a backup until everything I need copied to the new one :)
After everything is ok I'll delete the second partition and expand the first one.
 8)
 

Re: Mount new ~ to old one in another partition
« Reply #6 on: July 03, 2018, 05:05:47 AM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
@Roy  am I correct in thinking you are dual booting, LL 3.8 and LL 4.0 where you have LL 3.8 home on another partition. If so trying to use the same config files for both systems will break things.

An easier option would be to leave things as is, LL 3.8 with home on the other partition and LL 4.0 with home in its own partition. Then create soft links from LL 4.0 home to the data folders (Documents, Downloads, Music, Videos etc). That way your config files stay safe but you can share data between systems.

"Man ln" is a good source for soft links

DeepThought has a point - this is your best option: soft-linking, also known as symlinking (symbolic-linking).
With this you can access your data files on a dedicated data partition from both your versions of LL, or from any other OS you may install on your PC.If you have a second drive bay, you could have the second drive as a data-only drive, which can also be removed (if need be) and accessedby other PCs.

Let me know if you want to know how to do this and I'll write a short tutorial for you - it's a quick method - won't take you long to carry out if you're happy using the terminal.
There is already a 'symlinking tutorial' on this forum by goldfinger, but I had some issues with it as it caused some instability with
in a Linux multiboot system.

Either way, just let me know ...
« Last Edit: July 03, 2018, 05:12:02 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

Re: Mount new ~ to old one in another partition
« Reply #5 on: July 02, 2018, 12:47:39 PM »
 

Roy

  • New to Forums
  • *
  • 36
    Posts
  • Reputation: 2
  • Linux Lite FTW
    • View Profile

  • CPU: intel core i7 4820k

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GTX 970
Well I am eventually gonna delete 3.8 for 4 and don't really wanna mess around with multiple home partitions
 

Re: Mount new ~ to old one in another partition
« Reply #4 on: July 02, 2018, 12:08:14 PM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.x
@Roy  am I correct in thinking you are dual booting, LL 3.8 and LL 4.0 where you have LL 3.8 home on another partition. If so trying to use the same config files for both systems will break things.

An easier option would be to leave things as is, LL 3.8 with home on the other partition and LL 4.0 with home in its own partition. Then create soft links from LL 4.0 home to the data folders (Documents, Downloads, Music, Videos etc). That way your config files stay safe but you can share data between systems.

"Man ln" is a good source for soft links
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Mount new ~ to old one in another partition
« Reply #3 on: July 02, 2018, 11:45:51 AM »
 

Roy

  • New to Forums
  • *
  • 36
    Posts
  • Reputation: 2
  • Linux Lite FTW
    • View Profile

  • CPU: intel core i7 4820k

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GTX 970
Thanks

I wanted to tell LL4 to use the home from LL3.8 which reside on its own drive
And yes I thought the configuration files and some binary files may cause issues so I halted that operation and posted my question here..

So if I want to use my home partition with LL4, I need to reorganize some things there like removing things that may cause issues right?
Only then I can move LL4 home to the old partition..

Think I will boot to LL3.8 and do some backups and save all the configurations I think I'll need in LL4 and then reboot into LL4 and do some re-partitioning...
« Last Edit: July 02, 2018, 11:48:53 AM by Roy »
 

Re: Mount new ~ to old one in another partition
« Reply #2 on: July 02, 2018, 07:18:32 AM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
Hi all
So I've just installed a fresh new Linux Lite 4  ;D
Will it be wise to mount (or just move) home to the old one from 3.8 in another partition?

I've understood that you wish to transfer the files in LL4's 'home' to LL3.8's 'home'.

Instead of moving the whole of 'home', I would just copy & paste your personal datafiles (e.g. the files in Documents, Downloads, Music etc).

If you transfer the whole of 'home' you risk having problems with LL4's configuration files
conflicting with LL3.8, and so LL3.8 may cease to work properly.
64bit OS (32-bit on Samsung netbook) installed in Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
 

Mount new ~ to old one in another partition
« Reply #1 on: July 01, 2018, 02:23:39 PM »
 

Roy

  • New to Forums
  • *
  • 36
    Posts
  • Reputation: 2
  • Linux Lite FTW
    • View Profile

  • CPU: intel core i7 4820k

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GTX 970
Hi all
So I've just installed a fresh new Linux Lite 4  ;D
Will it be wise to mount (or just move) home to the old one from 3.8 in another partition?
« Last Edit: October 16, 2018, 02:31:56 AM by Jerry »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section