Trying to upgrade with do-release-upgrade failing

Liam Proven lproven at gmail.com
Tue Jun 23 11:53:09 UTC 2020


On Tue, 23 Jun 2020 at 13:35, Mike Marchywka <marchywka at hotmail.com> wrote:
>
> Thanks.
> I've got an old windohs install from which I could scavenge a lot
> of space- dump things onto USB sticks. I could resize the sda3  partitition
>  if that is fairly safe and create a new one of at least 30gb.

FWIW, IME 18.04 -> 20.04 was smoother than 16.04 -> 18.04.

You could shrink your Windows drive remotely, probably, sure. You can
delete everything in
C:\WINDOWS\TEMP and C:\USERS\&yourusername\Local Settings\TEMP safely.
You can delete C:\PAGEFILE.SYS and C:\HIBERFIL.SYS -- Windows will
just recreate them next time it boots. Then shrink it -- so long as it
has a little space free, Windows will still boot if you need it.

I don't think this will work remotely, but you could boot a live USB
medium, mount the Windows drive, delete the stuff I mentioned, install
PARTIMAGE, and backup your whole Linux system onto the Windows
partition.  Take a full image backup then you can put it back if need
be.

Make backups of /home and /etc and maybe /var _as well_.


> If I get the Ubuntu  18  or 20.04 ISO
> is there an easy way to just install that on this new partition
> while running Ubuntu 11 ?

I defer to anyone from Canonical here but if you have 11.10 and you
install 18.04 over the top, I think it will leave /home alone and
recreate the user accounts in there on the new installation.

But you'll have to reinstall all your software.

> I've got the Bionic Beaver ISO somewhere and presumably I could
> put that on the new partition and update GRUB.

Yes, you could put them side-by-side, sure.
>
> df -T
> Filesystem    Type   1K-blocks      Used Available Use% Mounted on
> /dev/sda6     ext4    43257344  38242096   2817900  94% /
> udev      devtmpfs     1982436         4   1982432   1% /dev
> tmpfs        tmpfs      796204       964    795240   1% /run
> none         tmpfs        5120         0      5120   0% /run/lock
> none         tmpfs     1990504       100   1990404   1% /run/shm
> /dev/sda3  fuseblk   215523164 200436424  15086740  93% /dohs

Might help if you mounted your Windows drives too, so we can get an
idea of space on them.

Also, do a ``sudo apt clean`` -- you might get a bunch of free space back.


-- 
Liam Proven – Profile: https://about.me/liamproven
Email: lproven at cix.co.uk – gMail/gTalk/gHangouts: lproven at gmail.com
Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053




More information about the ubuntu-users mailing list