kanotix.com

General Support - Easiest way to clone an installation on different hardware?

LinuxGeek - 27.11.2006, 14:12 Uhr
Titel: Easiest way to clone an installation on different hardware?
Hi,
I have multiple machines that I would like to install Kanotix on. I've already installed it on one machine and am currently updating packages, etc. on that machine and would then like to clone the setup including all the additional packages, etc. to different machines. I've done this before but realized that there were a lot of hardware specific modifications that I had to do by hand (xorg.conf for example, powernwo vs. speedstep, etc.). Is there any script that would re-initialize hardware-dependent values and make the necessary modifications to make cloning easier? Thanks for your help.
LinuxGeek - 29.11.2006, 19:34 Uhr
Titel: RE: Easiest way to clone an installation on different hardwa
Anyone?
John - 30.11.2006, 10:11 Uhr
Titel: RE: Easiest way to clone an installation on different hardwa
i think the easiest way woul be to install every machine with the cd, but to burn all the packages in /var/cache/apt/archives and to install them on the new systems via dpkg -i *.deb. you can also burn your configs you need and copy them to the new system. another possibility would be a little script. once written you can use it to modify all other installations the way you want

like

#!/bin/sh

cp -f /yourconfigs/etc/apt/sources.list /etc/apt
apt-get -y install unison-gtk gnucash ripperx frozen-bubble vlc deborphan anacron...
update-rc.d ssh defaults

adduser youruser audio


etc...

you can use all the console commands you already know

greetings
john
stryder - 30.11.2006, 10:28 Uhr
Titel: RE: Easiest way to clone an installation on different hardwa
AFAIK, everything is detected upon startup. So you can just copy your kanotix installation to another hard disk and then boot it up in another computer. The only issues are fstab (if partitions are different, also menu.lst) and the graphics card. If it is the same, nvidia or ati, then no problem either. If not, boot to console, install-graphicscard-debian.sh. Networkcardconfig if it is different too.

... of course, what I know is not very far. Smilie

*edit*
... oh, and figure a way to install grub to mbr - the kanotix cd, I guess...
LinuxGeek - 30.11.2006, 14:22 Uhr
Titel: RE: Easiest way to clone an installation on different hardwa
thanks for your suggestions.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007