The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » Black screen afte boot » Yesterday 22:55:07

Press 'e' at the boot menu and add the word nomodeset to the linux line then press ctrl-x to boot. If it's an nvidia problem, this might work. Then you can see what you're doing to install the drivers you need.

If that doesn't work, boot a live system as suggested and at least run lspci so you can see what hardware you have.

#2 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-19 14:16:16

You need to make the first partition big enough to hold the iso (packed or unpacked) plus kernel and initramfs. If you plan on adding more than one iso to the stick, then make it big enough to hold all the isos. ISO_1 or ISO_2 will work. One unpacks the iso file and the other one keeps it intact and uses the 'fromiso=' boot option. That option is useful if you think you want to have a copy of the intact iso to use it somewhere else or share it.

If you think you might want to use the stick to share files with windows computers, make the first partition big enough to hold those files, too.

Yes, you need to give the fat32 partition the boot flag. You can do that in gparted.

To boot to ram, you need to add the boot option: toram=/path-to/live/filesystem.squashfs  (where path-to is the name you give the directory that holds the OS.) I'm not sure how or if that will work with persistence. You would only boot the read-only live system without any of your persistent changes. There might be a way to do it using overlays. Let me know if you figure it out.

You could boot to ram and manually mount a data partition to hold selected files, but that's not the same thing as persistence.

Look in the refracta2usb help to see what the disk layout looks like on the usb stick. Diagrams are near the bottom.

#3 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-18 16:07:32

The refractasnapshot log file would be a good place for hints, but I didn't think to tell you to save it. It can be found at /var/log/refractasnapshot.log but since you were in a live session, that file is gone. (Unless that same live system is still running and hasn't been rebooted.)

How did you make the live-usb? If you used dd or cat to image the isohybrid, I don't think you'll be able to make a second partition. That doesn't seem to work in all situations. I use refracta2usb to make a live usb and it will set up the persistent partition for either full persistence (that's what you want) or else just a persistent /home. It's not in the repo. You can get it here: https://sourceforge.net/projects/refrac … -2.4.3.deb

Other live-usb software might work, but I don't know which. First partition should be fat32 with boot flag and second should be ext2/3/4 with a persistence.conf in the root of the persistent volume. See 'man live-boot' for more details.

#4 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-17 19:18:08

If you run refractasnapshot in a live session, be sure to edit the config file to use some real storage space for the work directory and the snapshot directory.

If you make a live-usb with an extra partition for full persistence, you can install packages and they will still be there on the next reboot. If you run apt-upgrade and apt-update on such a system, it will install the updated packages into the persistent volume. You could keep updating such a system until you fill up your usb stick. Better to update the iso and re-image the read-only part of the stick.

#5 Re: Installation » Live cd unable to boot with secure boot enabled » 2025-01-10 19:04:00

Thanks for testing. Here's a new live iso. This one has bootx64.efi and shimx64.efi.signed in efi/boot. I made this one using refractasnapshot and had to copy the shim into the iso build tree manually. If it works, I'll work it into live-sdk so it gets into the official isos.

devuan_5_signed-test_amd64-20250110_1825.iso
https://distro.ibiblio.org/refracta/files/experimental/

sha256sum:

ec458d2e023b7d6abc982c8c0f690250c562133a5b0491ced3226602d662903d  devuan_5_signed-test_amd64-20250110_1825.iso

#6 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-08 09:02:07

I meant the setting for the gamma. For example, if you set it to 0.8 and then run the script again, the gamma settings window comes up and shows the value as 1.4 instead of 0.8.

If you need the desktop to come up at a decreased brightness, you could add the one-liner script that was posted above in your startup applications.

#7 Re: Devuan Derivatives » Refracta "Good-bye i386" iso » 2025-01-08 01:17:41

Oh, duh! I did it. See, I'm so distraught over this I didn't even notice the size of those packages. Thanks.

#8 Devuan Derivatives » Refracta "Good-bye i386" iso » 2025-01-07 16:05:46

fsmithred
Replies: 4

I guess this is the last 32-bit Refracta "release". In quotes because I normally don't publish isos for the new release before Debian freezes their testing suite. But this one has the last 686-pae kernel that was in Trixie/Excalibur until they removed it.

https://get.refracta.org/files/testing/

Release notes:

This is the No-X version of Refracta 13 using the last 686-pae kernel
available in Devuan Excalibur (and since removed from the repository).
Kernel packages including source are in the user's home in case you
feel like compiling or need to reinstall. If you lose them, they can be
found at snapshot.debian.org with a bit of searching.

At this time, Trixie/Excalibur has not even gone into freeze, so as soon
as you get this iso, it'll be outdated.

I'm not sure what the point of this is, since you won't be able to get kernel
security updates, but I figured I should make a final 32-bit Refracta iso.

fsmithred    January 7, 2025

P.S. If anyone knows why this iso is twice as big as the daedalus version, I'd be interested to get the explanation.
Thanks

#9 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-07 14:56:56

@mtbvfr - you don't need to comment out any lines for the gamma settings. If you want to play with the gamma settings, just click on the gamma button when the window comes up and you can adjust it. If you run it a second time, it won't show your last setting. I obviously don't understand how it works.

#10 Re: Devuan » Devuan runit system pauses during first boot at net connect manager. » 2025-01-07 11:29:15

I didn't have to do anything special to get sddm to work. It is being handled by runit. Here are the relevant commands I used to install kde.

apt install xorg xinit xterm
apt install kde-standard  xserver-xorg-video-all xserver-xorg-input-all --no-install-recommends
reboot
apt install sddm --no-install-recommends
reboot

I don't have any good ideas for why sddm is running but you don't see it. Is there anything in the sddm log file? (/var/log/sddm.log)

I'd say check the sddm config file, but there doesn't seem to be a simple sddm.conf. Another option might be to replace sddm with lightdm or some other display manager that has a normal config file instead of unintelligible stuff in /etc/pam.d.

#11 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-07 10:34:00

This one is a little fancier and requires yad to be installed. It gives you a graphical slider. I'm not sure I did the gamma parts right and I never use that.

#!/usr/bin/env bash
# set_bright3b

set -x

# Set these names according to what xrandr tells you.
# For a single monitor, comment out the second xrandr command
# at the bottom of the script.

monitor_1="LVDS-1"
monitor_2=""

get_current_values () {
	
	current_bright=$(xrandr --verbose | grep -m1 Brightness | cut -d"." -f2)
	
	if  [ "$current_bright" = 0 ] ; then
		let current_bright="9"
	fi
	
	current_gamma=$(xrandr --verbose |grep -m1 Gamma | cut -d":" -f3)
	gamma1="$current_gamma"
}

select_brightness () {
	
	br1=$(yad --scale --title=Brightness --width=300 --min-value=2 --max-value=10  --value="${current_bright:0:1}" \
		--mark=2:2  --mark=3:3 --mark=4:4 --mark=5:5 --mark=6:6 --mark=7:7 --mark=8:8 --mark=9:9 --mark=10:10 \
		--page=1 --button=OK:0 --button="Gamma":1 --button=Exit:2)
		
		exit_code="$?"
		
		if [[ $exit_code -eq 1 ]] ; then
			br1="${current_bright:0:1}"
			select_gamma
		elif [[ $exit_code -eq 2 ]] ; then
			exit 0
		fi
}

select_gamma () {
	gm1=$(yad --form --field=Gamma:NUM "${current_gamma}\!0.5..1.5\!0.1\!1")
	gamma1="${gm1:0:3}"
}

get_current_values
select_brightness

if [ "$br1" = 10 ] ; then
	bright1="1.0"
	bright2="1.0"
else
	bright1="0.$br1"
	bright2="$bright1"
	# Uncomment the following 3 lines if monitor2 should be less bright.
	#br2="$br1"
	#(( br2-=1 ))
	#bright2="0.$br2"
fi

xrandr --output "$monitor_1" --brightness "$bright1" --gamma "${gamma1}:${gamma1}:${gamma1}"
#xrandr --output "$monitor_2" --brightness "$bright2" --gamma "${gamma1}:${gamma1}:${gamma1}"

exit 0

#12 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-06 21:39:38

I don't know what's going on with excalibur size. I just made a refracta excalibur i386 No-X iso with the last 686-pae kernel and it comes out to 1.5G using xz compression instead of 700MB like the daedalus iso. Looks like the excalibur iso has fewer packages installed, too.

Every release gets bigger, but this is the biggest jump I've seen.

#13 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-04 12:48:44

I already did try it yesterday. The iso with zstd booted about 5 seconds faster than xz in qemu. That was about 1 minute, 20 seconds of which were at the boot menu. Building the iso was about 2 minutes faster (9 vs. 11). I haven't tried it on usb yet.

This will be in the next build of refractasnapshot. I already added support for zstd in the initramfs.

#14 Re: Off-topic » [SOLVED] "A future for the i386 architecture" and other good(???) news » 2025-01-03 22:01:03

Perfect! Thanks, I forgot about snapshot.debian.org.

I got linux-image, linux-headers and linux-source for 6.10.9-1 696-pae.

#15 Re: Off-topic » [SOLVED] "A future for the i386 architecture" and other good(???) news » 2025-01-03 15:20:25

The 32-bit kernels in excalibur and ceres have been removed. Did anyone happen to save the last deb packages for 686-pae? The last live-iso I made has 6.5 from last April. Not that using those versions is a real solution since they won't get security updates. But it would be nice to have an iso with the last one.

Meanwhile, I've made an excalibur 32-bit live-iso with the daedalus backports kernel. That's another unsatisfactory solution for the same and other reasons, but it does work.

N.B. When trying to upgrade my i386 excalibur VM, aptitude puked on the t64 versions of packages. 'apt upgrade' and 'apt dist-upgrade' worked ok and all the t64 packages got installed.

#16 Re: Installation » [SOLVED] No exit from sleep after devuan installation » 2025-01-02 22:09:11

testing=excalibur NOW. When debian trixie (current testing) becomes stable, then sid (unstable) will move down to testing and all our forked packages will still be for trixie until excalibur goes stable.

That's why we recommend using codenames in sources.list.

#17 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-02 22:00:30

You can change the compression type for the squashfs in /etc/refractasnapshot.conf. Let me know if zstd works. I'm on chimaera at the moment and it doesn't seem to be an option.

For faster response on opening programs/files, use the toram option. For a live usb use toram=/path/to/filesystem.squashfs
Go make coffee while you're waiting for it to boot.

#18 Re: Devuan » Devuan runit system pauses during first boot at net connect manager. » 2024-12-31 19:32:50

I did a minimal install of daedalus with runit in qemu and then added xorg and kde-standard without recommends. I can confirm that on reboot into the installed system I don't get a login prompt until I press ENTER. After installing sddm, it boots to a graphical login screen.

User's subdirectories get created on first login to the graphical desktop. I got them.

#19 Re: Other Issues » Which runlevel for umountfs and umountroot (via sysv-rc-conf)? » 2024-12-23 22:20:41

For reference, here's what mine look like (using sysvinit). I think they look the same as what GlennW posted, except I put the files in alphabetical order.
Note that it uses Default-Stop, not Default-Start.

#! /bin/sh
### BEGIN INIT INFO
# Provides:          umountfs
# Required-Start:
# Required-Stop:     umountroot
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Turn off swap and unmount all local file systems.
# Description:
### END INIT INFO
#! /bin/sh
### BEGIN INIT INFO
# Provides:          umountroot
# Required-Start:
# Required-Stop:
# Should-Stop:       halt reboot kexec
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Mount the root and /usr filesystems read-only.
### END INIT INFO

#20 Re: Hardware & System Configuration » [SOLVED] I can't install hplip on Excalibur » 2024-12-21 22:43:38

The version in ceres will probably be in excalibur in less than a week. You didn't do anything wrong. You would need to install more packages or do an upgrade with the ceres repo enabled to screw up the system.

#21 Re: Other Issues » [SOLVED] Question about grub background on liveCD/DVD/USB menu » 2024-12-11 21:57:50

If you're using refractasnapshot, replace /usr/lib/refractasnapshot/iso/isolinux/splash.png with the 640x480 png of your choice. (.jpg should work, too.) It will be copied to the right places for booting the iso with isolinux and/or grub if you arranged it to work with bios and/or uefi.

#22 Re: Other Issues » [SOLVED] Question about update-rc.d » 2024-12-11 18:49:51

After 'init 3' command, you don't need to use the service command. They will start (unless you screwed with all the symlinks.) I use sysv-rc-conf to turn services off in runlevel 2.

Not sure what you have in mind, but one way to get root would be to have yad start a terminal that runs su -c 'init 3' and then it'll ask for root pass in the terminal. If you don't want the user to see a terminal, I think you can use yad to take a password and feed it to the command. I'm not as clear on this. See /usr/lib/refracta2usb/functions/function.mkloop around lines 104 and 176 for an example.

#23 Re: Other Issues » [SOLVED] Question about update-rc.d » 2024-12-11 17:02:12

No issues going to runlevel 3 except you have to be root (or sudo). Just don't try this on a distro that disables the display manager in runlevel 3 (like Refracta desktop isos). In that case you'd have to do 'init 4' or 'init 5' or re-enable the dm in 3.

#24 Re: Other Issues » [SOLVED] Question about update-rc.d » 2024-12-11 10:17:05

Turn them off in runlevel 2, and then the command to turn them on is

init 3

#25 Re: Installation » [SOLVED] Remove auto-start of X, want to start manually » 2024-12-09 22:37:55

Assuming you took the default desktop install, your display manager would be slim. Also assuming you installed sysvinit and not runit or openrc as the init system, you can just disable your display manager.

update-rc.d slim defaults-disabled

or maybe you have lightdm instead of slim.

After that, you'll get a console login and then you can run startx to get the desktop.

Board footer

Forum Software