[Bug 1929213] Re: Ubuntu server fails to install if boot is not on sda1

Bartosz Baranowski 1929213 at bugs.launchpad.net
Mon May 24 15:17:45 UTC 2021


Should have been: * while parted does show it as well.

Out of curiosity, I gave a go to fedora server and it seems to work(
with one minor detail when it comes to partitioning).

Im going to alter title, as it is wrong.


General flaw seems to be LVM mixing drives/CC partition table onto another:

Ubuntu headles LVM creation fails. HW setup:
2xSSD(sda,sdb)
2xHDD(sdc,sdd).

Test scenarion:
0 - /boot and /boot/efi on /sda

1(encr) vg0 on sda,sdb( /, /home, /etc, /var/log, /usr/local). vg1 on sdc,sdd( /srv  )
2(plain) vg0 on sda,sdb( /, /home, /etc, /var/log, /usr/local). vg1 on sdc,sdd( /srv  )
3(encr)  vg0 on sda,sdb( /, /home, /etc, /var/log, /usr/local).
4(plain)  vg0 on sda,sdb( /, /home, /etc, /var/log, /usr/local).
5(encr)  vg0 on sda( /, /home, /etc, /var/log, /usr/local).
6(plain)  vg0 on sda( /, /home, /etc, /var/log, /usr/local).
7(plain)  sda( /, /home, /etc, /var/log, /usr/local).

Only 7 worked. In all other cases installation failed( for some crash
logs are in tar ). With one key observation - even when only single
drive was selected, somehow second(sdb) had clones of partitions from
sda.

** Summary changed:

- Ubuntu server fails to install if boot is not on sda1
+ Ubuntu server LVM creates clone partitions and crash installation

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1929213

Title:
  Ubuntu server LVM creates clone partitions and crash installation

Status in subiquity package in Ubuntu:
  New

Bug description:
  #I've already sent crash report from installer, but since I'm not
  quite sure how #it's handled, might as well follow up with this.

  #I've been tinkering with ubuntu server and some old HW. Long story short, since #I'm not used to CLI/text like install and missed that installer reverse order of #HDDs I ended up with disk setup where /boot, /boot/efi along with LVM handling #root were on /sdb
  #To be precise:
  #sdb:
  #/boot
  #/boot/efi
  #/lvm/root

  #sda:
  #/lvm/root

  #This failed at some point with message refering boot/grub could not be found on #/dev/sda1:
  #
  #"could not get path to dev from kname sda1"
  #
  #If I set up everything on sda it works fine.

  https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1929213/comments/5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1929213/+subscriptions



More information about the foundations-bugs mailing list