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

Notices


Reply
  Search this Thread
Old 02-04-2009, 02:55 AM   #1
mucheyz
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
theYinYeti
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: 10.0.0.1) on the installed PC: PC1.
2- Boot SystemRescueCD and setup network (eg: 10.0.0.2) 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:
Code:
[root@10.0.0.1]# ( cd /mnt/sda6;
    tar -czf - --ignore-failed-read --force-local --one-file-system .)
| ssh root@10.0.0.2 '
    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

Yves.

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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