You are not logged in.
Welcome to devuan. I used zenwalk for a year before switching to debian (etch) for its vast repository, so I understand where you're coming from.
The live installer has grown rather clunky, especially since adding support for uefi. It's due for an overhaul. I'm pleased you were able to install to an mmc device. I assume you used the graphical installer, and it showed your partitions correctly. You're the first I've heard of doing that, and I've been wondering if it really works.
Upgrade to beowulf will not mess with /usr or /sbin. It won't change your directories.
Job wrote:Is systemd part of Beowulf?
No. What makes you think that?
Probably the line that says systemd-238 (is that like uranium?) is in ceres and 232 is in testing.
I can assure you it's not in either of those repos. ("No candidate version found for systemd")
Welcome home! Not sure if you saw my no-dbus experiment: https://dev1galaxy.org/viewtopic.php?id=2158
I just happened to be looking at that again today with a mind to create a live-sdk blend for the no-dbus build. (live-sdk is for automated building of live-CD isos.)
Here's one I made (manually) in September. Um, two nodbus builds; i386 and amd64. The one with bpo in the name is ascii with backports kernel (and with dbus.)
https://get.refracta.org/files/experimental/
These isos are POC and fun, but probably not for production.
refracta-lang works in beowulf (no X)
RE iso size.. might there be a way to avoid having two copies of initrd (one in /live and one in the squash, 25 M each as gzip)?
Yeah, that would work. It's not needed in the squash. Just have to make sure that update-initramfs runs during the install.
Thanks, for that. I can make those changes in a point release. I had made a couple isos in October that were under 700mb, but then I ran update/upgrade and the snapshots grew. The initrd should have already been xz compressed unless it somehow reverted during upgrades.
Package list is mostly the same. Dropped atril and all the mate system utils and put in xpdf. Forgot to add noscript in the i386. Probably forgot something else, too.
I thought refracta-lang was specific for lightdm. I switched to lxdm mainly because I was getting better results with other languages.
Speaking of beowulf, I had to make a couple of custom live-config scripts for it. One for lxdm so that it doesn't expect lxde, and one for openssh-server, which hangs on boot while waiting for enough entropy to make the host keys. That one is here - http://distro.ibiblio.org/refracta/file … sh-entropy
When a new stable release is ready, you can change your sources to that release and upgrade. That will replace older versions of software with newer version, and it will probably also remove some obsolete packages and introduce a few new ones. If there are system config files that you've edited, the package manager will usually ask if you want it replaced with the newer config file or not, and it will give you an option to compare the two. It will not mess with any files in your user's home directory.
You don't have to wait for the current release to reach end of life, but you can if you want. The repositories will still be around and will still get security updates.
Here's the LTS schedule. Jessie dies next year and ascii (same as debian stretch) will go on until 2022.
https://wiki.debian.org/LTS
Refracta uses the xfce4 desktop. The desktop is installed without metapackages, which means you can easily remove any parts of it without the whole desktop getting removed due to the dependency chain. If instead, you install xfce from the devuan installer isos or from the devuan desktop-live, you get a more complete destkop, but if you try to remove any parts of it, all of it and your desktop applications may get removed.
If you prefer some other desktop environment or a window manager, you should use one of the installer isos.
Suggested listing:
ThomOS (formerly Crunkbong)
Siva, you didn't mention it, but login/password are thomos/thomos
System boots to console login. Login leads to automatic graphical session in openbox. I don't know how you got no autologin without adding 'noautologin' to the boot command, but you need to either add 'nox11autologin' or do something else to get rid of /etc/profile.d/zz-live-config_xinit.sh.
The boot item for foreign language does not work. The syntax 'lang=it_IT' is specific for lightdm along with refracta-lang, a custom live-config script for changing locale and keyboard at boot. I don't know if it still works. (you don't have that script, anyway). The standard method does work:
locales=it_IT.UTF-8 keyboard-layouts=it
That's as far as I got for now. More later. Looks good so far.
/etc/apt/preferences.d/mxrepo (or some other file name)
Package: *
Pin: origin "mxrepo.com"
Pin-Priority: 400I think that will work. The man page for apt_preferences says that origin can match a hostname. I don't know if you need to make a separate entry for la.mxrepo.com or if the one will get both.
Setting the default release changes the priority from 500 to 990 on the ascii main version. I just tested it - they were both 500 before I set the default.
I guess you'll need to add '-t ascii-security' to your install command.
Is the intel-microcode package installed? That injects a binary into the initrd. I'm wondering if that could be causing the confusion.
This should show you the available commands, and those commands should have man pages. If not, try running each command with the '--help' option.
ls /usr/bin/dvb*No such file or directory
You're sure it's there? You didn't change directory between running xzcat and running file? Try using the full path to the real file instead of the symlink. (/boot/initrd.img-<version>)
BTW, it's better if you don't have the initrd inside the directory where you extract it. You don't want it to end up inside the new initrd when you repack it.
W: Download is performed unsandboxed as root as file '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)That's the message you get when you download a package as root. Download as ordinary user instead.
What message do you get when you run
apt install dvb-appsIf it's already installed, apt will tell you that. Look in /usr/share/doc/dvb-apps for information. The package description says "interface::commandline" so that might explain why it's not in the menu.
dpkg -L dvb-appswill give you a list of the files in the package. That will include a list of any commands. There will probably be man pages for those commands.
It goes by too fast for me to see what it says. There are only about four lines of output, and there's no red. I did add 'local vgs vg' to the beginning of do_stop() but I don't know if that would make a difference.
I'm not sure what success you're expecting. Did you repack the initrd, and if so, what changes did you make to it? Or are you still trying to unpack it?
file /boot/initrd.img-4.19.0-2-amd64 should tell you what compression is used. Use the corresponding zcat or xzcat command above to unpack it. Tell me which compression was used and what you found inside the initrd. Possible choices of things to do would be remove the offending files, edit the offending files, maybe something else.
Maybe you're missing these?
Rebuild initrd with gzip compression:
find . -print0 | cpio -0 -H newc -o | gzip -c > ../initrd.img
Rebuild initrd with xz compression:
find . | cpio -o -H newc | xz --check=crc32 --x86 --lzma2=dict=512KiB > ../initrd.img
Then of course, you have to replace the original with your changed version. (keep a backup copy of the original and copy the modified one to /boot, and make sure the name corresponds to what your boot menu expects it to be.)
Forget about the timeouts. The old patch still works. Here's what my do_stop function looks like now. I added the lines between 'dmsetup mknodes' and 'log_action_begin_message...' I did not add the local variable declarations. Those are no longer in this function. Maybe I should.
do_stop() {
dmsetup mknodes
if [ -x /sbin/lvm ]; then
vgs="$(/sbin/lvm vgscan | sed -n '/"/s/^.*"\([^'\'']*\)".*$/\1/p')"
if [ -n "${vgs}" ]; then
for vg in ${vgs}; do
/sbin/lvm vgchange -a n ${vg} >/dev/null 2>&1
done
fi
fi
log_action_begin_msg "Stopping $INITSTATE crypto disks"
crypttab_foreach_entry _do_stop_callback
log_action_end_msg 0
}The initrd is not in gzip format. Use this line instead:
xzcat /initrd.img | cpio -d -i -mYes, you can just call the initrd directly (in /boot) instead of using the symlink.
Please get refractainstaller 9.5.2 from ceres. It should be in the repo by now (or very soon.)
Go ahead and modify refractasnapshot as I indicated a couple posts above and see if it works. If you use the cli script, please add the -d option for a verbose log. If that doesn't work, you may need to do the steps listed below.
More info...
https://lists.debian.org/debian-user/20 … 00195.html
++++ BEGIN apt-listchanges: News MESSAGE ++++
initramfs-tools (0.129) unstable; urgency=medium
* Some systems that do not support suspend-to-disk (hibernation) will
require a configuration change to explicitly disable this.From version 0.128, the boot code waits for a suspend/resume device
to appear, rather than checking just once. If the configured or
automatically selected resume device is not available at boot time,
this results in a roughly 30 second delay.You should set the RESUME variable in
/etc/initramfs-tools/conf.d/resume or
/etc/initramfs-tools/initramfs.conf to one of:- auto - select the resume device automatically
- none - disable use of a resume device
- UUID=<uuid> - use a specific resume device (by UUID)
- /dev/<name> - use a specific resume device (by kernel name)-- Ben Hutchings <ben@decadent.org.uk> Thu, 20 Apr 2017 23:21:32
+0100</ben@decadent.org.uk>++++ END apt-listchanges: News MESSAGE ++++
Hmm.. My resume file contains 'RESUME=none' but there's no RESUME variable in /etc/initramfs-tools/initramfs.conf. I guess the scripts in /usr/share/initramfs-tool/ figured it out in my system. You could add RESUME=none to initramfs.conf then run update-initramfs -u -k all and then make a new snapshot. Note that this would change the host initrd. (both of them)
As ordinary user, in your home run the following commands.
mkdir extracted
cd extracted
zcat /initrd.img | cpio -iThen look in conf/conf.d/zz-resume-auto. If you have more than one kernel, you can replace '/initrd.img' with the real paths, '/boot/initrd.img-4.whatever' (but unpack them into different directories, like extracted and extracted2 for instance.)
My beowulf has conf/conf.d/resume. I don't know why yours is different.
The script is set to remove conf/conf.d/resume and conf/conf.d/cryptroot. Those files don't exist. They changed the name of resume to zz-resume-auto, and not relevant to your case, they moved cryptroot from conf/conf.d/ to the root of the initrd.
OK. Edit /usr/bin/refractasnapshot. Change this:
274 if [ -f conf/conf.d/resume ] ; then
275 echo "Removing resume"
276 rm -f conf/conf.d/resume
277 fiTo this:
274 if [ -f conf/conf.d/zz-resume-auto ] ; then
275 echo "Removing resume"
276 rm -f conf/conf.d/zz-resume-auto
277 fiThe line numbers might be offset by a few. In the gui version it's around lines 321-323.
Edit: Wait. See next post when it arrives. I'd like to know what's inside that file.
Something has to happen here. I'm not sure what. I tried changing line 164 to just 'for i in 1 ; do' but I don't think it really worked. Only tried it once before I reinstalled over it. I've done a bunch of installs today, and it looks like grub can't do full-disk encryption or encrypted lvm. I need to run the tests again, because I just got a new version of grub. If I can get an encrypted lvm install to boot, I'll play with this some more.
156 do_stop() {
157 dmsetup mknodes
158 log_action_begin_msg "Stopping $INITSTATE crypto disks"
159 crypttab_foreach_entry _do_stop_callback
160 log_action_end_msg 0
161 }
162 _do_stop_callback() {
163 local i rv=0
164 for i in 1 2 4 8 16 32; do
165 remove_mapping "$CRYPTTAB_NAME" 3<&- && break || rv=$?
166 if [ $rv -eq 1 ] || [ $rv -eq 2 -a $i -gt 16 ]; then
167 log_action_end_msg $rv
168 break
169 fi
170 log_action_cont_msg "$CRYPTTAB_NAME busy..."
171 sleep $i
172 done
173 }There's a resume file in your initrd that has that uuid inside it. In a live session, run lsinitramfs /initrd.img | grep resume to see if it's there. That uuid should correspond to a swap partition. There's a way to avoid this when making the snapshot. It's in the readme. Starting with refractasnapshot-10.2 the script will do it for you (or ask what to do.)
If you have no swap partition, you can probably get rid of the file by running update-initramfs -u. The other way to get rid of it is to unpack the initrd, remove the file (conf/conf.d/resume) and then repack the initrd. If you need the commands for that I can post them after another cup of coffee.
Looks like the file name was changed to /lib/cryptsetup/cryptdisks-functions. (there's a dash instead of a dot)
I have it on two beowulf installs - one was upgrade from ascii, one was from mini.iso install.
I don't know if that fix still works (i.e. copying part of the jessie version into the ascii file.) You could try the earlier fix of changing the timings on line 190 to 'for i in 1'. I haven't tested this yet, because I have't been able to boot into my encrypted lvm install.
# Removes all mappings in crypttab
181 do_stop() {
182 dmsetup mknodes
183 log_action_begin_msg "Stopping $INITSTATE crypto disks"
184
185 crypttab_foreach_entry _do_stop_callback
186 log_action_end_msg 0
187 }
188 _do_stop_callback() {
189 local i rv=0
190 for i in 1 2 4 8 16 32; do
191 remove_mapping "$CRYPTTAB_NAME" 3<&- && break || rv=$?
192 if [ $rv -eq 1 ] || [ $rv -eq 2 -a $i -gt 16 ]; then
193 log_action_end_msg $rv
194 break
195 fi
196 log_action_cont_msg "$CRYPTTAB_NAME busy..."
197 sleep $iI tried copying .Xauthority and that didn't work for me in beowulf. Are you using that in beowulf now?
I also tried xhost + and that didn't work, either.
Oh! That typo has been there for a long time. Good thing it's just a commented example. I'll fix it in next version.
make_efi makes the files needed to boot the iso on uefi hardware. For that to work, you need to have grub-efi-amd64-bin installed (it already is, unless you removed it.)