Showing posts with label Jammy Jellyfish. Show all posts
Showing posts with label Jammy Jellyfish. Show all posts

Tuesday, April 19, 2022

Ubuntu 22.04 Jammy Jellyfish Live persistent on usb.

 In the previous post I could run Ubuntu 22.04 Jammy Jellyfish booting iso from grub. Then I made persistent Live usb of Jammy Jellyfish using mkusb. I could boot and run Firefox on first boot. But on reboot Firefox refused to run due to following error:

$ firefox
snap-confine has elevated permissions and it is not confined but should be. Refusing to continue to avoid permission escalation attacks.

This was a show stopper for persistent Live system of Ubuntu 22.04.

On further research I discovered that AppArmor was failing on Live system preventing firefox but how it was running on first boot is still a mystery to me.

Anyway on googling about AppArmor failure on Live System I discovered this page which provides a workaround.

The workaround is as follows:

In Live Persistent mode:
$ sudo mkdir /lib/systemd/system/apparmor.service.d

to create a directory apparmor.service.d in /lib/systemd/system/

sudo gedit /lib/systemd/system/apparmor.service.d/30_live_mode.conf

to create config file in the new directory

Paste
[Unit]
ConditionPathExists=

Save and reboot.

AND Firefox works!

Show must go on for persistent Live system of Ubuntu 22.04.

 Update on 22nd April 2022

This workaround was incorporated in mkusb version 12.7.4 on 21st April 2022 just in time before release of Ubuntu 22.04 Jammy Jellyfish.

Sunday, April 17, 2022

Running Ubuntu 22.04 Jammy Jellyfish booting from ISO.

 I downloaded Ubuntu 22.04 daily live iso a week ago and tried it by inserting following menu entry in /etc/grub.d/40_custom

menuentry "Jammy Jellyfish Desktop iso" {
set isofile="/home/user/jammy-desktop-amd64.iso"
loopback loop (hd0,X)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd
}
I could not boot and was getting the error:
Unable to find a medium containing a live file system.

I posted on ubuntuforums and was informed that it was a bug.

The bug has been fixed and the updated iso now boots and I am posting this on Jammy Jellyfish.



Automation of entries of shopping in Gnucash on Endless OS with the help of Gemini.

  When I buy something and make payment sms immediately comes on mobile. I enter the transactions in Gnucash on Laptop with Endless OS manua...