Author Topic: Are multiple LVM on LUKS distros on one disk possible?  (Read 6599 times)

0 Members and 1 Guest are viewing this topic.

Offline zvbn

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Are multiple LVM on LUKS distros on one disk possible?
« on: December 30, 2017, 02:03:09 am »
Had an unpleasant experience today when trying to install an LVM on LUKS Ubuntu Server alongside a Solus LVM on LUKS on the same disk. After a failed install (Ubuntu wouldn't install on the selected ESP, chose instead an existing full ESP) my Solus install was listed as an LVM2_member instead of a LUKS device and I could not decrypt it. 

I'm guessing it overwrote something vital, the LUKS header?


Layout:
              Free Space 15.4 KB
Part1 = Solus LUKS LVM
              Free space 744 KB
Part2 = new ESP
Part3 = Ubuntu LUKS LVM
              Free space 80G


As for the ESP partition, I guess I will have to change the GPT partition type code before installing to make it absolutely clear not to install on the full one. That's the only solution I haven't tried yet.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17664
  • Karma: 457
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Are multiple LVM on LUKS distros on one disk possible?
« Reply #1 on: January 01, 2018, 05:31:53 pm »
Whilst I've never tried this, I can't see why not as long as they don't share any partitions (including swap).
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal