Author Topic: [SOLVED] Is there a way to mirror an existing PCLOS to another PC?  (Read 1089 times)

Offline mutzsow

  • Jr. Member
  • **
  • Posts: 48
Hello,

my flatmate is now into Linux too and don't want his XP anymore.
So it would be easy to install it from a live DVD but then we have to update everything again and all the updates are still made on my system.
Is there a way how we can first mirror my system to his PC, change the user and then it would be perfect if we could update in the future together, so we have to download the updates just once.

Or am I dream again?

Thanks in advance for constructive answers.

Regards
mutzsow
(Armie Bill Joestrong)
« Last Edit: December 07, 2011, 02:20:52 AM by Texstar »

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12789
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #1 on: November 21, 2011, 08:23:45 AM »
« Last Edit: March 28, 2013, 03:58:42 PM by AndrzejL »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10607
  • MLUs Forever!
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #2 on: November 21, 2011, 09:37:57 AM »
Remaster (mylivecd) is the best option IMO ....... you can then install to his PC from a DVD ....  including all the updates and installed apps on yours.
Just omit your personal account in the remaster.

For sharing updates in the future, .... downloaded update files can be stored (Setting in Synaptic) and copied to the second PC, so when it goes to update it does not download the same files again.
There will inevitably be some differences in the PC, but that should mean a minimal extra download.

regards
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #3 on: November 21, 2011, 03:41:08 PM »
For sharing updates in the future, .... downloaded update files can be stored (Setting in Synaptic) and copied to the second PC, so when it goes to update it does not download the same files again.

Hi,
A detail : the whole /var/cache/apt directory should be copied in this case. It contains the following directories and files:
archives/  genpkglist/  gensrclist/  pkgcache.bin  srcpkgcache.bin

When I use this method, I generally do a tarball of the whole apt directory in the source distribution, save the apt directory under apt-backup in the target distribution (incase a file get corrupted while doing the archive) and untar it under /var/cache in the target distribution.

I has worked a lot of times this way for me, and the backup helped me once as well.

Regards,
Mélodie
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12789
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #4 on: November 21, 2011, 04:42:51 PM »
Why? I just copy rpms and it works fine...

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10607
  • MLUs Forever!
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #5 on: November 21, 2011, 05:19:37 PM »
Why? I just copy rpms and it works fine...

+1
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Online johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1104
  • Make Love Not War
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #6 on: November 21, 2011, 08:59:24 PM »
The whole /var/cache/apt is included in the remaster.
+1 All you need are the rpm's.
Just be sure to set your source machine to save the archives or they'll be deleted when you exit synaptic.  ;D
See; settings>preferences>files

Remaster or LiveUSB?
I always remastered 'til I tried the Live USB. Very simple.  ;D
« Last Edit: November 21, 2011, 09:10:13 PM by johnmart »
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #7 on: November 21, 2011, 11:35:14 PM »
Why? I just copy rpms and it works fine...

+1

So you say it does not need more ? You still have to reload the information, don't you ?

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #8 on: November 22, 2011, 12:26:17 AM »
DRBL is another option, though advanced.

A DRBL server (Diskless Remote Boot into Linux) is able to work as a server for diskless systems. Though advanced to setup, I have used it successfully.

At the moment I use DRBL on a daily basis at work cloning multiple XP and Win7 systems with multicast (up to 254 at a time).

DRBL is in the repos,

cheers,
MBantz

Online johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1104
  • Make Love Not War
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #9 on: November 22, 2011, 01:33:58 AM »
Melodie,

I think Andrejz & Just18 were referring to using one machine to update via synaptic & the other to update by copying the rpms from the /var/cache/apt/archives to the machine to update. Then running synaptic as usual. Even if the installs have different apps, the apps in common are updated from the copied rpms & any apps not installed on the first computer are downloded by the 2nd comp.
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline mutzsow

  • Jr. Member
  • **
  • Posts: 48
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #10 on: November 22, 2011, 04:34:16 AM »
Thank you all for your tips, maybe I can start it today after work, I have a lot to do right now.
But I've already read the remaster and clone articles.

Thanks alot

mutzsow
(who is the chief of handker?)

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12789
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #11 on: November 22, 2011, 07:44:43 AM »
Melodie,

I think Andrejz & Just18 were referring to using one machine to update via synaptic & the other to update by copying the rpms from the /var/cache/apt/archives to the machine to update. Then running synaptic as usual. Even if the installs have different apps, the apps in common are updated from the copied rpms & any apps not installed on the first computer are downloded by the 2nd comp.

10 points for this Dude.

Copy *.rpm from the archives folder on one machine, paste them to the same location on 2nd machine. Reload synaptic. Mark all upgrades. There should be little or no download at all :). Same goes for all the apps installed on first machine. 2nd machine will not have to download any (or very little) files.

Offline mutzsow

  • Jr. Member
  • **
  • Posts: 48
Re: Is there a way to mirror an existing PCLOS to another PC?
« Reply #12 on: November 29, 2011, 10:29:09 AM »
So far so good, I had remastered my installation and it's on the way to an usb stick rightnow, but I will also try the clone thing later and see how it works.

Thanks a lot people of planet PCLOS ^.^
You're fantastic.

mutzsow
(Where is Taya Memple?)

Offline mutzsow

  • Jr. Member
  • **
  • Posts: 48
Re: [solved] Is there a way to mirror an existing PCLOS to another PC? [solved]
« Reply #13 on: December 01, 2011, 02:24:30 PM »
So, everything worked out very fine so far.

Exept that the harddisk has crashed today...but it was a really old one (10 years+)
But we buy a new one tomorrow.

And of course it was only the one for the system that crashed the other is working fine but is not so old.
I really hate old drives, every hd should remind it's owners on it's 5th and the following birthdays ^.^

I'm just saying...

Greetz and Regards
mutzsow
(Grapes or G.Rapes SCNR)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: [solved] Is there a way to mirror an existing PCLOS to another PC? [solved]
« Reply #14 on: December 03, 2011, 02:56:27 AM »
So, everything worked out very fine so far.

Exept that the harddisk has crashed today...but it was a really old one (10 years+)
But we buy a new one tomorrow.

And of course it was only the one for the system that crashed the other is working fine but is not so old.
I really hate old drives, every hd should remind it's owners on it's 5th and the following birthdays ^.^

I'm just saying...

Greetz and Regards
mutzsow
(Grapes or G.Rapes SCNR)


It exists, the technology is called s.m.a.r.t drive http://sourceforge.net/apps/trac/smartmontools/wiki

smartmontools is in the repo :-)

cheers,
MBantz