LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2019, 01:48 PM   #1
akstirling
LQ Newbie
 
Registered: Apr 2019
Posts: 18

Rep: Reputation: Disabled
Transfer installed software on one drive to fresh copy Linux on second .....


Hi ...... casting around for a solution to a space shortage on my current Linux Mint 19.1 drive ... to move the complete content to a bigger faster drive on same pc, tried using clonezilla - no dice/Timeshift - a blank there too .... in my travels today i came across something called 'Aptic' which appears to move installed software only which would be ideal if runnable with Linux .... would it be worth a try???

Last edited by akstirling; 06-14-2019 at 01:51 PM.
 
Old 06-14-2019, 01:59 PM   #2
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,476

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
So if I understand you're simply trying to copy whole Mint install from one hard drive to another?
Can you see partition you want to install to and viewable/mountable from your Mint install?
 
Old 06-14-2019, 03:15 PM   #3
akstirling
LQ Newbie
 
Registered: Apr 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
Yes the end result i'm after is to basically have my original install(drive 1) including all apps I installed, cloned on to drive 2 .... have done a fresh install of LM 19.1 on drive 2, and looking to transfer over the apps which the utility i mention seems to be aimed at doing ...

Last edited by akstirling; 06-14-2019 at 03:17 PM.
 
Old 06-14-2019, 06:51 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,005
Blog Entries: 5

Rep: Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853Reputation: 2853
In what way did Clonezilla not work? It is a commonly-used method of cloning disks/partitions.
 
Old 06-14-2019, 08:58 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,821

Rep: Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830Reputation: 2830
Despite what was written, the OP does not want to clone. I have no experience of aptik, but if you think it will do what you want try it. Even if it screws up you always have the original disk so you can try again. But what about your data - documents, photos whatever ?.
Personally I keep /home as a separate partition, and just copy that over then re-install all the apps - this keeps/uses customisations I have already done. Maybe you could use aptik for that after copying /home.
Of course you could just move /home (or whatever is using all the space) onto the new disk and free up that space on the original disk. Simplest.
 
Old 06-14-2019, 09:04 PM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,476

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
ok I think you want to use rsync, it will make drive 2 same as drive 1 if thats what you want, you still must edit /boot/grub/grub.cfg in drive 2 and /etc/fstab and make new initrd, I can help with all that
 
Old 06-15-2019, 04:54 AM   #7
akstirling
LQ Newbie
 
Registered: Apr 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
OK linus would like to have a crack at using rsync .... had a quick read of its capabilities and they're impressive .... help obviously crucial ....
 
Old 06-15-2019, 05:36 AM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,476

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
So I think you'd do something like
rsync -avh drive-1 drive-2

then copy your grub.cfg to new drive
example is /dev/sda1 mounted at /mnt/sda1
and drive-2 is /dev/sdb1 mounted at /mnt/sdb1

cp -r /mnt/sda1/boot/grub/grub.cfg /mnt/sdb1/boot/grub/

same for /etc/fstab

cp -r /mnt/sda1/etc/fstab /mnt/sdb1/etc

then edit both of them for new drive

Now make new initrd, does Mint use the command "update-initramfs"?
If so use that command to create new initramfs for drive-2

Last edited by linus72; 06-15-2019 at 07:16 AM.
 
Old 06-15-2019, 08:27 AM   #9
akstirling
LQ Newbie
 
Registered: Apr 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
Strikes me would help if you had a picture of the drives involved, so below please find links to captures .... what i referred to as Drive 1 is mmcblk0p2, and drive 2 sda5 ....


https://www.4shared.com/photo/EqoUddV8ee/Drive1.html
https://www.4shared.com/photo/CM_ByF6bgm/Drive2.html
 
Old 06-15-2019, 09:00 PM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,293

Rep: Reputation: 83
rsync
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transfer from one device to another always is fast for half the transfer, then block and I have to wait a lot (loooot) of time AoiHana Linux - Newbie 17 12-18-2018 03:05 PM
Music transfer software for MP3 players using Media Transfer Protocol commandante Linux - Software 2 06-26-2007 11:09 PM
Using SMB to copy files from one linux machine to second linux machine. coppersky Linux - Networking 9 06-24-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration