Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-03-2008, 10:39 AM   #1
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
Smile how do i create a mirror linux box

Hi everyone i want to build a mirror system
and i dont know if that can work if not i know about a mirror hard drive
anyone can help me with ideas
Old 01-03-2008, 03:02 PM   #2
LQ Newbie
Registered: Sep 2007
Distribution: Debian
Posts: 6

Rep: Reputation: 0
If you are trying to make a RAID array with mirroring (RAID 1 or RAID 0+1 etc), have a look at the Software Raid HOWTO:

If you are trying to create a duplicate of your Linux installation on another computer, there are several ways to do this:

1. Copy entire hard drive bit-for-bit
This required two hard drives of exactly equal size. Boot off some other volume (eg, off a linux install/rescue CD or Knoppix), and use the tool 'dd' to copy source hard drive to destination.

2. Copy files individually
Boot existing system in single-user mode. Plug new disk into Linux machine, create partitions on it, format them with some Linux filesystem, then:
2.1 Mount new disk on existing system, for example:
mount /dev/hdb /mnt
2.2 As root, copy files from old machine to new
Many directories can be copied recursively from old to new like this:
cp -r /usr /mnt/
Some special directories such as 'proc' and 'sys' shouldn't be copied, just created empty on destination:
mkdir /mnt/proc
2.3 Chroot into copy of system on new disk
chroot /mnt sh
Now the newly-copied system seems to be the root directory
2.4 Install bootloader
Eg under Debian, update-grub

Now the new hard disk should be a bootable copy of your old one.
Old 01-04-2008, 12:36 AM   #3
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Original Poster
Rep: Reputation: 30
how about clusters can someone please explain what i need to do to create a cluster
or if i can use a load balancer


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
How to create YUM repository with my RPMs (not mirror) kepkin Red Hat 2 08-01-2007 02:47 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM
openoffice 2- how do i create a text box? lefty.crupps Linux - Software 2 11-02-2005 10:29 PM
Can I create a popup box that alerts me when someone logs in to my box remotely? davee Linux - Security 1 06-29-2004 03:00 PM
How do I create new account for my linux box jbeedham Mandriva 10 08-22-2003 08:22 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:44 AM.

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