B
B
by_EL2021-02-09 16:51:16
linux
by_EL, 2021-02-09 16:51:16

How to properly install Ubuntu on LVM?

I install Ubuntu server-on the hypervisor, added two virtual hard disks for ubuntu server, on the first disk I create (without LVM) a partition for /boot and then I make this disk a boot disk, then on the same disk the remaining free space I create an unformatted partition
Then I create LVM -group but, the problem is that the system only sees the second disk, does not see the first disk that I created an unformatted partition
Please help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-02-09
@by_EL

before doing LVG, you need to determine the PV (physical volume)
pvcreate / dev / sda2 (for example, which one you have unformatted on the first disk)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question