Ubuntu [Unity] 24.04 ---> 26.04

Ubuntu Version

Ubuntu 24.04 LTS

Desktop Environment (if applicable)

Other

Problem Description

How to Update my 24.04 Desktop to 26.04

Relevant System Information

Hi.

I’m trying to upgrade ubuntu unity 24.04 LTS to ubuntu unity 26.04 LTS (sort of an LTS), retaining all my Apps. I just want to confirm that I’m doing it the right way.

  1. Download the Ubuntu Unity 26.04 ISO “Resolute Raccoon” (Treated as LTS) from here:
    https://ubuntuunity.org/downloads/

  2. Exectute BalenaEtcher which puts the 26.04 ISO on a USB

  3. BIOS enable my Desktop ubuntu unity 24.04 SDA2 and its Backup SDB2

  4. Boot the usb ISO and Install ubuntu unity 26.04 onto SDA2 - replacing my 24.04 and all apps with an ‘empty’ 26.04

  5. Rsync the “Desktop ubuntu unity 24.04 Backup” SDB2 ----> ubuntu unity 26.04 SDA2
    using the exclude file below:

/boot

  • /etc/fstab
  • /etc/default/grub
  • /etc/default/grub.d/*
  • /etc/grub.d/*
  • /etc/init.d/grub*
  • /etc/pm/sleep.d/*grub-common
  • /etc/kernel/post*.d/zz-update-grub
  • /lib/systemd/system/grub*
  • /usr/bin/grub*
  • /usr/lib/grub-legacy/*
  • /usr/sbin/grub
  • /usr/share/bash-completion/completions/grub*
  • /usr/share/bug/grub-pc/*
  • /usr/share/doc/grub-pc
  • /usr/share/man/man8/grub*
  • /usr/lib/grub/*
  • /usr/sbin/grub*
  • /usr/share/apport/package-hooks/grub2
  • /usr/share/bug/grub-common/*
  • /usr/share/grub/*
  • /usr/share/man/man*/grub-*
  • /usr/share/doc/grub-gfxpayload-lists/*
  • /usr/share/grub-gfxpayload-lists/*
  • /usr/share/bug/grub-pc-bin/*
  • /usr/share/lintian/overrides/grub-pc-bin
  • /usr/share/bug/grub2-common/*
  • /usr/share/grub/default/grub*
  • /usr/share/info/grub*

When the Rsync is done, I would hope to have all my 24.04 Desktop Apps running on 26.04.

What say you?

Thanks,
M…

1 Like

Let me know the results of the experiment.

1 Like

I’m not sure what the point is but you don’t give any information on what you mean by ‘my apps’. Is this 3rd party software? If you install 26.04 to the same partition(s) on which you have 24.04, it will overwrite everything. So what exactly are you going to restore from your backup, personal data, 3rd party software?

2 Likes

My 24.04 is very customized with apps (libreoffice cutom menu bars, Nemo , jedit, arahnophilia, CairoDock, cherrytree, surfshark, oracle virtual machine, sqlitestudio, bluefish, masterpdf editor, flameshot, dlume, qualculate, filezilla, Konsole, thunderbird mail, alacarte/menulibre, and a bunch of other goodies that I can’t think of right now).

To re-install all of these on an ‘empty’ 26.04 is a lot of work. Basically, I would like 26.04 to ‘look and work’ like my 24.04.

I have been re-thinking my above plan to do this, and I’m not sure it is the right approach. Would the above plan damage 26.04 ?? Would I be wiser to just transfer my Home Directory and etc ??

A few years back I had to start with an ‘empty’ OS (I think 20.04) and copied my Home and etc directories, but that still left me with a lot of work to make the new OS ‘look and work’ like my original Desktop.

What is the best way to get 26.04 running with all the software from my 24.04 ??

Thanks,
M…

1 Like

Is there any particular reason that you do not want the system to simply handle the upgrade for you ? Within the next week or two you should get this offered automatically anyway

5 Likes

I have tried the upgrade and it failed with the dreaded Kernel Panic when I booted into 26.04.
I have had problems with regards to a Kernel upgrade from 6.14 to 6.17 - this led to a Kernel Panic, forcing me to restore from a backup and staying with Kernel 6.14. I’m not sure if this is related to why I cannot do the system upgrade which would sure be nice.

1 Like

This looks like an XY Question.

Your actual problem is some vague failure about an upgrade you tried.

But instead of asking about that, you are asking for folks to review some other entirely different method of haywiring a backup from an older version of Ubuntu onto a fresh install.

There is no perfect method to haywire an old backup onto a different-version install. Likely some of it will work and some of it won’t.

2 Likes

I’m sorry if I misled anyone.

I thought my question was pretty simple.
I’m running ubuntu unity 24.04 and I want to upgrade to ubuntu unity 26.04. I want the 26.04 to have the exact functionality of my 24.04.

I tried usingthe the Software Updater program to upgrade my 24.04 to 26.04, but it failed with a kernel panic.

So the only way I can upgrade to ubuntu unity 26.04 is to do an ISO install, and then try to get all my software (libreoffice cutom menu bars, Nemo , jedit, arahnophilia, CairoDock, cherrytree, surfshark, oracle virtual machine, sqlitestudio, bluefish, masterpdf editor, flameshot, dlume, qualculate, filezilla, Konsole, thunderbird mail, alacarte/menulibre,…) installed.

My question: what is the easiest way to do this ?

If I’ve misled anyone, I apologize.

Thanks,
M…

1 Like

The safest way to get 26.04 along with 24.04 is to create unallocated space on which to install 26.04 and then make the changes to your software as time permits. 24.04 will be supported for 3 more years so there is no rush unless you have something you want with 26.04.

You might be able to install 26.04 over 24.04 and select to NOT format the / and /home partitions and your personal data should not be affected and 3rd party software should not be either. If you use this method and install software that comes with a standard Ubuntu (Libreoffice) it will be overwritten. If you have modifications to various software, make a copy of the configuration files to use. I’ve done this several times with another Linux and once with Ubuntu but I didn’t have a lot of 3rd party software installed.

1 Like

Do you recall at what point during the release-upgrade the kernel panic occurred?
During calculating the upgrade?
During downloading?
During installing?
During updating the snaps?
When rebooting into the new kernel?

Do you encounter kernel panics any other time?

4 Likes

I encountered Kernel Panic when booting into 26.04 after the installaion was complete.

I have previously encountered a Kernel Panic on 24.04 when the 6.14 kernel was updated to 6.17. This was related to Broadcom and Virtual machine. I restored to an earlier backup and updated Broadcom and Virtual machine and then, in a panic, deleted some Kernel headers. My bad.

As a result, the software updater no longer brings in a newer Kernel so I’m stuck with a no longer supported Kernel 6.14. This now leads me to Package Operation Failure when I attempt a to run Software Updater. I have a current post on this matter.

Since I will be building a Linux Tablet and updating my wife’s laptop from my Desktop, I have to get my act together and get my Desktop to 26.04.

Thanks,
M…

1 Like

Did you try selecting an older kernel at GRUB to boot into 26.04?
Most Linux distros (including Ubuntu) keep an older kernel or two just in case exactly this happens.

Restoring kernel headers should be fixable by reinstalling the appropriate package. We will get there.

That’s usually easily fixed via the package system also. We will get there too.
A link to your older post might help.


You have a choice here:

A) You can try booting 26.04 from an older kernel, and then we can help you repair the system, or

B) You can restore your broken 24.04 system from your backup and repair it before upgrading to 26.04.

Your choice.

2 Likes

I am running on my backup ESATA.

I tried having Software Updater install 26.04 once again - with the same results.

The installation completes and boots into unbuntu and asks for my password. The request is dimmed, and will not ‘listen’ to my repeated attempts to enter my password. However I can select the gear icon and it displays various options like unity or ubuntu. Regardless of what I select, the system will not allow me to enter anything for password.

So I boot manually - and I get the Kernel Panic:

vfs unable to mount root FS on unknown block(0,0)

I can boot into grub. Is there anything I can do here to bring the 26.04 system up ?

Thanks,
M…

Hi - here is a list of files in the 26.04 /boot directory:

Hope this helps me boot 26.04 from grub.

Thanks,
M…

I have been playing around with grub and have managed to boot using these commands:
set root=(hd0,2)
linux /boot/vmlinuz-6.14.0-36-generic root=/dev/sda2
initrd /boot/initrd.img-6.14.0-36-generic
boot

Note that 6.14.0-37 generic worked but the top menu bar was missing all kinds of ‘things’ like alacarte.

ANY idea why Kernel 7 won’t work, and will there be newer Kernel 7. versions ??

lsb_release -a
No LSB modules are available. 
Distributor ID: Ubuntu 
Description:    Ubuntu 26.04.1 LTS 
Release:        26.04 
Codename:       resolute

26.04 looks like my 24.04 desktop which is what I want. However, there are 2 major problems and 3 minor problems:

Major

  1. ethernet is not working & no wifi options shown (broadcom driver ???)
  2. A Data Partition has ownership issues with jedit & libreoffice. In “Disks”, when I do a Filecheck of this partition, I get - udisks-error-quark,3
    when I look at Permissions in Nemo, it says unable to determine

Minor:
4. when inserting a USB, the icon doesn’t display on screen - just sidebar
5. alacarte icon is shown twice on top menubar
6. qualculate doesn’t work (I will try re-installation)

I will try to resolve these problems - very tricky as there is no internet connection. Any help especially with the major 2 problems will be greatly appreciated.

Thanks,
M…

Have you checked ownership etc of the data on your “data partition”? I’d suggest doing this in the terminal using

ls -l

Once you have cd’d into the mount point.

Side note, Ubuntu 26.04.1 is out now so you could have done an in place upgrade super easily

Hi.

I have done the Software Updater upgrade which led me to a Kernel Panic (see above). However, as I’ve said above, I have managed to boot 26.04 with an older Kernel -6.14.0-36. I would like to boot with Kernel 7.

I’m not sure why the kernel panic on the 26.04 upgrade. Maybe it’s the old Broadcom issue??? It would appear to me that others may get a Kernel Panic on the upgrade as well.

It would be nice if the powers that be would look into the Kernel Panic problem.

Thanks for the ls -l tip. I will be booting 26.04 shortly and give it a try.

M…

Hi.

I can’t get ls -l to work with 26.04 because it won’t properly mount the partition in media. So I can’t cd to it.

When I do ‘properties permissions’ of that partition in Nemo, I get this:
The permissions of “DData” could not be determined

Not sure what to do here.

Thanks,
M…

OK, what is the output of:

sudo lsblk

Then which is your data partition?

Here is the lsblk from my ubuntu unity 26.04 ESATA .

I’m booted off of SDA1, and SDA2 thru SDA7 cannot be properly mounted. Nemo Properties for each of these is:

The permissions of “xxxx” could not be determined

mg@MGDesktopUnity:~$ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4K 1 loop /snap/bare/5
loop1 7:1 0 13.5M 1 loop /snap/canonical-livepatch/406
loop2 7:2 0 13.1M 1 loop /snap/canonical-livepatch/414
loop3 7:3 0 177.3M 1 loop /snap/chartgeany/16
loop4 7:4 0 106.8M 1 loop /snap/cherrytree/90
loop5 7:5 0 106.8M 1 loop /snap/cherrytree/91
loop6 7:6 0 55.5M 1 loop /snap/core18/2999
loop7 7:7 0 55.5M 1 loop /snap/core18/2979
loop8 7:8 0 63.8M 1 loop /snap/core20/2769
loop9 7:9 0 63.8M 1 loop /snap/core20/2866
loop10 7:10 0 74M 1 loop /snap/core22/2411
loop11 7:11 0 74M 1 loop /snap/core22/2437
loop12 7:12 0 66.8M 1 loop /snap/core24/1587
loop13 7:13 0 66.8M 1 loop /snap/core24/1643
loop14 7:14 0 47.9M 1 loop /snap/cups/1238
loop15 7:15 0 49.1M 1 loop /snap/cups/1229
loop16 7:16 0 62.2M 1 loop /snap/ffmpeg-2204/145
loop17 7:17 0 62.2M 1 loop /snap/ffmpeg-2204/150
loop18 7:18 0 252.7M 1 loop /snap/firefox/8585
loop19 7:19 0 260.3M 1 loop /snap/firefox/8763
loop20 7:20 0 531.4M 1 loop /snap/gnome-42-2204/247
loop21 7:21 0 164.8M 1 loop /snap/gnome-3-28-1804/198
loop22 7:22 0 349.7M 1 loop /snap/gnome-3-38-2004/143
loop23 7:23 0 606.1M 1 loop /snap/gnome-46-2404/153
loop24 7:24 0 531.5M 1 loop /snap/gnome-42-2204/263
loop25 7:25 0 614.5M 1 loop /snap/gnome-46-2404/164
loop26 7:26 0 91.7M 1 loop /snap/gtk-common-themes/1535
loop27 7:27 0 715.3M 1 loop /snap/kaddressbook/2
loop28 7:28 0 443.2M 1 loop /snap/kf5-5-111-qt-5-15-11-core22/7
loop29 7:29 0 1.5G 1 loop /snap/kf5-core22/3
loop30 7:30 0 371.3M 1 loop /snap/krita/108
loop31 7:31 0 371.5M 1 loop /snap/krita/109
loop32 7:32 0 395M 1 loop /snap/mesa-2404/1165
loop33 7:33 0 402M 1 loop /snap/mesa-2404/1839
loop34 7:34 0 20.6M 1 loop /snap/qalculate/528
loop35 7:35 0 17.5M 1 loop /snap/qalculate/533
loop36 7:36 0 15.7M 1 loop /snap/snap-store/1367
loop37 7:37 0 11.8M 1 loop /snap/snap-store/1390
loop38 7:38 0 50.1M 1 loop /snap/snapd/27591
loop39 7:39 0 50.1M 1 loop /snap/snapd/27710
loop40 7:40 0 135.4M 1 loop /snap/surfshark/59
loop41 7:41 0 219.9M 1 loop /snap/thunderbird/1201
loop42 7:42 0 221.1M 1 loop /snap/thunderbird/1228
sda 8:0 0 476.9G 0 disk
├─sda1 8:1 0 512M 0 part
├─sda2 8:2 0 200G 0 part /
├─sda3 8:3 0 100G 0 part
├─sda4 8:4 0 125G 0 part
├─sda5 8:5 0 40G 0 part
└─sda7 8:7 0 2G 0 part
sr0 11:0 1 1024M 0 rom

Thanks,
M…