The officially official Devuan Forum!

You are not logged in.

#1626 Re: Hardware & System Configuration » upgrade python3 on devuan ascii / howto install » 2020-03-27 11:45:18

You probably need to change a symlink or two - the one for /usr/bin/python and /usr/bin/python3 would be my best guess.

Here's what I have in ascii:

$ ls -l /usr/bin/python*
lrwxrwxrwx 1 root root       9 Jan 24  2017 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root       9 Jan 24  2017 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3779512 Sep 26  2018 /usr/bin/python2.7
lrwxrwxrwx 1 root root       9 Jan 20  2017 /usr/bin/python3 -> python3.5
-rwxr-xr-x 1 root root 4751184 Sep 27  2018 /usr/bin/python3.5
-rwxr-xr-x 1 root root 4751184 Sep 27  2018 /usr/bin/python3.5m
lrwxrwxrwx 1 root root      10 Jan 20  2017 /usr/bin/python3m -> python3.5m

It is safer to download the packages and then install them. Do not add debian repos to sources.list or you might break your system.

#1627 Re: News & Announcements » Beowulf Beta is here! » 2020-03-27 01:34:31

Fri Mar 27 00:35:43 2020:   WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds.
Fri Mar 27 00:35:54 2020:   WARNING: Device /dev/sda1 not initialized in udev database even after waiting 10000000 microseconds.
Fri Mar 27 00:36:04 2020:   WARNING: Device /dev/sda2 not initialized in udev database even after waiting 10000000 microseconds.

I've been informed that when you get these repeating messages, you can make them stop by switching to tty2 and then back to tty1.

Press
alt-F2 and then alt-F1

#1628 Re: News & Announcements » Beowulf Beta is here! » 2020-03-26 09:10:19

aus9 wrote:
fsmithred wrote:

snip

apt purge pulseaudio avahi-daemon
apt autoremove

is easy.

Hi

Won't that break wireless printing setup that uses avahi?

Maybe. If you're using avahi, you shouldn't remove it. Same goes for pulseaudio.

#1629 Re: Installation » Ascii to Beowulf Upgrade » 2020-03-26 02:43:27

It's normal for everything to be upgraded when you dist-upgrade from one major release to the next. It's also normal for there to be some new packages. That happens because package dependencies or priorities sometime change, or a source package that creates several binaries might get split up differently, and you'll get new names. (e.g. cryptsetup-run is a new one)

You should update again after installing a new keyring. I didn't think it worked without doing that.

#1630 Re: News & Announcements » Beowulf Beta is here! » 2020-03-25 18:14:55

Thanks. It does help to know what won't fix it.

#1631 Re: News & Announcements » Beowulf Beta is here! » 2020-03-25 15:21:55

I made another desktop-live iso with changes that I hope will address the udev delays. If anyone who was getting messages like the one below could test the new iso, it would be a big help. Thanks.

"device /dev/sd<x> not available in udev database even after waiting for 1000000 microseconds.<another timeout>"

https://get.refracta.org/files/experime … p-live.iso

sha256sum
822ed7c7d3c456e60ba4041e8b2d43891c6853739b5fdcb16527eb041dbfe21e  devuan_beowulf_3.0.0_beta_2020-03-25_amd64_desktop-live.iso

#1633 Re: Installation » Experiences with Beowulf Beta Desktop Iso » 2020-03-22 19:51:09

You should be able to boot the dvd, go into rescue mode, get a network connection and install grub-efi-amd64. You don't need the -signed version unless you're using secure boot.

All the installation media (including desktop-live) boot with grub on uefi and boot with isolinux on bios. If you can't tell the difference by looking at them, you can test:
Press TAB to edit the boot command in isolinux.
Press e to edit the boot command in grub.
Press ESC to return to the boot menu - this one is the same for both.

If you're already booted into the system, check to see if /sys/firmware/efi exists. If it does, you booted in uefi mode.

#1634 Re: Installation » Experiences with Beowulf Beta Desktop Iso » 2020-03-22 19:00:05

Someone mentioned that grub-efi-amd64 is missing. I think that was on the netinstall iso. I'm downloading the dvd iso now to check it.

Did you install with or without a network mirror?

#1635 Re: Installation » How do I make an encrypted Devuan install with a separate boot? » 2020-03-22 17:49:39

Gparted leaves 1MB free at the beginning by default. If that's not there, it could be the reason for grub failing. Open gparted in the live session to check that it's there.

The log is in the user's home directory on the hard disk.

mount /dev/sda3 /mnt
less /mnt/devuan/refractainstaller.log

#1636 Re: Installation » Devuan on native ZFS-Root » 2020-03-22 15:28:55

I don't know anything about zfs, but I can answer a few of your questions. I did ask someone who uses zfs to take a look at this thread, and he suggests using partitions instead of whole disk for zfs. There is no longer a performance hit for using partitions.

/home separate from the OS partition is a good idea for several reasons. You are less likely to fill up '/' if you keep your user's files separate. It can also make reinstall easier.

swapfile works fine in devuan.
I use the following to make a 256MiB swapfile:

dd if=/dev/zero of=/path/to/swapfile bs=1024 count=262144
mkswap /path/to/swapfile

Change the count if you want a bigger swapfile. Add it to fstab to use it.
Swap is not necessary. You can boot and run the system without it as long as you have enough RAM. (You obviously do have enough.)

I recommend using a separate /boot partition. In ascii, it's possible to have the /boot directory as part of an encrypted root partition, but that doesn't work in beowulf. (Maybe it will by the time you want to upgrade, but that's a guess.)
Note: the /boot partition is not the same as the efi partition.

I've never used parted to make gpt partitions, but I think it should work. Gparted should also work. I usually do it with gdisk.

The desktop-live iso won't give you what you want. It installs a full XFCE desktop. Use one of the Installer isos. Netinstall iso, CD-1 or DVD will work.

#1637 Re: Installation » How do I make an encrypted Devuan install with a separate boot? » 2020-03-22 14:02:27

Is there something unusual about your setup? How did you partition the drive? Gparted? Something else? Is there 1MB free space before the first partition? Does it use gpt partition table? What's in the log around the grub-install command?

#1638 Re: Documentation » Append date and time to .bash_history at start of session » 2020-03-22 13:56:54

Putting it in ~/.bash_profile didn't work for me. I suppose I have to log out of my desktop session and restart it. Putting it in ~/.bashrc works every time I open a new terminal on the desktop. If I put it in /root/.bashrc, it works every time I do 'su' or 'su -' in a terminal.

#1639 Re: Installation » How do I make an encrypted Devuan install with a separate boot? » 2020-03-22 11:37:52

It sounds like you made the right choices for a legacy bios system with msdos partition table. The right place to put the bootloader is /dev/sda, so it should have worked.

What error message did you get? You can check the installation log by booting the live media, mounting the home partition and getting refractainstaller.log from the user's home. The grub section should be about three-quarters of the way down the log. Look for an error message about grub.

The other way to do the install would be to install the grub-pc package before running refractainstaller, but do not let it install the bootloader at that time.  Run dpkg -i /grub-pc*.deb

After installing the package, you can install the system to hard disk, and you will be given a choice of where to put the bootloader. Choose MBR of /dev/sda. When the installer gets to the grub section, you will see a button that says 'Install bootloader' in the same place where you saw 'Copy files' the first time.

#1640 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-21 18:24:31

After doing some test runs, I think I know why you got a zero byte iso - if you use any of the build tasks other than "1. Create a snapshot" you have to edit the config file to set save_work=yes. Otherwise, there's nothing to re-squash or re-pack into an iso file.

These two lines from the log suggest that you stopped it in the middle of a previous run, and /tmp/extracted didn't get deleted. I was able to reproduce these errors, but I did not get any input/output errors, and I did get a normal sized iso.

mkdir: cannot create directory ‘/tmp/extracted’: File exists

cpio: kernel/x86/microcode/AuthenticAMD.bin not created: newer or same age version exists
62 blocks

(Note to self: add /tmp/extracted to the cleanup function.)

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

I don't see any problems with the hard disk.

Run the head command again, but try '-n 2000'

See if you can get a few lines beyond the point where xorriso runs. (about 20 lines past it should be enough) Look for something like this to find it:

xorriso : UPDATE :  0.23% done
xorriso : UPDATE :  3.28% done
xorriso : UPDATE :  11.45% done
xorriso : UPDATE :  19.93% done, estimate finish Wed Dec 25 22:11:41 2019
xorriso : UPDATE :  28.85% done, estimate finish Wed Dec 25 22:11:40 2019
xorriso : UPDATE :  34.11% done, estimate finish Wed Dec 25 22:11:41 2019
xorriso : UPDATE :  36.97% done, estimate finish Wed Dec 25 22:11:42 2019
xorriso : UPDATE :  40.51% done, estimate finish Wed Dec 25 22:11:44 2019

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

Check your hard disk health.

As root:
smartctl -a /dev/sda

(you may need to install smartmontools)

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

I have no idea how you managed to get an 18GB log file. Try this...

head -n 1000 /var/log/refractasnapshot.log > beginning.txt
tail -n 1000 /var/log/refractasnapshot.log > end.txt

That will put the first 1000 lines and last 1000 lines into text files.
Then try opening them with a text editor and see what's there.

#1644 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-21 11:17:59

A video of your file manager showing /var/log is not helpful.

Run
nc termbin.com 9999 < /var/log/refractainstaller.log
and then give me the link.

or send the log to me in email. (my screen name at gmail dot com)

#1645 Re: Hardware & System Configuration » how to make customized Devuan .iso » 2020-03-20 22:17:25

That site isn't working for me. If I turn off noscript and allow all cookies, I see the name of a video file. I don't see a text file.

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

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.)

#1648 Re: News & Announcements » Beowulf Beta is here! » 2020-03-20 18:53:18

I've been running beowulf with static IP set in /etc/network/interfaces since the beginning of the year. Configure it in the interfaces file or use a network manager (like wicd) but don't do both - they may fight with each other.

sgage: volumeicon-alsa if you can't find what you're looking for. (I assume you aren't using pulseaudio, which has its own volume control - pavucontrol)

#1649 Re: News & Announcements » Beowulf Beta is here! » 2020-03-20 12:53:13

HevyDevy wrote:
ralph.ronnquist wrote:

Beowulf beta "netinstall"  without network gives you nothing. Try using "server" or "desktop" rather.

Not sure i understand what you mean here? I have network connection, that being usb0?

In the past, netinstall isos would give you a small and functional base system if you installed without a network. The current netinstall isos won't do that. For an offline install, people should use the server or desktop installer isos or the live isos.

dev-1-dash-1: Thanks for the feedback. We have our wizards working on it.

#1650 Re: News & Announcements » Beowulf Beta is here! » 2020-03-19 23:50:04

"device /dev/sd<x> not available in udev database even after waiting for 1000000 microseconds.<another timeout>"

I've gotten this message trying to install grub in a chroot. It goes away in a couple minutes. I'm unable to reproduce it by booting the live-iso from usb.

Board footer

Forum Software