Shrinking A Partition Woes

Hi.
I successfully installed a 26.04 ubuntu unity LTS onto a brand new SATA 1tb Samsung SSD.

I put the system through its paces and it ran well.

Ultimately I need to end up with an ubuntu unity 26.04, 200gb partition. So
I shrunk the 1tb ubuntu partition down to 200gb.

Here is what I did:
I booted a 24.04 ISO USB and using the ‘E’ key added a libata mod that I learned from a previous post:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.force=max_sec=2560"

I booted and ran gparted to shrink /dev/sda2 from 1tb —> 200gb.

I then did this:
sudo fsck -y /dev/sda2

to ensure the partition was intact. It came up ‘clean’.

I then booted the 26.04 newly shrunk partition and was greeted with this message:

I also noticed a red circle with a line through it in systray. I started synaptic and was greeted with this message:

So is my newly created 26.04 partition burnt toast, or is it salvageable ?

Thanks,
M…

Why did you not just use the 26.04 iso you used for install before ?

Hi
Boy you are quick :grinning_face_with_smiling_eyes:

I modded my post above - please read.

Thanks,
M…

Hi - the 26.04 ISO had a problem booting so I went to my 24.04 ISO.

Is that my problem ? I though as long as the libata patch is in, gparted would work fine on 24.04.

Thanks,
M…

If that were true you would not be able to load Ubuntu Unity to a login screen, login to a desktop environment and use applications.

You have a problem with the Software and Updates utility = software-properties-gtk. According to the information I have looked at - Ubuntu Unity 26.04, like Ubuntu (Gnome) 26.04, does not have the Software and Updates utility installed in new installations.

Is this Ubuntu Unity 26.04 an online upgrade from Ubuntu Unity 24.04?

Hi.

I downloaded an ubuntu unity 26.04 iso and built a usb using balena.

I was never able to get the 26.04 upgrade working in 24.04.

Thanks,
M…

So you installed Windows on the entire disk then shrank the NTFS? Just to check.

Hi.

I booted the ISO usb and installed ubuntu unity 26.04 on the entire disk as I was told to use the ‘erase disk and install’ option.

I’m not sure what you mean by ‘Windows’ and ‘ntfs’. I installed ubuntu unity 26,04 using EXT4.

Thanks,
M…

oh is this not a dual boot? I’m guessing the NTFS side is to share data with something else on the system. Can you please clarify

Well, if you run sudo apt update in a terminal, what are the exact errors you get now ?

Hi.

I decided to redo the USB ISO install.
I put in the libata patch and booted the usb
I did the Install, but this time I decided to intall to the 200gb partition. I did not want to do the ‘erase’ again, and I figured the previous attempt where I did ‘erase’ set up the partitions correctly.

IT WORKED! NO boot loader error!

The new 26.04 boots and I’m starting to play with it. It does appear snappier.
I will make the libata patch permanent and begin the migration from my desktop.

Needless to say if I encounter any further problems, I’ll be back :grinning_face:.

Thanks all,
M…

1 Like

Must be because of all the snaps it ships with :rofl:

Congratulations, that was quite a journey :tada:

1 Like