[Ubuntu] How to fully delete LVM partition

How to remove LVM partitions, even when you get 'No volume groups found'; that means you should probably check 'pvs' and 'vgs'.

Removing LVM partitions during Ubuntu installation

  1. Alt+F2 to bring up CLI
  2. Hit 'Enter' in next screen to confirm
  3. Use 'lvscan' to locate LV's
    • Also use:
      • pvscan
      • vgscan
  4. Use 'vgremove' <LVM Group Name>
    • If that doesn't work, also try:
      • lvremove </dev/sdx>
      • pvremove </dev/sdx>