In short, if I do
dd disk-to-disk (e.g.
/dev/sdb), is the capacity of the whole disk also copied?
For example, if
sda is actually 1TB and
sdb 2TB, after the
dd, which would a Linux system regard
sdb as, 1TB or 2TB?
I assume that the disk capacity is recorded in a separate ROM or small non-volatile storage, not in any sector of the disk. Or, maybe a couple of sectors of a physical disk might be always reserved.
I'd like to migrate systems on an old 1TB hard disk to a new 2TB one with minimal pain. The old disk won't be used. I thought
dd might do. The only part that I wasn't sure is if I do
dd & the size of the disk capacity is ever copied just like the partition table, the new 2TB disk would become 1TB. I wanted to make sure before actually doing
My Google search was not fruitful, so finally I decided to post a question here.
If all the systems were Linux, I'd consider
rsync partition-to-partition &
grub-install. However, unfortunately, I have one Windows and do not have a Windows installation usb. I am not sure how to re-install and/or reconfigure Windows boot loader after