Originally Posted by
Dennis N
You can boot an OS in a logical volume without the separate boot partition if you are not using disk encryption.
Ah - I see in 20.04 they finally setup boot that way.
Code:
$ dft
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vgubuntu--mate-root ext4 17G 12G 4.8G 70% /
/dev/mapper/vgubuntu--mate-home ext4 12G 7.6G 3.7G 68% /home
/dev/vda1 vfat 511M 7.1M 504M 2% /boot/efi
thefu@regulus:/boot$ df .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgubuntu--mate-root 17G 12G 4.8G 70% /
So /boot/ is part of the "root" LV. The system above is using Legacy boot, not EFI, so they fact that there is a /boot/efi partition really doesn't make any sense to me. /boot/grub/ is also part of the "root" LV.
Prior Ubuntu systems with LVM definitely setup a separate /boot/ partition. Here's a 16.04 box:
Code:
/boot/grub$ df .
Filesystem Size Used Avail Use% Mounted on
/dev/sdc2 237M 136M 89M 61% /boot
This command:
Code:
lsblk -e 7 -o name,size,type,fstype,mountpoint
is really useful for seeing storage disks, LVM, and mounts. It doesn't include all the /dev/loop.... stuff that is useless.
Bookmarks