You are not logged in.
I haven't used live-build in over 10 years and never on devuan. I know there are some people who have used it with devuan.
Devuan live-sdk is similar to live-build in that it pulls packages from the repo and builds the system in a chroot. This is good if you're making a lot of different isos - you just need to alter the configs to do a different build. The downside is that you often don't know the build failed until the end of the run, then you have to start over. When you start building a new release, you can have frequent failures in the beginning because some packages in your list might not be in the repo anymore or may have changed names.
refractasnapshot does not require access to the repo to build the iso. It makes a copy of your running system with a few things excluded and puts that into the iso. Since it's copying an installed system, any questions about missing packages have already been answered before you started to make the iso. Also, since it's copying the running system, any changes you make right before running it will be copied into the iso. The downside of this method is that you must have an installed system, either on hardware or in a virtual machine, for each flavor you want to build.
To adjust what gets copied by refractasnapshot, edit /usr/lib/refractasnapshot/snapshot_exclude.list. See 'man rsync' for details.
Edit: one more difference between live-build or live-sdk and refractasnapshot is that refractasnapshot builds an iso that has an unprivileged user with a home directory. The others do not, but the live-config scripts create the user and home when the system boots. This affects which live-config options are used in the boot command. See 'man live-config' and probably 'man live-boot' too.
Note that live-build, live-sdk and refractasnapshot all use the debian live-boot and live-config scripts.
I don't know what those others are.
Add one or more of the following to the boot command. (linux line with grub boot, append line with isolinux/syslinux boot)
noautologin
nottyautologin
nox11autologinSee 'man live-config' for more details and more options.
Devuan 5 is daedalus (oldstable), Devuan 6 is excalibur (stable). Gnome works in excalibur. If you want to try it in freia (currently in testing) there's a netinstall iso, so you could install it to a spare partition or into a virtual machine. And if you do that, please let us know what you find. Thanks.
What kind of file is it? file /root/fpv
How big is it? Can you see inside it with a pager or something else?
Does the date give you any clues? Maybe find other files with the same date to figure out what you were doing.
I've used this in the past as /etc/asoundrc to get firefox to use jack. Haven't tried it lately.
pcm.!default {
type plug
slave { pcm "jack" }
}
pcm.jack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}
ctl.mixer0 {
type hw
card 0
}I've changed the order of sound cards in some systems with the following lines in /etc/modprobe.d/alsa.conf (or alsa-base.conf)
options snd-usb-audio index=0
options snd-hda-intel index=-2I think it requires a reboot for the change to take effect.
I call it set-default-card. Put it in /usr/local/bin or somewhere else that's in root's path. Make it executable. Run it with or without the card number or with and without the usb audio device as many times as you want. It replaces the lines in asound.conf and restarts alsa so it takes effect.
Here's a script to create or change the file delgado suggested. Run it without an argument and it will display the card names and numbers and let you choose the default card. Run it with the desired card number as an argument and it will set that card as default. e.g. set-default-card 1
Run it as root or with sudo.
$ cat set-default-card
#!/usr/bin/env bash
#set-default-card
choose_card () {
while true ; do
echo "Enter the card number to set as default."
read ans
cardnum="$ans"
break
done
}
if [ "$#" -eq 0 ] ; then
aplay -l
choose_card
else
cardnum="$1"
fi
echo "defaults.pcm.card $cardnum
defaults.ctl.card $cardnum" > /etc/asound.conf
/etc/init.d/alsa-utils restartPackage-Name Component Required/Optional
libtool base REQUIRED
cups-devel base REQUIRED
cups-image base REQUIRED
libusb base REQUIRED
python3-pyqt4-dbus gui_qt4 OPTIONAL
python3-pyqt4 gui_qt4 REQUIRED
python3-devel base REQUIRED The only package in that list that I could find in excalibur is libtool. Either they are looking for a specific version, or they don't know where to find libtool in a debian system. There is a libusb-0.1.4 and a libusb-1.0.0 in excalibur, but those either don't match the script's search pattern or they are the wrong version. Or again, maybe they don't know where to look. The others don't exist.
Also, most development packages in debian/devuan end in -dev, not -devel. There are a few libcups*-dev packages. Whoever wrote that script doesn't know that.
Why is it on sourceforge instead of some HP website?
Easier way to get to xfce. Don't know why I didn't think of this the first time.
At the isolinux boot menu (for legacy boot) press TAB, or at the grub menu (for uefi boot) press e to edit the boot command.
Add either 'noautologin' or 'nox11autologin' to the boot command. For legacy boot, it goes at the end of the command that appears at the bottom of the screen. For uefi boot it goes at the end of the linux line.
You'll boot to a lightdm login screen. Login as user with password user.
Has anyone tried this iso yet? Please see if you can break it. Thanks.
I forgot to ask what graphics card you have. Run lspci to see that.
- Look in /var/log/Xorg.0.log for lines with (EE) to see if there are any errors.
- Look in /var/log/apt/history.log to see if any graphics related packages got upgraded.
- Look in /etc/lightdm/lightdm.conf to see if the two autologin lines are uncommented and have the correct user name. Make sure you scroll down to the [Seat:*] section and not in the extensive comments section above.
- Before you run startx, log in as root and run service lightdm status. If it's not running, try starting it, and if it's running, try restarting it. service lightdm start or service lightdm stop && service lightdm start (I can never get 'restart' to work.)
Which desktop environment, which display manager (or none?) and how did you set up autologin? It's usually in the display manager's config file (e.g. /etc/slim.conf) but there's also a way to do it with startx.
Refracta has
- few metapackages and excludes Recommends to make it leaner and easier to remove packages to customize the system. It used to fit on one CD.
- added diagnostic, rescue and repair tools, mostly cli.
- a few config tweaks - kernel.sysrq=1 in sysctl.conf, ADD_EXTRA_GROUPS in adduser.conf, ALWAYS_SET_PATH yes in /etc/default/su and a few others.
- openssh-server running so you can log in remotely if there's no display. NOTE: The world knows your password. You should be behind a router and not have port forwarding set up or else unplug the network cable.
- Refracta is older than Devuan. That's why the version numbers match Debian's.
I feel like I'm forgetting something, but those are the main differences.
I would expect the initramfs to contain the modules for the running kernel, and I would expect the running kernel to be the old one. A live system is read-only, so if you upgrade the kernel, you have to reboot to use that kernel, but when you reboot, the new kernel is no longer there. It was only in memory.
You need a persistent partition or an installed system to upgrade the kernel and put it into a new snapshot.
You might be able to do it from the live system if you chroot into the copy of the filesystem. I'm not sure if that would work. The new kernel will be there in the storage media after you install it and run refractasnapshot once.
You need to set refractasnapshot.conf to save the filesystem copy. Then maybe you can chroot into the fs copy and run 'update-initramfs -u -k all' and then copy the new kernel and initramfs to /iso/live/vmlinuz and /iso/live/initrd.img. Then run refractasnapshot again and choose "Re-squash and make iso (no-copy)" so you don't clobber your edits.
Yes, that way will work if you don't want to use qemu or virtualbox. Another way would be to use a spare partition on your hard drive instead of external storage media, but those are essentially the same thing.
live-sdk downloads all the packages every time it runs. If you have a fast internet connection, that's not bad. It's especially good if you want to make several isos with different content. You just use different config files for the different builds. The downside is that if there's anything wrong in the build setup, or if you list a package to be installed when that package doesn't exist, the whole build fails and you have to start it again.
My preferred workflow is to install a system into a VM and make the snapshot there. Then I can upgrade the VM any time I want and make a new iso. It doesn't have to download the whole system every time.
Then, if I want to use a live, read-only system, I just boot the iso file inside a VM and use that. Then I don't have to reboot the computer to switch to read-only. When the VM shuts down, everything from that session is gone.
It should work with whatever is in your apt sources and do the same as using apt or apt-get to update and upgrade.
Here's one simple way to get pipewire working:
https://dev1galaxy.org/viewtopic.php?pid=47569#p47569
In the spirit of "Let's change three or four variables at once and see what happens" this one started out as a Refracta 13 (Excalibur) no-X iso, upgraded to Freia, and then had some lxqt and xfce thrown at it along with getting xorg replaced with xlibre. It also has turnstile installed for user services (see man suss) and pipewire set up as a user service. It also has a few wireless firmware packages installed from the firmware-nonfree repo.
https://get.refracta.org/files/experime … 7_1411.iso
There's a short README in the user's home. Read it.
If you need to log in:
Login: user Password: user
Login: root Password: root
The default desktop is lxqt. To get to xfce in the live iso is tricky.
Drop to console, stop lightdm, comment out the autologin lines in lightdm.conf, start lightdm, click on the white dot in the login panel to select the session. Choices are lxqt, xfce or openbox. They all work from here.
If you drop to console, stop lightdm and then run startxfce4, you end up with no inputs. If you use startlxqt or startx /usr/bin/openbox-session in console, you do get inputs. I don't know why it's like that.
The output from the following commands might be helpful:
uname -r
apt policy linux-image-amd64And look in /lib/modules to see if that directory exists.
Wild guess: you upgraded to daedalus but didn't upgrade the kernel because the kernel metapackage is not installed. (linux-image-amd64) That package pulls in the latest kernel for the release you're running.
Or you booted into an older kernel by mistake.
This was put together by a few of us in the devuan community a few years ago. It still works - I'm using it in excalibur. It checks for updates and gives you a notification in the panel.
https://get.refracta.org/files/packages … sr_all.deb
See /etc/default/update-notifier for settings.
And now, looking at that file myself, I'm reminded that it can do more than just notify you. Here's an excerpt.
# Set the default action for clicking on the notification icon.
# Valid choices:
# "none" or commented to only see a list of available upgrades.
# "terminal" to run the upgrade in a terminal
# "gui" to run the upgrade in synaptic package manager.
FRONTEND="none"Edit: Source is here: https://git.devuan.org/fsmithred/basic-update-notifier
Ditto what Pedro said. ![]()
Nice blog post. Thanks! I read your other one about Devuan and in it you state that the Refracta uses xlibre. In fact, Refracta uses xorg in the official releases, but you must have picked my test build with xlibre that's in the experimental directory.
That iso was made to test support for seatd in xlibre. There's no elogind in that build, but it'll get pulled in if you install the right things. If you're missing some functions even with elogind, make sure you also have libpam-elogind.
Oh, one more thing about that iso - it's devuan freia, which is still in the testing phase. Don't be surprised if you get 100 package upgrades per day along with occasional breakage. That's one way to learn.
Have fun, and Happy Hacking!
Most of the packages in devuan come directly from debian. We only fork about 100 packages, and the rest get pulled from debian servers and run through something like a filter to remove packages that require systemd. Here's the list of banned packages: https://pkgmaster.devuan.org/bannedpackages.txt
If you're an old debian user, you'll probably feel like you finally came home after 10 years of being lost.
Use archive.devuan.org for chimaera-backports.
~$ apt policy devscripts
devscripts:
Installed: 2.21.3+deb11u1
Candidate: 2.21.3+deb11u1
Version table:
2.22.2~bpo11+1 100
100 http://archive.devuan.org/merged chimaera-backports/main amd64 Packages
*** 2.21.3+deb11u1 500
500 http://deb.devuan.org/merged chimaera/main amd64 Packages
100 /var/lib/dpkg/status