The officially official Devuan Forum!

You are not logged in.

#476 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-21 14:14:55

beginning.txt

[ -f /usr/bin/yad ]]
+ DIALOG=yad
+ INFO=image=gtk-dialog-info
+ QUESTION=image=gtk-dialog-question
+ WARNING=image=gtk-dialog-warning
+ ERROR=image=gtk-dialog-error
+ BUTTON0=button
+ BUTTON1=button
+ BUTTON0NUM=:0
+ BUTTON1NUM=:1
+ CENTER=--center
+ [[ -n :0.0 ]]
++ id -u
+ [[ 0 -eq 0 ]]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ check_grub
+ [[ yes = \y\e\s ]]
+ dpkg -l
+ grep '^ii'
+ grep grub-efi-amd64
+ grep -v bin
+ [[ ! -e /var/lib/dpkg/info/dosfstools.list ]]
+ choose_task
+ [[ yes = \y\e\s ]]
+ uefi_message='uefi enabled'
++ yad '--title=Refracta Snapshot 10.2.10 (20191218)' --center --borders=10 --height 400 --width 426 '--text=This utility wil$[/c]

[c]Choose the first option to create a snapshot.[/c]

[c]This is free software that comes with no warranty or guarantee of any type, including but not limited to express, implied, me$
' --button=OK:0 --button=Help:1 --list --column Num --column 'Choose a task' 01 'Create a snapshot (uefi enabled)' 02 'Re-squ$
+ task='01|Create a snapshot (uefi enabled)|'
+ exit_code=0
+ '[' 0 -ne 0 ']'
+ [[ 01|Create a snapshot (uefi enabled)| =~ 01 ]]
+ please_wait
+ yad --image=gtk-dialog-info '--title=Refracta Snapshot' --center '--text=This may take a moment while the program checks fo$
++ pgrep yad
+ wait_pid=2303
+ check_copies
+ [[ -d /home/snapshot ]]
+ ls '/home/snapshot/*.iso'
ls: cannot access '/home/snapshot/*.iso': No such file or directory
+ snapshot_count=0
++ du -sh /home/snapshot
++ awk '{print $1}'
+ snapshot_size=4.0K
+ [[ -z 4.0K ]]
+ [[ -d /home/work/myfs ]]
++ du -sh /home/work/myfs
++ awk '{ print $1 }'
+ saved_size=9.7G
+ saved_copy='* You have a saved copy of the system using 9.7G of space
  located at /home/work/myfs.'
+ [[ no = \y\e\s ]]
+ save_message='* The temporary copy of the filesystem will be created
at /home/work/myfs and removed when this program finishes.'
+ check_directories
++ echo /home/snapshot
++ awk -F / '{ print "/" $2 "/" $3 }'
++ grep /media/
+ snapdir_is_remote=
++ echo /home/work
++ awk -F / '{ print "/" $2 "/" $3 }'
++ grep /media/
+ workdir_is_remote=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ [[ -d /home/snapshot ]]
+ [[ no = \n\o ]]
+ [[ -d /home/work ]]
+ rm -rf /home/work
+ mkdir -p /home/work/iso
+ mkdir -p /home/work/myfs
+ check_space
++ df -h -x tmpfs -x devtmpfs -x iso9660 -x udf -x aufs -x squashfs
++ sed 's/Mounted on/Mountpoint/'
++ awk '{ print  $2 "  \t" $3 "  \t" $4 "  \t" $5 "   \t" $6 "   \t\t\t" $1 }'
+ disk_space='Size      Used    Avail   Use%    Mountpoint                      Filesystem
188G    11G     168G    6%      /                       /dev/sda2
511M    5.3M    506M    2%      /boot/efi                       /dev/sda1'
+ check_initrd
+ echo 'Checking initrd.'
+ lsinitramfs /initrd.img
+ grep -q conf.d/cryptroot
+ lsinitramfs /initrd.img
+ grep -q cryptroot/crypttab
+ remove_cryptroot=yes
+ cryptroot_message='The snapshot initrd will be modified to allow booting the unencrypted snapshot.'
+ lsinitramfs /initrd.img
+ egrep -q 'conf.d/resume|conf.d/zz-resume-auto'
+ remove_resume=yes
+ swap_message='The snapshot initrd will be modified to allow booting without the host'\''s swap partition.'
+ '[' '' = yes ']'
+ kill 2303
+ report_space
++ mktemp /tmp/snapshot-report.XXXX
+ tempfile=/tmp/snapshot-report.RXju
+ echo '
You will need plenty of free space. It is recommended that free space (Avail) in the partition that
holds the work directory (probably "/") should be two times the total installed system size (Used).
(Note: You can deduct the space taken up by previous snapshots and any saved copies of the system from the Used amount.)[/c]

[c]Please CLOSE any running applications NOW.
Turn off NUM LOCK for some laptops.[/c]

[c]* You have 0 snapshots taking up 4.0K of disk space.
* You have a saved copy of the system using 9.7G of space
  located at /home/work/myfs.
* The temporary copy of the filesystem will be created
at /home/work/myfs and removed when this program finishes.
* The snapshot directory is currently set to /home/snapshot[/c]

[c]You can change these and other settings by editing
/etc/refractasnapshot.conf.[/c]

[c]The snapshot initrd will be modified to allow booting the unencrypted snapshot.
The snapshot initrd will be modified to allow booting without the host'\''s swap partition.
Current disk usage:
(For complete listing, exit and run '\''df -h'\'')[/c]

[c]Size    Used    Avail   Use%    Mountpoint                      Filesystem
188G    11G     168G    6%      /                       /dev/sda2
511M    5.3M    506M    2%      /boot/efi                       /dev/sda1'
+ yad --text-info '--title=Status Report' --center --height 400 --width 700 --button=OK:0 --button=Exit:1
+ exit_code=0
+ '[' 0 -ne 0 ']'
+ rm -f /tmp/snapshot-report.RXju
+ set_distro_name
+ [[ /usr/lib/refractasnapshot/iso = \/\u\s\r\/\l\i\b\/\r\e\f\r\a\c\t\a\s\n\a\p\s\h\o\t\/\i\s\o ]]
+ [[ live.cfg = \l\i\v\e\.\c\f\g ]]
++ lsb_release -i -s
+ DISTRO=Debian
++ grep -q Refracta /etc/issue
++ yad --entry '--title=Linux Distribution' --center '--text=This is the distribution name that will appear in the boot menu
for the live image. If it'\''s blank, the menu entries will just say
"GNU/Linux (kernel-version)" ' --entry-text=Debian --width=500 --button=OK:0
+ DISTRO=Debian
+ [[ -z Debian ]]
+ housekeeping
+ [[ '' = \y\e\s ]]
+ [[ -n '' ]]
++ awk -F: '/1000:1000/ { print $1 }' /etc/passwd
+ username=rich
+ [[ rich != user ]]
+ username_opt=username=rich
+ [[ no = \y\e\s ]]
+ [[ -e /vmlinuz ]]
+ [[ -e /initrd.img ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ yes = \y\e\s ]]
+ updatedb
/usr/bin/refractasnapshot-gui: line 795: updatedb: command not found
+ tee /dev/fd/63
++ yad '--title=Running updatedb...' --center --progress --pulsate --auto-close --width 300
+ [[ '' = \y\e\s ]]
+ cd /home/work
+ copy_isolinux
+ [[ -f /usr/lib/ISOLINUX/isolinux.bin ]]
+ isolinuxbin=/usr/lib/ISOLINUX/isolinux.bin
+ [[ -f /usr/lib/syslinux/modules/bios/vesamenu.c32 ]]
+ vesamenu=/usr/lib/syslinux/modules/bios/vesamenu.c32
+ rsync -a /usr/lib/syslinux/modules/bios/chain.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/ldlinux.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libcom32.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/libutil.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/ISOLINUX/isolinux.bin /usr/lib/refractasnapshot/iso/isolinux/
+ rsync -a /usr/lib/syslinux/modules/bios/vesamenu.c32 /usr/lib/refractasnapshot/iso/isolinux/
+ [[ '' = \y\e\s ]]
+ copy_kernel
+ rsync -a /usr/lib/refractasnapshot/iso/ /home/work/iso/
+ cp /vmlinuz /home/work/iso/live/
+ cp /initrd.img /home/work/iso/live/
+ copy_filesystem
+ [[ no = \y\e\s ]]
+ rsync -av / myfs/ --delete-before --delete-excluded --exclude=/home/work --exclude=/home/snapshot --exclude=/home/work/efi-$
+ tee /dev/fd/63
++ yad '--title=Copying filesystem...' --center --progress --pulsate --auto-close --width 300[/c]

[c](yad:3885): GLib-CRITICAL **: 21:15:24.515: g_source_remove: assertion 'tag > 0' failed
+ [[ -n '' ]]
+ '[' yes = yes ']'
+ clean_initrd
+ extract_initrd
+ mkdir /tmp/extracted
mkdir: cannot create directory ‘/tmp/extracted’: File exists
+ pushd /tmp/extracted
++ file -L /initrd.img
++ egrep -o 'gzip compressed|XZ compressed|cpio archive'
+ COMPRESSION='cpio archive'
+ '[' 'cpio archive' = 'gzip compressed' ']'
+ '[' 'cpio archive' = 'XZ compressed' ']'
+ '[' 'cpio archive' = 'cpio archive' ']'
+ echo 'Archive is cpio archive...'
+ cpio -i
cpio: kernel/x86/microcode/AuthenticAMD.bin not created: newer or same age version exists
62 blocks
+ zcat

#477 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-21 14:02:50

the .log settled down eventually after shutdown and reboot (several)
at

21.3 GiB (22,898,887,727 bytes)

beginning.txt is

485.2 MiB (508,755,677 bytes)

end.txt is

73.2 KiB (75,000 bytes)

and all lines @end.txt are like

/usr/bin/refractasnapshot: line 479: echo: write error: Input/output error

#478 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-21 12:16:25

hello ,
please watch the "status bar" that shows the increase in filesize smile

#480 Re: Installation » (beowulf) no ALSA available? » 2020-03-21 09:54:09

SmokeyGrey wrote:

My relevant cmus settings, taken from ~/.config/cmus/autosave

set mixer.alsa.channel=PCM
set mixer.alsa.device=default
set output_plugin=alsa

Thank you!

This was needed for Cmus!

EDIT:

in my case it was needed to add

dsp.alsa.device=default
mixer.alsa.device=default
mixer.alsa.channel=PCM
output_plugin=alsa

#481 Re: Installation » (beowulf) no ALSA available? » 2020-03-21 09:49:09

thanks, the alsa probably was not working because i had

an .asoundrc

that somehow prevented it?

the sound worked then through players like mpv, but it would not when playing sound through browser or cmus.

once deleted .asoundrc i then had to change the order of the soundcard with options in .alsa-base.conf (alsa picked hdmi first, and i needed the internal soundcard intel_hda first; instead of doing it with .asoundrc with alsa-base.conf it solved my problem)

https://wiki.archlinux.org/index.php/Ad … sound_card

#482 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-21 09:37:21

please do "download", tick box, and then select "download"

#484 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-20 20:20:12

sudo refractasnapshot-gui -d

sent 10,420,671,375 bytes  received 3,378,028 bytes  341,772,111.57 bytes/sec
total size is 10,299,317,781  speedup is 0.99
/tmp/extracted /home/work
Archive is cpio archive...
Decompression error

refractasnapshot.log is a very big file. it is still growing as i type.?

#485 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-20 19:49:50

fsmithred wrote:

I'd like to see /var/log/refractasnapshot.log. Send it to me in email or paste it somewhere and give me the link. Or read it and see if there's something obvious. I wouldn't expect the decompression error on the initrd to cause a 0-byte iso to be created.

Edit: I just realized you ran the non-gui version, which doesn't make much of a log file unless you run it with the debug option. (That happens automatically with the gui version.)   Run sudo refractasnapshot -d

Make sure you didn't run out of hard drive space. You might need to exclude some things to make the system copy and the squashfs smaller. (3.9G is pretty big.)

Thanks,

the /var/log/refractasnapshot.log is ndeed 0bytes.

sudo refractasnapshot -d

also gives

sent 9,741,744,729 bytes  received 3,377,899 bytes  341,934,127.30 bytes/sec
total size is 9,727,112,962  speedup is 1.00
/tmp/extracted /home/work
Archive is cpio archive...
Decompression error

#486 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-20 18:44:57

Hello

i tried this

sudo refractasnapshot

1. Create a snapshot (uefi enabled)

yielded

sent 9,252,418,803 bytes  received 3,037,547 bytes  108,250,951.46 bytes/sec
total size is 9,239,018,468  speedup is 1.00
/tmp/extracted /home/work
Archive is cpio archive...
Decompression error

then i tried

2. Re-squash and make iso (no-copy)

which yielded

Squashing the filesystem...
Parallel mksquashfs: Using 12 processors
Creating 4.0 filesystem on iso/live/filesystem.squashfs, block size 131072.
[=========================================================|] 210854/210854 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 3995482.37 Kbytes (3901.84 Mbytes)
	44.22% of uncompressed filesystem size (9034620.15 Kbytes)
Inode table size 1924071 bytes (1878.98 Kbytes)
	29.57% of uncompressed inode table size (6507056 bytes)
Directory table size 1788326 bytes (1746.41 Kbytes)
	38.81% of uncompressed directory table size (4608394 bytes)
Number of duplicate files found 15518
Number of inodes 187909
Number of files 154378
Number of fragments 12073
Number of symbolic links  17760
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 15771
Number of ids (unique uids + gids) 26
Number of uids 12
	root (0)
	lp (7)
	speech-dispatcher (105)
	rich (1000)
	unknown (501)
	unknown (502)
	unknown (1001)
	unknown (197608)
	colord (108)
	_apt (100)
	man (6)
	geoclue (110)
Number of gids 20
	root (0)
	lp (7)
	shadow (42)
	ssl-cert (105)
	rich (1000)
	staff (50)
	unknown (1001)
	unknown (197121)
	tty (5)
	crontab (102)
	mail (8)
	ssh (106)
	games (60)
	messagebus (104)
	utmp (43)
	lpadmin (108)
	man (12)
	colord (114)
	geoclue (115)
	adm (4)
Creating CD/DVD image file...

	All finished!

but no .iso is created just a 0byte file

snapshot-20200320_1926.iso.sha256

#487 Re: Desktop and Multimedia » (Solved)triple monitor setup - third monitor not recognized? » 2020-03-20 17:43:57

sorry, i found out how to do it:

in arandr, i needed to activate the third monitor first (tick box).

now the three monitors are showing up.

many thanks!
(solved)

#488 Desktop and Multimedia » (Solved)triple monitor setup - third monitor not recognized? » 2020-03-20 17:40:33

kapqa
Replies: 1

Hello ,

i have tried Beowulf on 2 of my Computer and with both i have the same problem:

one of three monitors gets no picture / remains dark after login.

during bootup all three monitors are connected/and visible.

pc1
amd a10-9700
with integrated r7 graphics
connected with dvi, hdmi to dvi, vga

pc2
ryzen 5 2600
rx 560
connected with dvi, hdmi to dvi, dp to dvi.

both pc have firmware-amd-graphics and linux-firmware-(nonfree) installed.

on ubuntu all 3 monitors are happily recognized and active after login, same on debian buster (only after installing the necessary firmware though).

#489 Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-19 16:43:09

kapqa
Replies: 22

Hello ,

i would like to ask you professionals what the best way is to create an

customized

Devuan Beowulf .installer

that can become .iso

that is possibly installable from iso then to harddrive or usb.

the task is that i would like to include quite some packages that i normally use and then facilitate the install on other computers.

this refractainstaller tool is the right one?
is this feasible?

Thank you!

#490 Re: News & Announcements » Beowulf Beta is here! » 2020-03-19 16:30:40

Hello,

is it possible to include package

"lsb"

which i would need for the printer (epson) drivers.

On Ascii it was possible to install from Debian Jessie the packages; now it seems no more possible.
Thank you.

#491 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-18 20:58:52

maybe this has not been playing because alsa is picking the internal HDMI as the choice 0
and snd_intel_audio as choice 1

after deleting .asoundrc (that was used for selecting a usb soundcard)
and changing the order of sound cards as here
https://wiki.archlinux.org/index.php/Ad … sound_card

the sound would play.

#492 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-18 20:13:41

rolfie wrote:

[. All you need is alsa-utils, alsamixergui and apulse to make FF play sound with alsa.

Good luck, rolfie

Thank you very much, forgot quite about apulse.

on devuan jessie it is not available, but on beowulf i could install it;

however, the audio would still not get through.

[Parent 12543, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-esr-MzCYU7/firefox-esr-68.6.0esr/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 727
[apulse] [error] do_connect_pcm: can't set sample format 14 ("FLOAT_LE") for playback device "default". Error code -22 (Invalid argument)
[apulse] [error] do_connect_pcm: failed to open ALSA device. Apulse does no resampling or format conversion, leaving that task to ALSA plugins. Ensure that selected device is capable of playing a particular sample format at a particular rate. They have to be supported by either hardware directly, or by "plug" and "dmix" ALSA plugins which will perform required conversions on CPU.
[Child 12599, MediaPlayback #3] WARNING: 7fe728d35bb0 OpenCubeb() failed to init cubeb: file /build/firefox-esr-MzCYU7/firefox-esr-68.6.0esr/dom/media/AudioStream.cpp, line 382
[Child 12599, MediaPlayback #3] WARNING: Decoder=7fe723749200 [OnMediaSinkAudioError]: file /build/firefox-esr-MzCYU7/firefox-esr-68.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3639
[apulse] [error] do_connect_pcm: can't open playback device "default". Error code -16 (Device or resource busy)
[apulse] [error] do_connect_pcm: failed to open ALSA device. Apulse does no resampling or format conversion, leaving that task to ALSA plugins. Ensure that selected device is capable of playing a particular sample format at a particular rate. They have to be supported by either hardware directly, or by "plug" and "dmix" ALSA plugins which will perform required conversions on CPU.
[Child 12599, MediaPlayback #3] WARNING: 7fe715fd7ef0 OpenCubeb() failed to init cubeb: file /build/firefox-esr-MzCYU7/firefox-esr-68.6.0esr/dom/media/AudioStream.cpp, line 382
[Child 12599, MediaPlayback #3] WARNING: Decoder=7fe723749200 [OnMediaSinkAudioError]: file /build/firefox-esr-MzCYU7/firefox-esr-68.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3639

#493 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-18 09:50:52

thanks ,

i have tested now a bit with devuan jessie and beowulf,
and it seems that the

alsa

package is missing on both distros.

some things don't seem to function as they would on an older distro like

lubuntu 12.04

which is alsa-only.

when i try to playback audio in browser from this site here

http://www.gaia.com/

it would not play on my alsa-only devuan computer;
however, on the same computer, running lubuntu 12.04, the audio would play.
something is probably missing on the alsa-side, but i cannot see how to install the packages from the repo as alsa seems missing altogether.

#494 Re: News & Announcements » Beowulf Beta is here! » 2020-03-17 22:44:25

Thank you very much for the precious work on this distro°!

Using it quite some time now!

What i noticed: even on Beowulf (XFCE) the network discovery is not present.
To "browse network" become operable in Thunar, i have to install first "gvfs" and "gvfs*"

dont know if this is a bug or because of security concerns;

also great to see that Alsa is still supported for firefox *ilike*

#495 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-17 21:20:48

Head_on_a_Stick wrote:
kapqa wrote:

is is possible to download the .deb for firefox-esr 52 with alsa enabled?

http://archive.debian.org/debian/pool/m … refox-esr/

Not recommended though, old versions of FF are riddled with known security vulnerabilities. Your system will be wide open if you run those.

@rolfie: the Mozilla FF versions are not compiled with --enable-alsa. And they have user studies (embedded spyware) enabled by default, unlike the De??an packages.

thank you for your help!

is it possible to

extract the contents of .amd64 deb file locally to achieve something like a local portable copy of firefox-esr instead of installing it directly onto the devuan/debian system?

#496 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-17 20:53:59

kapqa wrote:

it seems the firefox 68 provided by devuan is functioning with alsa only!

.

however,

on youtube it would not enable sound on my box beowulf with OpenH264 Video Codec?
i am using viewtube extension.

the firefox is 68.5.0esr (64-bit)

#497 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-15 13:11:14

mrnhmath wrote:

Forget Firefox 52, Basilisk will give you the same experience but with security fixes and improvements across the board.

thank you very much!
this seems a quite promising legacy browser!

hope it is also a safe one!
the only alternative to firefox seemed to me seamonkey, but some add-ons are not compatible with seamonkey.

#498 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-15 13:07:42

it seems the firefox 68 provided by devuan is functioning with alsa only!

i still use this older guide here to remove pulseaudio with alsa

http://linuxg.net/how-to-properly-repla … n-squeeze/

problematic only is alsa a bit when i try to use an external usb soundcard, as it requires some effort to get this soundcard working;

with pulseaudio it is more elegant, just by installving pavucontrol one can easily manage several soundcards.

#499 Re: Desktop and Multimedia » compile firefox-esr (52) --enable-alsa ? » 2020-03-15 12:59:22

hello ,

thank yo very much for your help.

today i downgraded to devuan jessie on my t60 laptop (the newer devuan/debian seems no longer to offer icedtea-plugin for java, needed for some playback on older websites)

now i have firefox 68.6.0esr (64-bit) ESR quantum? release

is it possible to use this browser also with alsa-only?

i don't think  i will be able to use basilisk on here with devuan jessie;

normally i use firefox 52 esr + seamonkey + chromium (for netflix)
but the firefox 68 seems quite fast and most of the things i need seem to function.
sadly, the older plugins won't function, but quite a lot of add-ons have already been updated or adapted.

#500 Re: Desktop and Multimedia » gecko-mediaplayer for buster/beowulf? » 2020-03-13 12:00:57

thanks, i switched to latest firefox-esr,
this can be solved.

Board footer

Forum Software