Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cloning an install to a different CPU

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
kgolding



Joined: Sat Oct 15, 2005 9:48 pm
Posts: 17
Location: Surrey

PostPosted: Tue Mar 05, 2013 9:21 am    Post subject: Cloning an install to a different CPU Reply with quote

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
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Tue Mar 05, 2013 9:52 am    Post subject: Reply with quote

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.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
kgolding



Joined: Sat Oct 15, 2005 9:48 pm
Posts: 17
Location: Surrey

PostPosted: Tue Mar 05, 2013 12:08 pm    Post subject: Reply with quote

So it shouldn't be an issue then Smile

Thank you for the reassurance.
Back to top
View user's profile Send private message
guy
LXF regular


Joined: Thu Apr 07, 2005 1:07 pm
Posts: 1071
Location: Worcestershire

PostPosted: Thu Mar 07, 2013 11:09 am    Post subject: Reply with quote

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 help vampire
Back to top
View user's profile Send private message
kgolding



Joined: Sat Oct 15, 2005 9:48 pm
Posts: 17
Location: Surrey

PostPosted: Thu Mar 07, 2013 9:26 pm    Post subject: Reply with quote

Hello Guy, the servers run headless so there is no dependency on graphics - thankfully! Smile

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
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Thu Mar 07, 2013 9:39 pm    Post subject: Reply with quote

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.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
kgolding



Joined: Sat Oct 15, 2005 9:48 pm
Posts: 17
Location: Surrey

PostPosted: Thu Mar 07, 2013 9:40 pm    Post subject: Reply with quote

Thanks nelz - I think just deleting the rules file will do the trick for me.

Kevin
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast