Reputation: 13
I have two hard drives:
sda ST3500...blabla (doesn't matter) and sdb WD...blabla. I want to clone sda to sdb using dd.
I ran:
dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror,sync.
The problem is that dd also clones the label of sda (ST3500...) onto sdb. While booting SUSE from sdb it searches for WD... and fails to boot. Is there a way to clone a whole drive with dd and maintaining the target drive label/model information?
Upvotes: 1
Views: 8800
Reputation: 440
you can change the label manually after cloning I started a thread here for a debian system but I am sure it will also apply for SUSE
Upvotes: 0
Reputation: 44181
The label is in the filesystem, not in the hard drive. It can be modified by filesystem tools such as tune2fs -L
for ext2/3/4 filesystems. Simply modify the label after cloning.
Upvotes: 1