Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-04-2009, 02:55 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Thumbs up build my another computer as mirror of linux system

Hi everyone i want to build my another computer as a mirror of linux system (like ubuntu, etc.) and ... i know anyone can help me, but who and when
Old 02-04-2009, 04:37 AM   #2
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Hello and welcome!

This can be done, I did it several times.
The way I did it is such:
1- Boot SystemRescueCD and setup network (eg: on the installed PC: PC1.
2- Boot SystemRescueCD and setup network (eg: on the not-installed PC: PC2.
3- On PC2, using GParted, create partitions with the same names as PC1's (sda5, sda6, sda7…) and format them; they need not use the same filesystems, only have the same “numbers” and be big enough for what the corresponding partitions contain on PC1.
4- On both PC1 and PC2, mount all partitions (except swap), eg: /mnt/sda6 and /mnt/sda7.
5- On PC2, start sshd (SSH daemon), and run passwd root, so that you know (SysRescCD's) root's password.
6- On PC1, transfer each partition using tar and ssh, eg:
[root@]# ( cd /mnt/sda6;
    tar -czf - --ignore-failed-read --force-local --one-file-system .)
| ssh root@ '
    cd /mnt/sda6;
    tar -xzf - --numeric-owner --atime-preserve --preserve --same-owner --force-local'
This is all one line, split for better readability. This is the version when the network is the weak part (with compression enabled). If the computing power (CPU) is the weak part, then remove the “z” option to both tar commands.
7- Unmount and reboot


Last edited by theYinYeti; 02-04-2009 at 04:39 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to build a computer-Need suggestions on Linux compatible parts devinmcelheran Linux - Hardware 5 01-20-2009 09:04 AM
Would like to build a cheap computer to learn linux Pengers Linux - General 5 07-31-2007 12:56 AM
Can't copy files from an SCO Unix System V computer to a Linux computer gnppapas Linux - General 2 11-27-2004 01:39 PM
Build my own computer and use linux? degraffenried13 Linux - General 39 12-29-2003 04:38 PM
I want to build a computer for linux Cor_Tauri Linux - Newbie 1 06-13-2001 06:03 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration