LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   clonig linux (https://www.linuxquestions.org/questions/linux-general-1/clonig-linux-49588/)

Kilrathi 03-13-2003 07:38 AM

clonig linux
 
Hello;

Does somebody knows how to clone an installed linux-pc to another pc??

Thanks in advance

Erwin

markus1982 03-13-2003 08:03 AM

I suggest using dump since this works fine. For example:

fdisk -l /dev/sda
Quote:

Disk /dev/sda: 255 heads, 63 sectors, 1115 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1115 8956206 5 Extended
/dev/sda5 1046 1115 562275 82 Linux swap
/dev/sda6 1 131 1052194+ 83 Linux
/dev/sda7 132 138 56196 83 Linux
/dev/sda8 139 155 136521 83 Linux
/dev/sda9 156 678 4200966 83 Linux
/dev/sda10 679 711 265041 83 Linux
/dev/sda11 712 842 1052226 83 Linux
/dev/sda12 843 973 1052226 83 Linux
/dev/sda13 974 1045 578308+ 83 Linux

Partition table entries are not in disk order
Now you would need to dump each partition ... using for instance:

dump -0 -z9 -f sda1.dump /dev/sda1

And later to restore it

restore -rf sda1.dump

If you need more help please check the man pages!


All times are GMT -5. The time now is 12:14 AM.