LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2010, 02:45 PM   #1
DLCPhoto
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 1
Need Windows App to Clone a Linux Drive/Partition


I have a computer-based device used in my Ophthalmology office that uses a Compact Flash card as its primary hard drive. This device, and the CF card, are Linux based, and so the card has Linux partitions on it.

I need to be able to clone this CF card, using a Windows computer, onto another CF card, to replace one that has failed in one of these devices.

Neither Windows XP nor Vista is able to do anything with it. I use Casper to clone Windows hard drives and partitions which are FAT32, NTFS, etc., but it does not recognize or work with Linux partitions.

I need a simple, hopefully free or inexpensive, program that I can install on a Windows XP or Vista computer, which can clone the good Linux based CF card (which would be connected via a USB Reader, or a built-in Media reader) onto a brand-new unformatted CF card that I would buy, and similarly connected.

I've done some googling, but being completely unfamiliar with Linux, I'm quite uncertain as to which might do what I want, and don't want to spend hours trying out different apps.

Any suggestions gratefully appreciated.

DLCPhoto

Last edited by Tinkster; 06-20-2010 at 04:57 AM. Reason: link removed
 
Old 06-20-2010, 07:54 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Dd has a windows version.
http://en.wikipedia.org/wiki/Dd_(Unix)

If you have a cd/dvd drive, try one of the many live cd's for this.
 
Old 06-20-2010, 07:56 AM   #3
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Dd has a windows version.
http://en.wikipedia.org/wiki/Dd_(Unix)

If you have a cd/dvd drive, try one of the many live cd's for this.
 
1 members found this post helpful.
Old 06-20-2010, 07:56 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
C'mon Tink, you can do better than that ... ;-)

@DLCPhoto, you don't need a windoze solution, you need a Linux solution you can use on your windoze machines. They are called liveCDs and can be booted, and run, without affecting your base windoze system.
Go to distro.com and pick one - knoppix is good. Has a disktop that should feel familiar to a windoze user (these are free by BTW).

Next we need to know what you mean by "clone". If your current CF card is 2 Gig and you buy a 4 Gig, are you happy to have your new card look like 2 Gig ?. Is it the boot device ?.

Lots of questions, most easily accommodated, but we need more info.
 
1 members found this post helpful.
Old 06-20-2010, 07:57 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
<deleted>
 
0 members found this post helpful.
Old 06-20-2010, 11:08 AM   #6
DLCPhoto
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 1
Thanks for the replies and suggestions. A Live CD sounds like it should let me do what I need.

As for the cloning, I imagine the Device in question wouldn't care if the CF card is 2, 4, or 8gb in capacity, as long as the underlying partitions and file contents are maintained.

I know when I copy a drive using Casper in Windows, I can alter the sizes of the various partitions the drive contains, but the contents of each remains identical (other than the amount of free space).
 
1 members found this post helpful.
Old 06-20-2010, 12:18 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
There is a dd for windows. It works like normal dd.


You can also consider acronis.

For free and simple I use g4u but there are plenty of other live cd's and floppies that will work.

Be careful with any dd command. Since g4u uses dd for both source and destination you have to watch out you don't move that CF to your hard drive.
 
1 members found this post helpful.
Old 06-21-2010, 07:25 AM   #8
DLCPhoto
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jefro View Post
There is a dd for windows. It works like normal dd.


You can also consider acronis.

For free and simple I use g4u but there are plenty of other live cd's and floppies that will work.

Be careful with any dd command. Since g4u uses dd for both source and destination you have to watch out you don't move that CF to your hard drive.
Thanks, and good point. If I do this on my home PC, I might just disconnect the data cables to the hard drives, which is quite easy to do on this system, and use a bootable CD, just to make sure!
 
1 members found this post helpful.
Old 06-21-2010, 03:11 PM   #9
DLCPhoto
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by syg00 View Post
Go to distro.com and pick one - knoppix is good. Has a disktop that should feel familiar to a windoze user (these are free by BTW).
Well, I downloaded the Knoppix 6.2 ISO, burned it to a CD-R, disconnected both of my internal Hard Drives (just to be absolutely sure I didn't screw anything up on them), and booted from the Knoppix CD.

After completing its sequence, it showed an "Adriane" Menu System, with entries 0-13 (also, with the voice-reading apparently enabled by default, which is kind of annoying).

The options were WWW, EMail, etc... and included File Manager, Shell, Graphical Programs, Setup, etc. I have explored these various options and don't see anywhere that I can do a cloning operation.

I tried the Graphical Programs, and it opened up a Windows-like interface, which again I explored, not finding anything that looked like it would clone a drive.

It was able to detect the 2 CF cards I inserted to test it out - one in the built-in Media Reader, and the other in a USB connected external media reader - so that part looks compatible.

So I'm at a loss as to how I can accomplish what I want once I've booted up with Knoppix.

Where do I go from here??

I also remembered I have "UltimateBootCD", Version 4.11 I think, if that would be of any use.

Thanks for the help I've received so far - hopefully we're in the home stretch in terms of getting my CF cards cloned.
 
Old 06-21-2010, 03:59 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Sadly knoppix is not what is used to be.

You can select a better live cd for your task such as partedmagic or really almost any other top utility distro. I think ultimate boot cd has all the tools too.

I would think that an old ghost would work if you put the cards in a fully supported ide to cf adapter. That is what I'd do first. (get an ide to cf adapter that is fully seen as a hard drive) That way you can us almost any program to clone the disks.
 
Old 06-21-2010, 06:11 PM   #11
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
Posts: 270

Rep: Reputation: 48
Paragon partition Manager or 'Paragon Festplatten Manager'.

http://www.paragon-software.com/buy/eshop/home/
 
Old 06-21-2010, 07:17 PM   #12
DLCPhoto
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Original Poster
Rep: Reputation: 1
Update:

I tried Ultimate Boot CD 4.11, but either the relevant utilities wouldn't boot properly, or the CF cards weren't recognized.

So I next downloaded Ultimate Boot CD 5.02. This worked out better. I ran Parted Magic from this CD, which booted into a nice Windows-type interface. I saw the Ghost 4 Linus was one of the options, so I ran this. It opened properly, and was able to recognize both of my (FAT32) CF cards, so the pieces all seem to be in place. And one of the options was a direct disc clone, where I could select one CF card as the source, and the other as the target. So hopefully this will work.

I'll next get the actual linux-based CF card I want to clone, a new blank one, and hopefully I'll be good to go.

I just realized that while my FAT32 test CF cards have only a single partition on them, the Linux one I want to clone had 2. I might have to manually create the appropriate partitions on the new CF card if Ghost 4 Linux doesn't take care of it automatically.

Will post back when I try this all out - probably on Wednesday.
 
1 members found this post helpful.
  


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
Want to clone Windows Server 2003 to larger hard drive ZapTheSheep General 4 04-18-2011 06:57 PM
Clone Linux Partition to a Bigger Partition k_oudom Linux - Software 6 02-16-2010 04:19 PM
I need to Clone a Red Hat drive and install clone in HP server drummer54 Linux - Newbie 14 03-07-2009 04:15 PM
Linux partition on windows drive Paul Griesbaum Linux - Hardware 10 12-31-2008 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 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