LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-03-2008, 12:33 PM   #1
mlitwinowich
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
Cloning disk partitions; could someone review this?


I'm trying to clone two HD partitions from a defective drive. I have no backups, so I have to get it right the first time. I'd like to get someone to give me a sanity check.

I have a dual boot HD (via GRUB) with the first partition NTFS (130GB, Windows XP professional) and a small ext3 (<1GB, RHEL 4) partition. The rest of the disk is unformatted and for now I don't care about it. I plan to use "dd" from linux to clone the first partition and probably Clonezilla to do the rest. The first partition has so many bad sectors, Clonezilla won't work on it. I cloned the first (ntfs) partition to an partition sized exactly the same on an external USB (/dev/sdb1) HD via "dd if=/dev/sda1 of=/dev/sdb1 bs=512 conv=noerror,sync count=287413957" (I don't have my notes in front of me, so the count value may be off)", but when I look at /dev/sdb1 via GParted, it doesn't see the cloned partion on the external USB drive as NTFS, rather as inidentified.

Maybe my thinking is naive, but shouldn't the cloned partition show up as NTFS? Also, is my approach on the right track?

Thanks
 
Old 10-03-2008, 12:51 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
You copied the partition but not the partition table. The ID is in the table.

[Edit for more info] Are you on the right track? Hard to know, dd will copy bad with good, so it might not do what it is you want. NTFS partitions are finicky about being moved, so it may become unbootable. It's unfortunate that you have no backup; I'd probably move as much data off the drive using disk recovery software if necessary, cp if not necessary.

Last edited by mostlyharmless; 10-03-2008 at 01:09 PM. Reason: added info
 
Old 10-03-2008, 01:17 PM   #3
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
you know I've always used ghost for many years, and tried clonzilla, and ghost for linux, none of them I liked, until I run into partimage, specific the one that comes with systemrescuecd distro I really recommend it, it's really easy to use, I backup all my installations with it
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cloning LVM partitions deesto Linux - General 0 07-12-2007 11:38 AM
HD (Partition) Cloning for SCSI-based NTFS and EXT3 partitions DaneelGiskard Linux - Software 1 05-20-2007 12:30 PM
cloning disk using cp - no special devices for target disk vulture99 Linux - General 6 05-08-2005 05:36 PM
Cloning Hard Drives and Partitions! an alternative to Norton ghost thebover Linux - Software 3 08-18-2004 03:40 PM
Disk Cloning sts_cat Linux - General 1 03-24-2003 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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