Link to home
Start Free TrialLog in
Avatar of mmay5
mmay5

asked on

GRUB boot problem after LVM Redhat Disk clone (Can the LABEL be changed on lvm2 ?)

I have cloned one RedHat disk to another using "dd" but now cannot boot unless one disk or the other is physically removed. The disk uses LVM with the /boot using lvm2 format. I think the problem is that GRUB sees identical boot blocks. Is it possible to change an lvm2 format boot LABEL so that GRUB sees 2 different labels? This is easy for ext2 or ext3 using e2label but I have found no way to change an LVM, lvm2 format, label for /boot.
Thanks in advance,
M
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mmay5
mmay5

ASKER

Sounds correct. So my real issue is that I never used LVM commands like pvcreate, lvcreate and just dd cloned the disk.
Without using pvcreate, I ended up with the same GUID. Oh well, LVM is nice for some things but it makes cloning boot disks
a bit more of a headache. Thanks for your help. I accepted that answer.
Maybe this does help:
http://tldp.org/HOWTO/LVM-HOWTO/