Unable to boot into full partition on Stretch2

We have a dual booted Stretch 2. The original partition has Ubuntu 20.04 and the newer partition has Ubuntu 22.04. When working in 22.04 we were often getting errors about the disk space being full. After awhile the system wasn’t letting us create files because the disk space was full. Despite this, I managed to write a small file to store security settings for X11 port forwarding over an ssh connection. After powering off from doing that, we can no longer boot into that partition. Here is the error message we are getting:

There are some critical files we would like to recover from the 22.04 partition. Is there a way we can clean up the partition just enough so that we can boot back into it to recover those files?

Should add, we can still boot into the original 20.04 partition (there’s plenty of space in that partition).

Hi @Maria_Lusardi, welcome to the forum. I think you might be able to access the file systems of both the partitions by booting through a Ubuntu USB stick and delete the required partitions.

Checkout this tutorial on creating an Ubuntu 22.04 USB stick.

After creating a bootable USB stick, you can insert it into the robot and boot into Ubuntu OS on the USB stick. You should be able access the setup menu by pressing “F8” during start where where you must choose the USB stick as the boot drive.

This will boot you into the Ubuntu OS from the USB stick. You can access the file explore as usual to modify/delete files or use tools like Gparted to modify/delete other partitions.

Thanks for the response! We were able to get it fixed by booting into the partition with 20.04, mounting the 22.4 partition, and cleaning up files from there.

1 Like