Register a domain and help support LQ
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 03-28-2011, 08:08 PM   #1
Registered: Jul 2004
Location: VIC, Australia
Distribution: RHEL, CentOS, Ubuntu Server, Ubuntu
Posts: 364

Rep: Reputation: 38
Hard disk clone question

sda: 512MB
sdb: 1024MB

sda has some data on it and I copied all data from sda to sdb using

dd if=/dev/sda of=/dev/sdb
Now, when I run fdisk on sdb, it reports as a 1024MB disk but does not let me add any new partitions; says that no free sectors available, even though another 512 should be available. Since its MBR has the partition table info of sda, a 512MB disk, I am getting this error. How can I fix the partition table (using some tool, not manually which I can do by myself) information of sdb without deleting any data contained in sdb (which was copied from sda)?

Last edited by the_gripmaster; 03-28-2011 at 08:47 PM.
Old 03-28-2011, 09:58 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Try :-

partx -a /dev/sdb
fdisk -l /dev/sdb


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 Clone my hard disk? TigerLinux Linux - Newbie 13 11-21-2010 10:46 AM
Make a Clone Hard Disk kamalantha Linux - Software 3 08-06-2010 11:43 AM
clone hard disk with: cat /dev/sda >/media/disk/backup deathalele Linux - Security 3 04-17-2009 12:29 AM
how to clone centos to other hard disk? windstory Linux - Newbie 2 02-13-2009 08:43 PM
LXer: Clone your Ubuntu installation onto a new hard disk LXer Syndicated Linux News 0 11-13-2008 09:11 PM

All times are GMT -5. The time now is 08:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration