Skip to main content
Answer to @oldfred
Source Link
nkoniishvt
  • 115
  • 1
  • 1
  • 8

Yesterday, a message poped up in Debian, saying that my root partition is full (0 MB free) after I copied a new software under /opt. So I moved the folder back to another partition to temporarily fix the issue.

I freed some space from /dev/nvme0n1p9 using a Debian installation USB, and now try to extend the root partition using this freed space.

Disk partitions

The bios of my HP laptop does not have a "legacy" boot option, so I cannot use a bootable GParted USB stick to increase the size of the root partition.

I search a bit and it appears that extending the root partition is tricky.

I would like to confirm a few things:

  • Does extending the root partition mean pushing partitions located after this one further on the disk, or can I use the unallocated space at the end of the disk and have a root partition split in two?
  • Can I just move these partitions around without consequences?
  • In my case, how would you sort this out, if it's even possible?
  • If it's not, am I doomed to reinstall the OS?
  • Can I bypass this limit by installing new applications outside of this root partition?

OS: GNU/Linux Debian 11 (bullseye)

Thank you.

  • Edit - Details of root partition usage

Following comment from @oldfred, here is the biggest folders of the root partition.

The biggest usage is for texlive but I don't want to uninstall it, if possible.

Root partition usage

Yesterday, a message poped up in Debian, saying that my root partition is full (0 MB free) after I copied a new software under /opt. So I moved the folder back to another partition to temporarily fix the issue.

I freed some space from /dev/nvme0n1p9 using a Debian installation USB, and now try to extend the root partition using this freed space.

Disk partitions

The bios of my HP laptop does not have a "legacy" boot option, so I cannot use a bootable GParted USB stick to increase the size of the root partition.

I search a bit and it appears that extending the root partition is tricky.

I would like to confirm a few things:

  • Does extending the root partition mean pushing partitions located after this one further on the disk, or can I use the unallocated space at the end of the disk and have a root partition split in two?
  • Can I just move these partitions around without consequences?
  • In my case, how would you sort this out, if it's even possible?
  • If it's not, am I doomed to reinstall the OS?
  • Can I bypass this limit by installing new applications outside of this root partition?

OS: GNU/Linux Debian 11 (bullseye)

Thank you.

Yesterday, a message poped up in Debian, saying that my root partition is full (0 MB free) after I copied a new software under /opt. So I moved the folder back to another partition to temporarily fix the issue.

I freed some space from /dev/nvme0n1p9 using a Debian installation USB, and now try to extend the root partition using this freed space.

Disk partitions

The bios of my HP laptop does not have a "legacy" boot option, so I cannot use a bootable GParted USB stick to increase the size of the root partition.

I search a bit and it appears that extending the root partition is tricky.

I would like to confirm a few things:

  • Does extending the root partition mean pushing partitions located after this one further on the disk, or can I use the unallocated space at the end of the disk and have a root partition split in two?
  • Can I just move these partitions around without consequences?
  • In my case, how would you sort this out, if it's even possible?
  • If it's not, am I doomed to reinstall the OS?
  • Can I bypass this limit by installing new applications outside of this root partition?

OS: GNU/Linux Debian 11 (bullseye)

Thank you.

  • Edit - Details of root partition usage

Following comment from @oldfred, here is the biggest folders of the root partition.

The biggest usage is for texlive but I don't want to uninstall it, if possible.

Root partition usage

Source Link
nkoniishvt
  • 115
  • 1
  • 1
  • 8

How do I resize root partition with UEFI

Yesterday, a message poped up in Debian, saying that my root partition is full (0 MB free) after I copied a new software under /opt. So I moved the folder back to another partition to temporarily fix the issue.

I freed some space from /dev/nvme0n1p9 using a Debian installation USB, and now try to extend the root partition using this freed space.

Disk partitions

The bios of my HP laptop does not have a "legacy" boot option, so I cannot use a bootable GParted USB stick to increase the size of the root partition.

I search a bit and it appears that extending the root partition is tricky.

I would like to confirm a few things:

  • Does extending the root partition mean pushing partitions located after this one further on the disk, or can I use the unallocated space at the end of the disk and have a root partition split in two?
  • Can I just move these partitions around without consequences?
  • In my case, how would you sort this out, if it's even possible?
  • If it's not, am I doomed to reinstall the OS?
  • Can I bypass this limit by installing new applications outside of this root partition?

OS: GNU/Linux Debian 11 (bullseye)

Thank you.