Hi @Faid, and welcome!
Resizing your partition seems easy. And it might even be, after a couple of years (read: with experience.)
Well, the resizing itself might not be difficult, by itself. Unfortunately a lot is necessary for a system to stay functioning after something like that.
The partition’s UUID might have changed, requiring editing the current one. I think there’s also more things that can happen, but I don’t know exactly what they are.
In any case, I’d recommend booting up into a live environment, entering a
chroot environment from there and correcting any possible mistakes.
How to chroot
Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.
dd the ISO to a USB thumb drive.
When done, boot with the above mentioned USB thumb drive into the live environment.
Once booted, open a terminal and enter the following command to enter the
- If you have more than one Linux installation, select the correct one to use from the list provided.
When done, you should now be in the
But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart
chroot environment, run thee following:
…And provide the output here, as described below:
Providing terminal output
When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
Or three (3) tilde signs, like this:
This will just cause it to be rendered like this:
eget nisl elit id
arcu erat varius
cursus sem quis eros.
Instead of like this:
Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Thereby increasing legibility thus making it easier for those trying to provide assistance.
For more information, please see:
If your language isn’t English, please prepend any and all terminal commands with
LC_ALL=C. For example:
This will just cause the terminal output to be in English, making it easier to understand and debug.
It will also be necessary to know which disk was the partition on you resized, i.e.
/dev/nvme0n1 or similar, so provide that as well.