You are not logged in.
You can use "--include" and/or "--exclude" with debootstrap. See the man page for more options.
You could also make a script with "apt install <package1> <package2>..." that you copy to the installed system and run when you enter the chroot.
I don't understand your question about localization. You could exclude the locales package, but then you won't be able to set a different language.
These scripts are in Refracta isos, but a debootstrap install only gives you packages from the repository. Any custom files you want must be copied to the chrooted system or added after you boot into the new system.
bind-mounts
#!/usr/bin/env bash
#set -x
if [ -z "$1" ] ; then
echo "
Name the directory/mountpoint you want to chroot.
It should already be mounted.
You need to be root.
USAGE
$0 <chroot_dir>
"
exit 0
fi
chroot_dir="$1"
mount --bind /sys ${chroot_dir}/sys
mount --bind /proc ${chroot_dir}/proc
mount --bind /dev ${chroot_dir}/dev
mount --bind /dev/pts ${chroot_dir}/dev/pts
while true ; do
echo "chroot $1 now?"
read ans
case "$ans" in
[Yy]*) chroot "$1"
break ;;
*) exit 0 ;;
esac
done
exit 0unbind-mounts
#!/usr/bin/env bash
# unbind-mounts
if [ -z "$1" ] ; then
echo "
Name the root directory/mountpoint
of the chroot you just exited.
You need to be root.
USAGE
$0 <chroot_dir>
"
exit 0
fi
mountpoint="$1"
umount "${mountpoint}"/dev/pts
umount "${mountpoint}"/dev
umount "${mountpoint}"/proc
umount "${mountpoint}"/sys
exit 0Earlier today, dev1galaxy.org, devuan.org and possibly another of our sites were offline due to a temporary outage at our hosting service, OVH.
Sites are up again. That's all I know.
In general, yes it's a bad idea to pull packages from another distro. MX and Devuan are both very close to pure Debian, so there's a good chance that their forked packages will work for us.
It's very unlikely that we'll do it. You could backport it or you could probably download and install the version from mx that was made for the same version of debian that matches the devuan you're running.
fsmithred wrote:I haven't tested this yet, because I have't been able to boot into my encrypted lvm install.
Have you tried using the Debian installer?
For LVM install I find it works flawlessly.
I did use d-i, but then I must have done something to break that system. It was just a test system in a VM. I tested again with a fresh install the next day, and I'm not able to reproduce the problem.
Yes, it's possible to run without dbus. I made some no-dbus live isos a few years ago and posted about it here:
https://dev1galaxy.org/viewtopic.php?id=2158
There are links to my experimental isos, to lists of software that work without dbus, and probably some other good stuff.
Eliminating just dbus is not too difficult. I ditched xfce for openbox with lxpanel and lxterminal. No display manager, but in a live-iso it logs in automatically to desktop anyway. If installed, you would need to use startx.
If you want to eliminate all dbus libraries, then you become very limited. In that case, you might want to recompile some things so that they did not rely on those libs. It's probably not worth the effort to do that. The dbus libraries shouldn't be doing anything without dbus installed and running.
This is not my daily driver, but I do boot the live system for some online tasks that I don't want to do with my main system.
If you're running Refracta, look for a file in your home directory called debootstrap_devuan for simple instructions. There's also a script you can run to prepare the chroot. If you're running plain Devuan, you can do that manually.
Here are those instructions:
---
If you want to install pure Devuan instead of Refracta, use this procedure
instead of running refractainstaller.
Create partition
Format partition
mount /dev/sd?? /mnt
debootstrap --arch amd64 ceres /mnt http://deb.devuan.org/merged
# Note: change deb.devuan.org to your favorite mirror if you want.
# change amd64 to i386 if you want 32-bit.Copy files to the new system. (example):
cp /boot/grub/splash.png /mnt/boot/grub/Chroot into the new system to make additions and changes.
You can use the shortcut method or run all the commands manually.
---------
Shortcut:
/usr/local/bin/bind-mounts /mnt
(answer yes to enter the chroot)Install kernel and other packages
apt update
apt install linux-image-amd64 (or linux-image-686-pae) grub-pc (or grub-efi-amd64) xorg jwm (plus whatever else you want)Install grub or other bootloader (run grub-install and update-grub)
Edit configs
Create root password
Create user
exit
/usr/local/bin/unbind-mounts /mnt---------
Manual method:
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
chroot /mnt
#Install stuff, edit configs, *create root password*, create user
grub-install
update-grub
exit
umount -l /mnt/dev/pts
umount -l /mnt/dev/
umount -l /mnt/sys
umount -l /mnt/proc
umount -l /mntIf you boot a live-usb, refractainstaller will install the running system. It doesn't need to ask for an iso.
~/.cache is in the rsync excludes list. If yours got copied, then something is wrong. Check the excludes list - /usr/lib/refractasnapshot/snapshot_excludes.list and make sure other excluded items did not get copied. Add anything else here that you want excluded.
In the config file, /etc/refractasnapshot.conf are some options for using compression to make the iso file smaller. You might want to uncomment one of them if you have not already done so. (look for mksq_opt)
You should be able to install to a partition on another usb stick just the same as if you installed to a partition on a hard disk.
I would make a plain backup of my important files without trying to squeeze them into an iso file.
I know two ways to make a live-iso that boots legacy bios or uefi.
1. live-sdk https://dev1galaxy.org/viewtopic.php?id=551
2. refractasnapshot https://refracta.org/docs/readme.refractasnapshot.txt
The latter is easier - it makes a bootable live-iso copy of your installed system. That could be a hardware install or a VM.
Make sure you have a line for chimaera-security in /etc/apt/sources.list
deb http://deb.devuan.org/merged chimaera-security mainYou can add 'contrib' and 'non-free' to the end of that line if you have those repos enabled on your other line(s).
Post your sources.list here if you're not sure.
Run these commands at the grub prompt. Adjust the device names if I guessed wrong. Use tab-completion to get the version strings on kernel and initrd. Last command is 'boot' and press ENTER (or maybe ctrl-x).
set root=(hd3,msdos1) # assuming the /boot partition is sdc1
linux /vmlinuz-<version> ro root=/dev/sdc2 # assuming the root partition is sdc2
initrd /initrd.img-<version>
bootAfter you boot into the system, get a root terminal and run update-grub That should create a new boot menu.
Both accounts should have been copied into the iso, but the default setting is to boot to the primary user (uid:gid 1000:1000).
To boot to the other user with the iso you already made, edit the boot screen to add username=<whatever the other user's name is>
(Press TAB to edit bios boot menu, press e to edit uefi boot menu)
To make an iso that boots to the second user by default, edit /etc/refractasnapshot.conf to set the desired username.
I'm guessing that you didn't have the wicd metapackage installed. If you did have it, you would have automatically gotten network-manager to replace it. You can bring up the wired connection and install n-m with the following commands (as root).
dhclient eth0
apt update
apt install network-manager-gnomeOr, if you don't want a gui program for connecting to the network, you could just edit /etc/network/interfaces and add the following:
auto eth0
iface eth0 inet dhcpYou can do one or the other, but don't do both of those things.
This video shows a path through the maze of debian-installer to make an encrypted lvm install. Devuan uses the debian-installer with a few modifications. The partitioning is the same in both.
https://www.youtube.com/watch?v=GEl2S5MI-WU
Maybe some qt package is missing. Here's what I have installed that has qt in the name (or description)
Compare what's in your laptop to this list or one like this from your desktop.
$ dpkg -l |grep qt
ii libaudqt2:amd64 4.0.5-1 amd64 audacious media player (libaudqt shared library)
ii libqt5core5a:amd64 5.15.2+dfsg-9 amd64 Qt 5 core module
ii libqt5dbus5:amd64 5.15.2+dfsg-9 amd64 Qt 5 D-Bus module
ii libqt5designer5:amd64 5.15.2-5 amd64 Qt 5 designer module
ii libqt5gui5:amd64 5.15.2+dfsg-9 amd64 Qt 5 GUI module
ii libqt5help5:amd64 5.15.2-5 amd64 Qt 5 help module
ii libqt5multimedia5:amd64 5.15.2-3 amd64 Qt 5 Multimedia module
ii libqt5network5:amd64 5.15.2+dfsg-9 amd64 Qt 5 network module
ii libqt5opengl5:amd64 5.15.2+dfsg-9 amd64 Qt 5 OpenGL module
ii libqt5positioning5:amd64 5.15.2+dfsg-2 amd64 Qt Positioning module
ii libqt5printsupport5:amd64 5.15.2+dfsg-9 amd64 Qt 5 print support module
ii libqt5qml5:amd64 5.15.2+dfsg-6 amd64 Qt 5 QML module
ii libqt5qmlmodels5:amd64 5.15.2+dfsg-6 amd64 Qt 5 QML Models library
ii libqt5quick5:amd64 5.15.2+dfsg-6 amd64 Qt 5 Quick library
ii libqt5quickwidgets5:amd64 5.15.2+dfsg-6 amd64 Qt 5 Quick Widgets library
ii libqt5sql5:amd64 5.15.2+dfsg-9 amd64 Qt 5 SQL module
ii libqt5svg5:amd64 5.15.2-3 amd64 Qt 5 SVG module
ii libqt5test5:amd64 5.15.2+dfsg-9 amd64 Qt 5 test module
ii libqt5webchannel5:amd64 5.15.2-2 amd64 Web communication library for Qt
ii libqt5webengine-data 5.15.2+dfsg-3 all Web content engine library for Qt - Data
ii libqt5webengine5:amd64 5.15.2+dfsg-3 amd64 Web content engine library for Qt
ii libqt5webenginecore5:amd64 5.15.2+dfsg-3 amd64 Web content engine library for Qt - Core
ii libqt5webenginewidgets5:amd64 5.15.2+dfsg-3 amd64 Web content engine library for Qt - Widget
ii libqt5widgets5:amd64 5.15.2+dfsg-9 amd64 Qt 5 widgets module
ii libqt5x11extras5:amd64 5.15.2-2 amd64 Qt 5 X11 extras
ii libqt5xml5:amd64 5.15.2+dfsg-9 amd64 Qt 5 XML module
ii python3-pyqt5 5.15.2+dfsg-3 amd64 Python 3 bindings for Qt5
ii python3-pyqt5.qtsvg 5.15.2+dfsg-3 amd64 Python 3 bindings for Qt5's SVG module
ii python3-pyqt5.qtwebchannel 5.15.2+dfsg-3 amd64 Python 3 bindings for Qt5's WebChannel module
ii python3-pyqt5.qtwebengine 5.15.2-2 amd64 Python 3 bindings for Qt5's WebEngine module
ii python3-pyqt5.sip 12.8.1-1+b2 amd64 runtime module for Python extensions using SIP
ii qt5-image-formats-plugins:amd64 5.15.2-2 amd64 Qt 5 Image Formats module
ii vlc-plugin-qt:amd64 3.0.18-0+deb11u1 amd64 multimedia player and streamer (Qt plugin)To change an installed system from sysvinit to runit:
apt install runit-initFollow any instructions on the screen and then reboot.
There's also a new package that has some runit scripts. See this post: https://dev1galaxy.org/viewtopic.php?id=5555
What do "complete load" and "complete reload" mean?
Did you run 'apt update' and 'apt upgrade' before installing calibre?
What is different between the two installations? Calibre runs fine on my chimaera laptop.
If you want a regular installation on the new stick, you can treat it like a hard drive. Partition it with gparted and then just install to that drive with refractainstaller. If you want to be able to use that stick on other computers, you'll need to make sure there's a bootloader on it. (and maybe a few other things to do.)
If you want a live-usb with persistence, I recommend using refracta2usb so that you can create a multi-boot live-usb with multiple persistent volumes (either partitions or loopback files). In that case, make the first partition fat32 and big enough to hold all the live-isos you want to use. And then make at least one linux partition for the persistent volume(s).
The scripts in /etc/cron.* and /etc/rc.local will run as root. Any that you set in your desktop startup apps will run as your user.
For every hour, you could put a script in /etc/cron.hourly.
For running something upon login, you would probably put it in some file that gets sourced at login or in your desktop's startup apps. (e.g. .bashrc, .profile, .xsettings, or other. I'm not sure what's most appropriate.)
For running something when you boot up, you could put commands in /etc/rc.local.
If the ubuntu root filesystem is encrypted, then os-prober in chimaera won't see it. Likewise, os-prober in ubuntu won't see the encrypted devuan. You will have to manually create a menuentry in ubuntu for the chimaera installation.
In ubuntu, put something like this in /etc/grub.d/40_custom and then run update-grub
menuentry 'Devuan' {
set root=(hd1,msdos1)
linux /vmlinuz ro root=/dev/mapper/your-vg-lg-name
initrd /initrd.img
}Notes:
(hd1,msdos1) assumes that the /boot partition is the first partition on the second hard drive and it has msdos partition table.
/dev/mapper/your-vg-lg-name is the name of the logical volume that holds devuan's root filesystem.
If you switch the order of the hard drives permanently, either through bios settings or opening the box and switching cables, you could do the above procedure in devuan to get a menu entry for the encrypted ubuntu. (If it's not encrypted, then running os-prober should automatically add an entry for it.)
I didn't know yt-dlp was in the repo. The backports version is the same as what's in ceres/sid now, so there's nothing new to backport.
I keep a copy of the script in my user's bin/ and I have a script to wget the latest version from git. Apparently, that script is not needed - you should be able to run yt-dlp -U to update to the latest.
fsmithred wrote:amd64 devuan desktop-live isos (xfce) in qemu with 3G ram. ...
Each release uses more resources. Run ps_mem.py to see that each program uses more resources in each release. I've been watching this for over 20 years and it's consistent.
Yes, but now it would be interesting to know if 3G ram uses less memory than 8G ram or 16G ram or 32G ram.
Chimaera with 2G and 5G:
total used free shared buff/cache available
Mem: 1982 332 1013 15 636 1492
Swap: 0 0 0
total used free shared buff/cache available
Mem: 4932 320 3975 15 636 4379
Swap: 0 0 0Daedalus with 2G and 5G:
total used free shared buff/cache available
Mem: 1974 546 765 14 828 1427
Swap: 0 0 0
total used free shared buff/cache available
Mem: 4924 656 3681 14 828 4268
Swap: 0 0 0amd64 devuan desktop-live isos (xfce) in qemu with 3G ram.
Beowulf:
total used free shared buff/cache available
Mem: 3002 273 1963 15 766 2561
Swap: 0 0 0Chimaera:
total used free shared buff/cache available
Mem: 2987 343 2004 15 639 2482
Swap: 0 0 0Daedalus:
total used free shared buff/cache available
Mem: 2979 557 1761 14 830 2422
Swap: 0 0 0Each release uses more resources. Run ps_mem.py to see that each program uses more resources in each release. I've been watching this for over 20 years and it's consistent.