| View previous topic :: View next topic |
| Author |
Message |
kgolding
Joined: Sat Oct 15, 2005 9:48 pm Posts: 17 Location: Surrey
|
Posted: Tue Mar 05, 2013 9:21 am Post subject: Cloning an install to a different CPU |
|
|
Hello,
I want to create a Master installation of a Debian based system, and to then clone it to new PC's as and when required.
As I'll only be doing this once or twice a month, my plan is:
1. Create a Master installation in a Virtual Machine which I can keep updated.
2. Boot new PC's using a live CD, partition the drives, set up RAID and then rsync the Master installation to the new PC.
3. Reboot the new PC and make any minor configuration changes.
Once the new PC's have left me for production use, they will not need to be upgraded save the usual apt-get updates.
My concerns is that my VM server has an AMD CPU, but the new PC's are likely to be Intel CPU's - will this cause a problem?
All the best,
Kevin |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Tue Mar 05, 2013 9:52 am Post subject: |
|
|
No, because all the software will be compiled for a generic x86 or x86_64 CPU. The only time this becomes an issue is if you have compiled your own software with more CPU-specific flags. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
kgolding
Joined: Sat Oct 15, 2005 9:48 pm Posts: 17 Location: Surrey
|
Posted: Tue Mar 05, 2013 12:08 pm Post subject: |
|
|
So it shouldn't be an issue then
Thank you for the reassurance. |
|
| Back to top |
|
 |
guy LXF regular

Joined: Thu Apr 07, 2005 1:07 pm Posts: 828 Location: Worcestershire
|
Posted: Thu Mar 07, 2013 11:09 am Post subject: |
|
|
What about other device-specific things that might be rolled into the install, such as display drivers? Could that cause problems? _________________ Cheers,
Guy
The eternal noob |
|
| Back to top |
|
 |
kgolding
Joined: Sat Oct 15, 2005 9:48 pm Posts: 17 Location: Surrey
|
Posted: Thu Mar 07, 2013 9:26 pm Post subject: |
|
|
Hello Guy, the servers run headless so there is no dependency on graphics - thankfully!
I expect the biggest pain will be udev stealing the network eth0 and eth1 devices as being on the Master and then allocating eth1 & eth2 to the new PCs (as they all have twin network cards).
Kevin |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Thu Mar 07, 2013 9:39 pm Post subject: |
|
|
That's easily fixed. Either delete /etc/udev/rules.d/70-persistent-net.rules or use the latest udev which no longer names network interfaces like this. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
kgolding
Joined: Sat Oct 15, 2005 9:48 pm Posts: 17 Location: Surrey
|
Posted: Thu Mar 07, 2013 9:40 pm Post subject: |
|
|
Thanks nelz - I think just deleting the rules file will do the trick for me.
Kevin |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|