Score:1

How to resize lvm partition so I can give more space to /boot partition

cn flag

I have tried gparted live, so partitions are not mounted, but I cannot apply any change in main partition (because it's lvm partition I am afraid)

This are the details

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1  *      2048    499711    497664   243M 83 Linux
/dev/sda2       501758 976771071 976269314 465.5G  5 Extended
/dev/sda5       501760 976771071 976269312 465.5G 8e Linux LVM

What I want is to give some extra space to /dev/sda1

Raul Sanchez avatar
cn flag
I have tried, but lvreduce didn't work
Score:0
cn flag

As others pointed, How can I resize an LVM partition? (i.e: physical volume) had the answer

My problem was I was running that commands indicating devices in my question (such as /dev/sda5), while that commands expected to indicate VG & LV names, which you can see by running lvdisplay command

NotTheDr01ds avatar
vn flag
Keep in mind that if the proposed duplicate had the answer, the normal course of action is to click the button in the header that says, (something like), "This answered my question.". Thanks!
Raul Sanchez avatar
cn flag
I know. Not here but I am an experienced user in other stack exchange websites. I consider my answer could be relevant to low level Unix users, so I think it could be useful to keep it
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.