Hi,
almost the same situation but with a mutiboot Ubuntu 25.10, Ubuntu 24.04, 
Debian... and I still had problems.

I've modified /etc/apparmor.d/os-prober and /etc/default/grub and this
helped to avoid the "Permission denied" message running the update-grub.
Problem was that I still couldn't see the other operating systems on
grub menu.

Here's a summary of what I did.
1. Modified /etc/apparmor.d/os-prober adding the string:
    file /usr/lib/cargo/bin/coreutils/** ix,
2. Make sure that /etc/default/grub is configured to detect other os and show 
them in the boot menu:
    GRUB_TIMEOUT_STYLE=menu
    GRUB_TIMEOUT=10
    GRUB_DISABLE_OS_PROBER=false
3. Restart apparmor:
    sudo /etc/init.d/apparmor restart
4. Save this setup running:
    sudo update-grub
...and I could see that the other os were detected, but when I rebooted the 
system grub menu only showed the 25.10.
Did I forget something?

Another problem was that the EFI menu showed only the Ubuntu 25.10 entry.
I recovered grub performing a chroot in a live session so that now the "main" 
system is Ubuntu 24.04.

Please let me know if there is anything I can do to help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122351

Title:
  unshare: failed to execute /bin/true: Permission denied

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2122351/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to