LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-22-2003, 04:38 PM   #1
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Rep: Reputation: 30
harddrive mirror


can i mirror the hd on one machine to a hd on another machine or should i setup similar systems on each and then mirror a particular partition(which will be a backup in essence)?
 
Old 07-23-2003, 02:37 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have used Power Quest Drive Image to take images of linux disks and successfully used it to install on another machine. The only requirement is that the drive must have the same id. i.e. if the drive id is /dev/hda1 then the destination must be the same else you'll have boot problems and you'll have to edit fstab etc to get it to work.
 
Old 07-24-2003, 03:16 AM   #3
Zoidy
LQ Newbie
 
Registered: Jul 2003
Location: Germany
Distribution: Kubuntu / Xubuntu (Gutsy)
Posts: 12

Rep: Reputation: 0
There is a good linux tool for the partition images: partimage
It worked flawlessly for me every time I used it (and I did this quite often when exchanging harddrives - even a Windows98 copy to another hd worked).

AFAIK it is included in knopppix so that would probably the most comfortable way to use it

But - like TigerOC said - take care of the fstab and probably you will have to set up lilo again. And if the hardware is different (graphics card, nic, soundcard etc.) you will have to take care of that too.

Last edited by Zoidy; 07-24-2003 at 03:20 AM.
 
Old 07-24-2003, 04:32 AM   #4
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Original Poster
Rep: Reputation: 30
thanks to you guys for getting on this. partimage was mentioned in another thread and i went to the site(which i thought was very good) and got the download, although i also have knoppix(i'm impressed and i'm a slacker) which i downloaded and burned not too long ago(so it probably is on it too). i was asked if a debian system on a laptop could be mirrored to a pc, but i think what is wanted is a debian system on the pc which has the same apps available with data mirrored to start and then frequently synched to the laptop. so, i may be looking into how to readily update the pc data from the laptop.
powerquest seems to be for windows from the page i browsed, though i didn't go past that finding and i may have missed something(obviously, i did from TigerOC's reply), so i'll look again.
i do appreciate your time and thoughts on this, and i'm probably not done with it yet, but it's 5:30am here and i've got to crash or i won't get up before 2 or 3 in the afternoon.
 
Old 07-24-2003, 02:35 PM   #5
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
When using drive imaging the os is not operational. Drive image uses boot disks and works in DOS and Partimage also uses a boot disk. I made a cd boot disk for partimage but have not really got to grips with is yet as I have used Drive image for a number of years for doing backups of Windoze systems.
 
Old 07-24-2003, 02:43 PM   #6
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
Never tried it, but would

dd if=/dev/hda of=/dev/hdb

work? The first harddrive you want to mirror would be hda, and the harddrive to be mirrored to would be hdb.

Last edited by KneeLess; 07-24-2003 at 02:44 PM.
 
Old 07-25-2003, 03:46 PM   #7
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Original Poster
Rep: Reputation: 30
i thought about dd, and aside from being a tyro in its use, it seems to me that there might be problems using it to mirror a partition because of the way it handles file sizes-not that you would lose data, but things wouldn't be "mirrored" in an absolute sense. this may be handled with options, but as i said, i'm no expert and would need some experience.
your suggestion, KneeLess, has got me thinking to look further, and i thank you.
 
  


Reply



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
mirror IDE harddrive compu73rg33k Linux - Hardware 14 01-20-2005 04:50 PM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
mirror BRAHmS Linux - General 1 05-08-2004 07:31 PM
Need to replace full harddrive with new, larger harddrive pearlr Linux - Newbie 1 01-02-2004 12:59 PM
How to Mirror HD? sikandar Linux - Software 4 08-25-2003 11:16 AM

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

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

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