simple fix to increase size of root

5 Antworten [Letzter Beitrag]
streamfortyseven
Offline
Beigetreten: 06/14/2025

here:

"boot on a trisquel live USB
run "sudo lvresize -r -L -35G /dev/vgtrisquel/home" (reduce home)
run "sudo lvresize -r -L 35G /dev/vgtrisquel/root" (increase root)
shutdown, remove the live USB, boot"
https://trisquel.info/en/forum/root-and-swap-partition-sizeinstead of 35G I used 100G. Worked just fine, now I only have 19% of root used instead of 82%. And it was posted here two years ago: https://trisquel.info/en/forum/root-and-swap-partition-size

Might be a good idea to put that in a manual.

streamfortyseven
Offline
Beigetreten: 06/14/2025

there's no way to edit or delete entries here, which is kind of odd and rather inconvenient, here's my revised post:

"boot on a trisquel live USB
run "sudo lvresize -r -L -35G /dev/vgtrisquel/home" (reduce home)
run "sudo lvresize -r -L 35G /dev/vgtrisquel/root" (increase root)
shutdown, remove the live USB, boot"

Instead of 35G I used 100G. Worked just fine, now I only have 19% of root used instead of 82%. And it was posted here two years ago: https://trisquel.info/en/forum/root-and-swap-partition-size

Might be a good idea to put that in a manual.

Ark74

I am a member!

I am a translator!

Offline
Beigetreten: 07/15/2009
Lappi
Offline
Beigetreten: 05/29/2022

Can one do it this way also if the partitions are not encrypted?

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Does lsblk show you partitions of the lvm type?

Lappi
Offline
Beigetreten: 05/29/2022

Thank you, Magic Banana! For the hp laptop lsblk shows four types: loop, disk, part, rom. So, no lvm there, I haven't done the fresh install of Trisquel 11 yet.
[ https://trisquel.info/en/forum/upgrading-trisquel-9-11-versus-fresh-only-trisquel-11 ]
This way of decreasing by a certain size, and then increasing another makes sense. I thought maybe something like this might help with the hp laptop. When I installed Trisquel 11 on the Dell laptop it gave the option for using lvm, chose that, so on the Dell lsblk shows lvm type.