HowTo: NS8 / Debian / Proxmox users enlarging your NS8 swap

Hi all interested!

Here’s a small howto for those who would like to / need to enlarge the Debian swap partition on the base OS Debian, where NS8 is running on. NS8 is running on Proxmox in this case, installed on Debian 12.5 as a VM.

Here some background infos:

The Proxmox is a low powered Odroid H3+, running NS8, a Win10 box for RDP access and a Home Assistant.

The NS8 itself is shown here (sorry for german):

The VM specific Proxmox settings are shown here:

If installed the quick way, Debian will have a swap partition of about 1 GB, in some cases not enough!

So how can this swap partition be easily and painlessly enlarged?

First things first:

Before making any changes to a running system, make a backup. Proxmox makes this easy and fairly quick, especially if PBS is also available. No excuses!

The only tool we will be needing is SystemRescue, previously called SystemRescueCD.

You can copy the fastly download as ISO link, and insert it directly into proxmox download from URL for ISOs…

Shutdown your NS8 using that button when the VM is marked. Debian 12.5 includes qemu-guest-agent automatically when it detects a KVM based install and it’s activated. Check if the status of the VM shows the used IPs…

The VM is off.

Now, to change the ISO boot Image and set Boot Start Options…

Something like this should work:

The Boot start order also needs to be adapted:

This can be left after the swap resizing as is.

Now, to enlarge the virtual disk itself in Proxmox:

Mark the disk and choose Disk Actions on top, there choose resize

Here, type in 16, then click on resize disk.

We are now ready to boot SystemRescue…

Go to console, and hit the “Start Now” button.

SystemRescue offers several options, the first works best in Proxmox!

Once booted, you will get this:

Type startx at the prompt and hit ENTER.

The GUI will start up…

We need gparted:


SystemRescue can automatically recognize and use the supported file systems in Debian, except for ZFS.

Mark the sda2 extended partition as shown:

A right mouse click will display:

Resize sounds right… :slight_smile:

Place your mouse here, on the right side of the partition display…

Enlarge by draging that “handle”

until this:

Click Resize / Move

Step one done: Extended partition enlarged.

Now mark the swap partition as shown:

Right mouse click:

Again Resize / Move:

Here, again drag the partition from it’s right side:

until here:

Click again Resize / Move.

Now, to do the actual resizing, hit the green tick on the top

Are you sure?

Hit Apply.

Close the window.

SystemRescue can be shut down at this point, no need to close any windows.

Shutdown would be right.

SystemRescue shuts down very fast!

Now, remove the ISO Image and CD:


Now, the moment of truth: Boot again with NS8:

Refreshing the still open NS8 Dashboard shows:

It works, NS8 is satisfied!

→ Note:

While this HowTo is specifically for Proxmox users, the methods & tools shown will probably work 1:1 on other Hypervisor solutions, from VMWare, Hyper-V, Xen and Virtualbox…

Hope this helps someone!

My 2 cents


Oh wow
Such a great and detailed howto!! :exclamation: :exclamation:

Andy while he was writing this
Cat Working GIF



If you knew how close you are:

That I’m a Macbook user is more or less known on the Forum, but here is my real setup for Home Office (Good weather, balcony)…

My black cat does have 4 white paws, but wears a white mask and has a Monroe style beauty spot…


I have three cats:

Dari (above) and Ginger & Ale here:

And here is a very regular visitor, 2-5 times a week:

This is Pete, a “Sheltie”, with the nickname Pete-Bull (not Pitbull !).
→ He grew up with cats, understands the body language…
When the cat indicates the “piercing studio” is open, he respects that!
He gets along with all three.


My 2 cents