Home
Until this bug is resolved, https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1876950 (which does NOT apply just to Lubuntu) the workaround is to remove the "toram" option from /etc/grub.d/40_custom. Which might cause Calamares to complain, whine and whinge, but do the installation all the same. :·/
This now checks if your /home is on a separate partition and corrects the entry accordingly. It still won't work if the ISO is on external media.
Note: If you use this often, it might be a good idea to check your /etc/grub.d/40_custom and delete unwanted/unnecessary entries from there. Don't delete the file, edit it :·)
Why the checks are necessary: Iso-info is needed to extract the format of initrd from the iso. Sometimes it's called initrd.lz, sometimes other things. Checking the grub version is to decide whether or not to add "rmmod tpm" to the grub entry (grub=>v2.04) or not (grub=<v2.02). I tested it with grub 2.04 (Kubuntu 20.04) and it did boot the iso.
Now depends on libcdio-utils (small, safe, and useful anyway) to parse the ISO better. Just copy both files to ~/.local/share/kservices5/ServiceMenus/ Make addiso.sh executable (in case it isn't already). Restart Dolphin. After which, when you right-click on an ISO, you'll find an "Add ISO to grub" entry. Choosing that will open the script and guide you through the process. At boot, you should then find an entry in your grub menu for "whatever your ISO is called". Note: The script will not work without...
Just copy both files to ~/.local/share/kservices5/ServiceMenus/ Make addiso.sh executable (in case it isn't already). Restart Dolphin. After which, when you right-click on an ISO, you'll find an "Add ISO to grub" entry. Choosing that will open the script and guide you through the process. At boot, you should then find an entry in your grub menu for "whatever your ISO is called". Note: The script will not work without the servicemenu... ...unless you edit it and insert the/path/to/the-iso in place...
Just copy both files to ~/.local/share/kservices5/ServiceMenus/ Make addiso.sh executable (in case it isn't already). Restart Dolphin. After which, when you right-click on an ISO, you'll find an "Add ISO to grub" entry. Choosing that will open the script and guide you through the process. At boot, you should then find an entry in your grub menu for "<whatever is="" iso="" your="" called="">".</whatever> Note: The script will not work without the servicemenu... ...unless you edit it and insert the/path/to/the-iso...
Why the checks are necessary: Isoinfo is needed to extract the format of initrd from the iso. Sometimes it's called initrd.lz, sometimes other things. Checking the grub version is to decide whether or not to add "rmmod tpm" to the grub entry (grub=>v2.04) or not (grub=<v2.02). I tested it with grub 2.04 (Kubuntu 20.04) and it did boot the iso.
It looks like I solved it :·)
Just copy both files to ~/.local/share/kservices5/ServiceMenus/ Make them executable. Restart Dolphin. After which, when you right-click on an ISO, you'll find an "Add ISO to grub" entry. Choosing that will open the script and guide you through the process. At boot, you should then find an entry in your grub menu for "New bootable ISO". Note: The script will not work without the servicemenu... ...unless you edit it and insert the/path/to/the-iso in place of isoentry="$1"
Just copy both files to ~/.local/share/kservices5/ServiceMenus/ Make them executable. Restart Dolphin. After which, when you right-click on an ISO, you'll find an "Add ISO to grub" entry. Choosing that will open the script and guide you through the process. At boot, you should then find an entry in your grub menu for "New bootable ISO".
At the moment I'm the one who needs support to solve the pesky grub 2.04 issue with loopbacks... :·)
Just copy both files to ~/.local/share/kservices5/ServiceMenus/ Restart Dolphin. After which, when you right-click on an ISO, you'll find an "Add ISO to grub" entry. Choosing that will open the script and guide you through the process. At boot, you should then find an entry in your grub menu for "New bootable ISO".
Initial commit
This is the whole code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23#!/bin/bash run_kons() { konsole --hold \ -p TerminalColumns=160 \ -p TerminalRows=40 \ -e /bin/bash -c "$*;echo $'\n\e[0;34m'Done" } choice=$(kdialog --title "Updates" \ --separate-output \ --checklist "Update options:" \ 1 "List upgradable packages" off \ 2 "Update database only" off \ 3 "Update database and install packages" off \ 4 "Search for packages" off \ 5 "Search for packages - with details" off \ 6 "Exit"...
This is the whole code: #!/bin/bash run_kons() { konsole --hold \ -p TerminalColumns=160 \ -p TerminalRows=40 \ -e /bin/bash -c "$*;echo $'\n\e[0;34m'Done" } choice=$(kdialog --title "Updates" \ --separate-output \ --checklist "Update options:" \ 1 "List upgradable packages" off \ 2 "Update database only" off \ 3 "Update database and install packages" off \ 4 "Search for packages" off \ 5 "Search for packages - with details" off \ 6 "Exit" off) case $choice in 1) run_kons "apt list --upgradable"...
It's really very simple. Just make the script executable and run it.
I have fpdb 0.30.6 running on Kubuntu 18.04. It took me a while - and quite a few libraries/modules - to get it working, but it's there. Later versions won't work, but it's OK. On 20.04, there no way I can run it. But I can run fpdb-win-0.41.0-rc8 with wine. Except, there is no way to set the "totalprofit" stat to change colors when it's positive/negative. I have: <stat popup="default" stat_hith="0" stat_loth="0" tip="" stat_hicolor="#408000" stat_locolor="#F05000" _rowcol="(4,3)" _stat_name="totalprofit"...