LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-20-2009, 09:53 PM   #1
Matt3232
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
Using dd to clone drives of different capacities?


Hello, I currently have all my data on an NTFS partition on a 500gb hard drive. I recently bought a 640gb hard drive that I want to use as my main drive so I will have more room to set up a dual boot, while leaving the 500gb drive empty for backups and shared storage. I'm planning on just booting up a live CD and using dd to copy all of the data. Will there be any problems because the disks are not the same capacity? Will the extra 140gb be available to use if I am copying from a smaller hard drive? Also, the 500gb drive will still have the Windows bootloader on it after I remove the partitions, how can I remove this bootloader? Thanks in advance for the help.
 
Old 01-20-2009, 10:03 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Don't. Cloning a drive is a very bad idea.
I might try ntfsclone, but I tend to just leave Windoze alone and add a new drive for Linux.
 
Old 01-20-2009, 10:04 PM   #3
hjogoo
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Rep: Reputation: 0
I don't think the size of the HD is a problem. try info dd
 
Old 01-20-2009, 10:20 PM   #4
Matt3232
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, I guess I'll just reinstall vista on the larger hard drive and make one big FAT32 partition for shared storage on the 500gb drive. Will the command "dd if=/dev/zero of=/dev/sda bs=512 count=1" properly erase the MBR+Partion table of the drive so I don't have to worry about the BIOS trying to boot from this drive anymore?
 
Old 01-20-2009, 10:36 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
If you're prepared to re-install, setup a partition on the new drive and try ntfsclone (from Linux). Fixing the mbr from recovery console on the Windoze install CD should be all that's needed (for Vista use bootrec.exe). Will be educational - pls post back if you do this.
If it doesn't work, do the full re-install.

As for the dd query, yes that will do it. Better option might be to change the BIOS boot disk - will make any Windows install easier.

Last edited by syg00; 01-20-2009 at 10:43 PM. Reason: D'oh - this is Vista
 
Old 01-20-2009, 10:54 PM   #6
Matt3232
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Actually, I just remembered that the program I use for backups, Acronis true image(BTW, I'm trying to find a free software alternative. Any suggestions?) , has a partition cloning tool. I'll just use that to copy my windoze partition, use bootrec to get the bootloader setup. Then I'll install my linux distro in the free space.
 
Old 01-20-2009, 11:51 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
I don't like imaging solutions - for backups, maybe keep an eye on the members choice award thread here.
 
Old 01-21-2009, 12:07 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Partimage - works fo me even for ntfs cloning and better than dd
 
  


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
mp3 player looses capacity - 2gb -. 1.3gb (du / df commands shows diff capacities) colinkingswood Linux - Hardware 2 10-06-2008 11:10 AM
bugzilla: to clone, or not to clone? The00Dustin Linux - Newbie 1 05-24-2008 06:19 AM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 05:30 PM
How do you view filesystem capacities? Neorio Linux - General 3 12-04-2003 09:14 PM
How to viewing filesystem capacities? Neorio Linux - General 6 10-11-2003 02:33 AM


All times are GMT -5. The time now is 02:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration