Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Upgrade 18.04 to 22.04

  1. #1
    Join Date
    Mar 2009
    Location
    South Carolina
    Beans
    248
    Distro
    Ubuntu 16.04 Xenial Xerus

    Upgrade 18.04 to 22.04

    Hi,
    I have a 6th Gen X-1 Carbon (i7, 16GB) dual booting Win 11 and 18.04. The Ubuntu partition hasn't booted in about a year, and the error message has to do with not enough available space. So I think what I would like to do is increase the size of the Linux partition and install 22.04 LTS. (I would install 24.04, but I'm afraid that it won't run ThinkorSwim desktop as well as 22.04). I don't have any data in the Ubuntu partition that I care about, so we can delete whole partitions if that's the easiest thing to do. But the thing is, I'm not sure which partition is which in the Windows disk management interface.
    I'm really not sure about the best way to go about this, but what I'm used to doing is managing the partitions from within Windows, then coming back and installing Ubuntu from a USB drive. I did boot 22.04 from a thumbdrive, and I'll link to some screen shots from both that boot and the Windows partition manager here: https://photos.app.goo.gl/KDtqBR2qsF2Pq2Ej6

    Edit: Maybe the best way to go is somehow repair the boot on the 18.04 installation and upgrade from there? I'm indifferent; whatever you guys think is easiest and safest in terms of the Windows installation, which I need.

    Thanks in advance for your help,
    Scott
    Last edited by sks24; October 5th, 2024 at 05:33 PM.

  2. #2
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Upgrade 18.04 to 22.04

    I have a 7th Gen X1 Carbon running 24.04 nicely, just to ease your mind.
    A clean install will always be the best outcome, as soon as you get your sizes sorted out.
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Upgrade 18.04 to 22.04

    Looks like p5 is / (root), p6 is swap & p7 is /home.
    You probably have to turn Windows bitlocker off & resize NTFS partitions with Windows tools. And reboot Windows so it can run chksk which it needs after any resize. Your p4 is probably a Windows recovery partition & if shrinking p3, will also have to move p4 left. Only use Windows tools for NTFS partition changes. And make sure Windows boots after all Windows changes.

    You then can use gparted to resize Linux partitions. If unallocated to the left, you move partition left & resize right. Only do one change at a time.
    You should also shrink swap, it only needs to be 4GB and default installs use swap file of about 2GB. But swap partition is still often recommended & just over 4GB is suggested as all you need. You can add swap space converted to unallocated to /home. Again move left & expand right. Move left can take a long time depending on amount of data.

    Looks like you had Kubuntu?
    With 24.04 it has a new installer (I think its better), or Calmares. Ubuntu now uses subiquity, and used to use ubiquity installers.
    Whichever use use, best to use manual install, and choose p5 (after resized) as / (root), and p7 as /home. It should find & use swap (after you have made it smaller) You may want to increase size of /home also, but that depends on how much data you save. Some like a separate NTFS partition for shared data, but if bitlocker on, that will not work.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Upgrade 18.04 to 22.04

    Edit: Maybe the best way to go is somehow repair the boot on the 18.04 installation and upgrade from there?
    That will mean an online upgrade from 18.04 to 20.04 to 22.04 and perhaps onto 24.04. Everything may turn out fine. But then again. May be not. Be prepared to do a fresh install.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  5. #5
    Join Date
    Mar 2009
    Location
    South Carolina
    Beans
    248
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Upgrade 18.04 to 22.04

    Thanks oldfred,
    I've seen Kubuntu in some of the BIOS output when booting, but I could have sworn I was running the standard LTS Ubuntu. In any case, I'll try 24.04 desktop. What I would like to do is delete partitions 5, 6, and 7 (by right-clicking and selecting "delete volume") and reboot windows. (See: https://photos.app.goo.gl/XAsmXuzRVbuMfCRo8 Then boot to the installer, and let the installer install Ubuntu for me. Will that work? (I've never learned how to do manual installs, although I'm not opposed to it.) I turned Bitlocker off, and it no longer indicates "Bitlocker" in the C drive. Those partitions have about 124GB of space. I'll probably expand that another 100 GB for the 24.04 installation (although it seems to me like 124 GB should be plenty for an Ubuntu installation in which I only run one program and don't use it to store files locally.)

    Thanks again, Scott

  6. #6
    Join Date
    Mar 2009
    Location
    South Carolina
    Beans
    248
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Upgrade 18.04 to 22.04

    Thanks 1fallen2,
    I'll try the clean install of 24.04.
    Best,
    Scott

  7. #7
    Join Date
    Mar 2009
    Location
    South Carolina
    Beans
    248
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Upgrade 18.04 to 22.04

    Thanks grahammechanical,
    Will do the fresh install.
    Best,
    Scott

  8. #8
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Upgrade 18.04 to 22.04

    Quote Originally Posted by sks24 View Post
    Thanks 1fallen2,
    I'll try the clean install of 24.04.
    124 GB should be plenty for an Ubuntu installation.
    Best,
    Scott
    That 124Gigs should be plenty for a non storage set-up, with a little wiggle room.

    Good Luck I have faith in your skills.
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

  9. #9
    Join Date
    Mar 2009
    Location
    South Carolina
    Beans
    248
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Upgrade 18.04 to 22.04

    Thanks 1fallen2,
    Could you please help me with checksums?
    I'm trying to navigate to my Home/Downloads/ISO folder so I can run a checksum on the 24.04 ISO. I've forgotten how to do this! "cd /Home/Downloads/ISO" yields "No such file or directory." What am I missing? There used to be an easier way to run the checksums, but I can't find it. See: https://photos.app.goo.gl/E3VRnafox2ACpUzW9.
    Thanks,
    Scott

  10. #10
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Upgrade 18.04 to 22.04

    Quote Originally Posted by sks24 View Post
    Thanks 1fallen2,
    Could you please help me with checksums?
    I'm trying to navigate to my Home/Downloads/ISO folder so I can run a checksum on the 24.04 ISO. I've forgotten how to do this! "cd /Home/Downloads/ISO" yields "No such file or directory." What am I missing? There used to be an easier way to run the checksums, but I can't find it. See: https://photos.app.goo.gl/E3VRnafox2ACpUzW9.
    Thanks,
    Scott
    Sorry I've been off messing around but, Alongside the actual ISO files containing the Ubuntu image you downloaded, all Ubuntu mirrors publish some extra files. The ones we are interested in are called:

    SHA256SUMS
    SHA256SUMS.gpg

    It is usually convenient to download these at the same time as downloading the distro. However, if you didn’t, not to worry - the checksums and the signature are consistent for the image, so even if you downloaded your ISO file from a different source, as long as it is fresh and hasn’t been updated in the interim, you can fetch these files from the: http://releases.ubuntu.com page for the relevant release. You will usually find the relevant files on the top of the directory listing.

    I took the liberty to include the right page in my link above.

    The easiest way to find out if you need the key is to run the authentication command:
    Code:
    gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •