[lubuntu-users] Error: "system program problem" . . . the new mouse sweeps clean?
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Sun Jun 30 07:20:49 UTC 2019
On Sat, 29 Jun 2019 22:50:10 -0700, Walter Lapchynski wrote:
>On Sat, Jun 29, 2019 at 04:00:55PM -0700, Fritz Hudnut wrote:
>> there are some "issues" that go along with running
>> multi-boot systems
>
>Yes, this! I totally caution people against them.
Hi,
there are absolutely no issues related to multi-boot machines [1].
In the past I have used grub legacy as well as grub 2, with a hand
written menu.lst or grub.cfg, even with chainloading FreeBSD or Windows,
too.
Just turn off that automations that write grub configurations, that
are as messy as the emails of the OP send to this mailing list.
To write readable emails I recommend to use a decent MUA.
To get rid of messy grub configurations, disable the automation, in a
way that they even can't come back by accident (e.g. during an upgrade
or release upgrade).
I wrote a script to do that, since updating the configuration is time
consuming and gains nothing. I'm using syslinux anyway, but it's easier
to keep an unused grub, due to dependencies enforced by Ubuntu and
since working around the bootloader dependencies comes with pitfalls.
See [2] for how to use dpkg-divert.
[1]
[rocketmouse at archlinux ~]$ cat /boot/syslinux/syslinux.cfg
# http://syslinux.zytor.com/wiki/index.php/Doc/menu
PROMPT 0
TIMEOUT 600
UI menu.c32
MENU HIDDEN
MENU CLEAR
MENU COLOR screen 0;30;40
MENU COLOR border 0;30;40
MENU COLOR title 1;37;44
MENU COLOR unsel 0;37;40
MENU COLOR hotkey 1;37;40
MENU COLOR hotsel 7;37;40
MENU COLOR sel 7;37;40
MENU COLOR disabled 1;37;40
MENU COLOR scrollbar 0;30;40
MENU COLOR tabmsg 0;30;40
MENU COLOR cmdmark 0;31;40
MENU COLOR cmdline 0;37;40
MENU COLOR timeout_msg 0;37;40
MENU COLOR timeout 1;37;40
# Used hotkeys: ^8 ^A ^C ^e ^f ^H ^i ^K ^M ^n ^o ^P ^Q ^R ^S ^t ^V ^y
DEFAULT Cornflower
MENU TITLE HAL 9000-s3
LABEL Toolbox
MENU LABEL Toolbox
MENU DISABLE
MENU SEPARATOR
LABEL Hardware
MENU LABEL ^Hardware Detection
COM32 hdt.c32
LABEL Memtest
MENU LABEL Memtest^86+
LINUX /.boot/ubuntu_moonstudio/boot/memtest86+.bin
LABEL Reset
MENU LABEL R^eset
COM32 reboot.c32
MENU SEPARATOR
MENU SEPARATOR
LABEL Arch Menu
MENU LABEL Arch Linux
MENU DISABLE
MENU SEPARATOR
LABEL Threadirqs
MENU LABEL Arch Linux ^threadirqs
LINUX ../vmlinuz-linux
APPEND root=LABEL=s3.archlinux ro threadirqs
INITRD ../intel-ucode.img,../initramfs-linux.img
LABEL Threadirqs_nopti
MENU LABEL Arch Linux threadirqs ^nopti
LINUX ../vmlinuz-linux
APPEND root=LABEL=s3.archlinux ro threadirqs nopti
INITRD ../intel-ucode.img,../initramfs-linux.img
LABEL Securityink
MENU LABEL Arch Linux Rt ^Securityink
LINUX ../vmlinuz-linux-rt-securityink
APPEND root=LABEL=s3.archlinux ro
INITRD ../intel-ucode.img,../initramfs-linux-rt-securityink.img
# https://lists.ubuntu.com/archives/ubuntu-users/2018-November/295925.html
LABEL Securityink_no_micro
MENU LABEL Arch Linux Rt Securityink no micro
LINUX ../vmlinuz-linux-rt-securityink
APPEND root=LABEL=s3.archlinux ro
INITRD ../initramfs-linux-rt-securityink.img
# https://lists.archlinux.org/pipermail/arch-proaudio/2018-February/000078.html
LABEL Securityink_nopti
MENU LABEL Arch Linux Rt Securityink nopt^i
LINUX ../vmlinuz-linux-rt-securityink
APPEND root=LABEL=s3.archlinux ro nopti
INITRD ../intel-ucode.img,../initramfs-linux-rt-securityink.img
LABEL Pussytoes
MENU LABEL Arch Linux Rt ^Pussytoes
LINUX ../vmlinuz-linux-rt-pussytoes
APPEND root=LABEL=s3.archlinux ro
INITRD ../intel-ucode.img,../initramfs-linux-rt-pussytoes.img
LABEL Pussytoes_nopti
MENU LABEL Arch Linux Rt Puss^ytoes nopti
LINUX ../vmlinuz-linux-rt-pussytoes
APPEND root=LABEL=s3.archlinux ro nopti
INITRD ../intel-ucode.img,../initramfs-linux-rt-pussytoes.img
LABEL Cornflower
MENU LABEL Arch Linux Rt ^Cornflower
LINUX ../vmlinuz-linux-rt-cornflower
APPEND root=LABEL=s3.archlinux ro
INITRD ../intel-ucode.img,../initramfs-linux-rt-cornflower.img
LABEL Cornflower_nopti
MENU LABEL Arch Linux Rt Corn^flower nopti
LINUX ../vmlinuz-linux-rt-cornflower
APPEND root=LABEL=s3.archlinux ro nopti
INITRD ../intel-ucode.img,../initramfs-linux-rt-cornflower.img
LABEL Rt
MENU LABEL Arch Linux ^Rt
LINUX ../vmlinuz-linux-rt
APPEND root=LABEL=s3.archlinux ro
INITRD ../intel-ucode.img,../initramfs-linux-rt.img
LABEL Rt_nopti
MENU LABEL Arch Linux Rt n^opti
LINUX ../vmlinuz-linux-rt
APPEND root=LABEL=s3.archlinux ro nopti
INITRD ../intel-ucode.img,../initramfs-linux-rt.img
LABEL Arch
MENU LABEL ^Arch Linux
LINUX ../vmlinuz-linux
APPEND root=LABEL=s3.archlinux ro
INITRD ../intel-ucode.img,../initramfs-linux.img
MENU SEPARATOR
MENU SEPARATOR
LABEL Other Menu
MENU LABEL Other Linux
MENU DISABLE
MENU SEPARATOR
LABEL Moonstudio
MENU LABEL Ubuntu X ^Moon Studio lowlatency
LINUX /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency
APPEND root=LABEL=moonstudio ro
INITRD /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency
LABEL Moonstudio_nopti
MENU LABEL Ubuntu X Moon Studio lowlatency nopti (no ^KPTI)
LINUX /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency
APPEND root=LABEL=moonstudio ro nopti
INITRD /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency
LABEL Light
MENU LABEL Ubuntu ^Q LightScribe Rt (no bind to /boot)
LINUX /.boot/ubuntu_q/boot/vmlinuz-3.6.5-rt14
APPEND root=LABEL=q ro nomodeset
INITRD /.boot/ubuntu_q/boot/initrd.img-3.6.5-rt14
LABEL Suse
MENU LABEL ^Vintage SUSE 11.2 Rt (no bind to /boot)
LINUX /.boot/suse11.2/boot/vmlinuz-2.6.31.6-rt19
APPEND root=LABEL=suse11.2
INITRD /.boot/suse11.2/boot/initrd-2.6.31.6-rt19
[2]
[weremouse at moonstudio src]$ lsb_release -a
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
[weremouse at moonstudio src]$ grub-mkconfig
grub-mkconfig was renamed grub-mkconfig.real
[weremouse at moonstudio src]$ update-grub
update-grub was renamed update-grub.real
[weremouse at moonstudio src]$ ./dpkg-divert-grub.sh --list
local diversion of /usr/sbin/grub-mkconfig to /usr/sbin/grub-mkconfig.real
local diversion of /usr/sbin/update-grub to /usr/sbin/update-grub.real
-rwxr-xr-x 1 root root 138 Feb 6 2017 /usr/sbin/grub-mkconfig
-rwxr-xr-x 1 root root 7.9K Apr 29 21:04 /usr/sbin/grub-mkconfig.real
-rwxr-xr-x 1 root root 138 Feb 6 2017 /usr/sbin/update-grub
-rwxr-xr-x 1 root root 64 Apr 26 21:47 /usr/sbin/update-grub.real
lrwxrwxrwx 1 root root 11 Apr 29 21:05 /usr/sbin/update-grub2 -> update-grub
[weremouse at moonstudio src]$ cat dpkg-divert-grub.sh
#!/bin/bash
divert () {
cat<<EOF
#!/bin/dash
name=\$(echo \$(basename \$0) | sed -e 's/[0-9]\+ *//')
printf "\n \033[7m\$(basename \$0) was renamed \$name.real\033[0m\n\n"
exit
EOF
}
case $1 in
--add)
for s in grub-mkconfig update-grub
do
s=/usr/sbin/$s
dpkg-divert --add --rename --divert $s.real $s && divert > $s
chmod a+x $s
done;;
--remove)
for s in grub-mkconfig update-grub
do
s=/usr/sbin/$s
rm $s && dpkg-divert --rename --remove $s
done;;
--list)
dpkg-divert --list | grep "local diversion of"
ls -hlv /usr/sbin/grub-mkconfig* /usr/sbin/update-grub*|grep -v "gf"
;;
*)
cat $0;
esac
exit
--
pacman -Q linux{,-rt{-cornflower,,-pussytoes,-securityink}}|cut -d\ -f2
5.1.15.arch1-1
5.0.21_rt14-0
5.0.19_rt11-1
5.0.14_rt9-0
4.19.50_rt22-0
More information about the Lubuntu-users
mailing list