How to Fix an Unknown LVM Metadata Header in Ubuntu 10.04

Save

Ubuntu 10.04 uses logical volume management to manage storage devices, or volumes, such as hard disk drives and partitions. LVM assigns a metadata header to the beginning of each physical volume, which contains the layout of all volumes in a group. After configuring LVM, an error such as "Unknown LVM Metadata Header" may appear when running certain commands or when booting the OS.

  • Launch Terminal and sign in as root:

    sudo su

    Press "Enter" to run the command.

  • Run the following command to unmount the boot partition:

    umount /boot

  • Use the "pvremove" command to wipe the label from the device:

    /pvremove <drive>

    Replace "<drive>" with the name of the affected device (e.g. /dev/sda1).

  • Run "blkid <drive>" without quotes to find the universally unique identifier for the partition. Run "gedit /etc/fstab" -- again without quotes -- to open the file systems table in a text editor.

  • Look up the UUID in the file. Change the mount point to "/boot" and then save the file.

  • Close gedit. Remount the partition using the following command to fix the unknown LVM metadata header in Ubuntu 10.04:

    mount /boot

References

Promoted By Zergnet

Comments

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!