Autor |
Nachricht |
|
Titel: Easiest way to clone an installation on different hardware?
Verfasst am: 27.11.2006, 14:12 Uhr
|
|
Anmeldung: 24. Okt 2004
Beiträge: 39
|
|
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. |
|
|
|
|
 |
|
Titel: RE: Easiest way to clone an installation on different hardwa
Verfasst am: 29.11.2006, 19:34 Uhr
|
|
Anmeldung: 24. Okt 2004
Beiträge: 39
|
|
|
|
 |
|
Titel: RE: Easiest way to clone an installation on different hardwa
Verfasst am: 30.11.2006, 10:11 Uhr
|
|

Anmeldung: 10. Dez 2004
Beiträge: 489
Wohnort: Stuttgart / Kulmbach
|
|
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 |
|
|
|
|
 |
|
Titel: RE: Easiest way to clone an installation on different hardwa
Verfasst am: 30.11.2006, 10:28 Uhr
|
|
Anmeldung: 26. Jun 2005
Beiträge: 389
|
|
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.
*edit*
... oh, and figure a way to install grub to mbr - the kanotix cd, I guess... |
|
|
|
|
 |
|
Titel: RE: Easiest way to clone an installation on different hardwa
Verfasst am: 30.11.2006, 14:22 Uhr
|
|
Anmeldung: 24. Okt 2004
Beiträge: 39
|
|
thanks for your suggestions. |
|
|
|
|
 |
|
|
|