The officially official Devuan Forum!

You are not logged in.

#2501 Re: Installation » [SOLVED] Redshift fails to start - .service files missing? » 2017-05-16 22:11:55

1. First. Important: What golinux said. Don't upgrade to ascii, just take what you need and then disable ascii. I can confirm that it runs on jessie. I only tested it on command-line. I didn't set it up to run automatically, and I don't like that it wants my latitude and longitude.

This works:

 2111  redshift -O 3500
 2112  redshift -O 5500

apt-cache policy shows:

  Version table:
redshift-gtk 
    1.11-1 0
         90 http://us.mirror.devuan.org/merged/ ascii/main amd64 Packages

gtk-redshift
     1.9.1-4 0
        500 http://us.mirror.devuan.org/merged/ jessie/main amd64 Packages

#2502 Re: Documentation » Make a live-CD with live-sdk » 2017-05-16 18:31:13

pcalvert wrote:

Hi,

What is the reason for switching from live-build to live-sdk?

Phil

I'm not sure. I know that live-sdk uses some of the same libraries as the devuan sdk that's used for building all the other images, so at least part of the decision was for consistency. I also know that early on, it was impossible to build an iso with live build-that didn't include systemd. I just tried the version of live-build in jessie, and it looks like it was neglected. It still uses debian repos. I just changed that and it's running. I'll know more in a little while.

I'm hoping Ozi will say something here. He uses live-build and knows more about it.

Edit: This is with version 4.0.3-1+devuan2, which looks to be the only one in jessie, ascii and ceres.

The following packages have unmet dependencies:
 live-config-systemd : Depends: systemd but it is not installable
                       Recommends: dbus but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

#2503 Re: Documentation » Install Devuan into encrypted root and swap partitions » 2017-05-15 17:27:14

Wow. It took me five attempts to get it right. Here's a video of manual partitioning (you can get there from non-expert as well as expert install).

Create a boot partition
Create a partition to be used as physical volume for encryption.
Uh... watch the video.

There are a lot of places where I drop the highlight down below the item I'm about to select, and then move up one line and select it. Did that in case it's hard to read in the red highlight.
http://distro.ibiblio.org/refracta/misc … rypt-4.ogv

#2504 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-15 10:21:26

@FOSSuser: Good call.

@hughparker1: the correct locale to choose is en_GB

#2505 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-14 20:15:35

Wow. The Russian is weird. Are all system messages in Russian? You can change language/locale by running

dpkg-reconfigure locales

But I don't think that will help. That's a grub message. I know there are language files in /boot/grub, but I don't know anything about how they work. Maybe some setting in /boot/grub/grub.cfg or /etc/grub.d/* thinks you want Russian.

I just learned that a big part of your problem with this install is the fact that grub-efi-amd64 is not installed in the iso. That's my error, and it will be fixed. So yes, it will be easier. You'll get a window that has some choices for what to do with grub, and one of them is to let the installer add the bootloader. All you need to do is press one button.

#2506 Re: Other Issues » MySQL » 2017-05-14 19:56:27

OK, my problem is all better now. I could not create users or groups. Went through the vaious software fixes proposed in similar posts, and none of them seemed to apply. Problem went away with a complete poweroff and blowing out dust. I can now create users and groups, and mysql-server installed without any trouble.

#2507 Re: Documentation » Install Devuan into encrypted root and swap partitions » 2017-05-14 15:56:32

I can believe that encrypted install with the debian-installer failed. It is not intuitive or straightforward, but if you can find the right path through the maze, you will get to the end. Here's a guide. Unfortunately, the pictures are long gone, but the words should help you get the steps in the right order. Also, if you go to forums.debian.net and search for posts about encrypted lvm install, you will find a couple of guides.

http://www.debianuserforums.org/viewtop … b033775ccc

#2508 Re: Other Issues » MySQL » 2017-05-14 15:36:01

I have one install that has mysql-server for one app that needs it for its database. It only gets used from localhost, and it works fine. I just upgraded it after many months, and it still works.

I just tried to install mysql-server on my main box, and it's failing with this error message:

dpkg: error processing archive /var/cache/apt/archives/mysql-server-5.5_5.5.55-0+deb8u1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

Attempting to add the group manually:

groupadd -g 121 mysql
groupadd: failure while writing changes to /etc/group

This is strange. I got the same error a few days ago trying to install something, but that was in a chroot, and I needed to make the bind-mounts with sys, dev and proc. Right now, I'm not in a chroot. I'm installing directly on hardware in the running system. If someone else wants to try, you can let me know if the problem is just with my setup.

I don't think it's a file permission problem:

-rw-r--r-- 1 root root 904 Mar  8 18:38 /etc/group

#2509 Re: Documentation » Install Devuan into encrypted root and swap partitions » 2017-05-13 22:41:22

The regular installer isos use the debian installer, so encryption is supported. You can encrypt individual partitions or use lvm to have multiple partitions inside one encrypted volume. For lvm, you can do it manually or let the installer do the partitioning for you.

The devuan-live isos use refractainstaller, which supports encryption of separate root and/or home partitions. It does not support lvm, and it does not support encrypted swap partition, but it can create a swapfile inside the encrypted root partition.

#2510 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-13 22:26:39

When you start synaptic from the menu, you should get a window that asks for a password. If you set up the system to use a root account, use the root password, and if you set it up for sudo, use your password. If you're not getting the pop-up window for authentication, the start it from a terminal like you did until that issue is solved.

For the grub problem. You're right. Editing the config on devuan won't help if debian is in charge of boot. I can think of three ways to fix it.
1. Boot into Devuan and reinstall grub-efi-amd64
2. Boot into Devuan and run 'sudo grub-install' in a terminal. (no device name needed with uefi)
    - optional for 2: run 'sudo grub-install --bootloader-id=some-name'

In either of those cases above, grub will create a bootloader and I expect it will put itself first in the list of bootloaders. Then you'll need to run update-grub to get debian in the boot menu. WARNING: I don't know this for a fact. UEFI implementations vary from manufacturer to manufacturer, so your system might not act like mine. COMMENT: I would try #2 with the bootloader-id first, and use an id name that is something other than debian, devuan or boot. Then you will know for sure that it's the one you just made.

In my system, Debian's bootloader is in /boot/efi/EFI/debian and Devuan's is in /boot/efi/EFI/devuan. There is a /boot/efi/EFI/boot/, too. I forget where that came from, and I don't use it. Whenever I install a linux and allow grub to install, it becomes first. If I change the order of the bootloaders using efibootmgr, it shows me that the boot order has changed, and then it reverts to the previous order as soon as I reboot. Yours may act differently.

3. Boot into Debian and copy the menuentry for Devuan from /boot/grub/grub.cfg into /etc/grub.d/40_custom, add nomodeset to the linux line, and run update-grub. There will be an extra entry for Devuan in the boot menu, and that one will have nomodeset in the boot command. The entry starts with the word, menuentry and ends with a closing curly brace `}' 

Read this if you haven't, re-read it if you have: http://www.rodsbooks.com/efi-bootloaders/index.html

#2511 Re: Hardware & System Configuration » Hey, I don't need help! » 2017-05-12 21:32:05

Wow! Great review. Thanks, and welcome to Devuan.

#2512 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-12 21:15:42

1. Graphics card or driver. Whichever one you want to blame. You could try the proprietary driver, but if it's working ok, there's no need.

2. Yes. Add nomodeset to /etc/default/grub and then run update-grub to generate a new menu. Then you don't have to edit at boot every time.

GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"

#2513 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-12 16:19:16

hughparker1 wrote:

I checked the file I downloaded with sha256sum

$ sha256sum -c --ignore-missing devuan_jessie_1.0.0-RC2_amd64_uefi-live.iso.SHA256SUMS

hugh@sony-solus ~/Downloads $ sha256sum -c --ignore-missing devuan_jessie_1.0.0-RC2_amd64_uefi-live.iso.SHA256SUMS
devuan_jessie_1.0.0-RC2_amd64_uefi-live.iso: OK
hugh@sony-solus ~/Downloads $

I don't understand what you did here. Where did devuan_jessie_1.0.0-RC2_amd64_uefi-live.iso.SHA256SUMS come from? You could not have downloaded it, because there's no such file on the server. All the sums are in one file. Did you look at the output of the command to see that it matched the number I posted?

#2514 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-12 15:06:49

At the boot menu, press 'e' to edit the boot entry. Use the arrow keys to navigate to the linux line and add the word, nomodeset to the line. Then ctrl-x to boot.

#2515 Re: Installation » How to install DEVUAN Stable using DEBOOTSTRAP method to /target? » 2017-05-12 12:20:18

spartrekus wrote:
         
 PKG="make,gcc,wireless-tools,login,passwd,less,vim,wpasupplicant,netbase,wget,cpio,binutils,dpkg,cron,dosfstools,e2fsprogs,dpkg,apt,apt-utils" 
sparrot@deathstar # debootstrap --include="$PKG" --arch i386 stable  /target  http://auto.mirror.devuan.org/merged/

I: Retrieving InRelease 
I: Checking Release signature
E: Release signed by unknown key (key id 94532124541922FB)

sparrot@deathstar #

I mentioned last time that I needed few days to give you the error msg. Herewith the error message as agreed.

Thank you in advance

I got that same error recently, but I don't recall what I was doing. Maybe it was the debootstrap install, or maybe it was during an upgrade from jessie to ascii. I think I fixed it by adding the key, and I think I tried a couple different things. Sorry I didn't take notes on that.

apt-get install devuan-keyring

and answer "yes" to the scary question.
or

gpg --recv-keys 541922FB
gpg --export -armor 541922FB | apt-key add -

#2516 Re: Installation » [SOLVED] can't get splash screen UEFI install (only scrolling text) » 2017-05-12 11:05:18

No, I haven't seen that except when I was trying to boot to console. You should not need to log in to the desktop - it should happen automatically.
It's an isohybrid image, so anything that just copies it bit by bit to the whole device should work. I don't know what Mint or Rufus does, but if Rufus needs to know that it's for uefi, then it's probably doing something about that, and it should not. If you have a running linux, you can just use dd.

Please check the following commands:

tty          #which tty are you connected to?
ps ax |grep slim       # is the display manager running?
sudo runlevel
cat .xsession-errors
sudo less /var/log/Xorg.0.log    # look for lines starting with EE

Try ctrl-alt-F7 (maybe F8 or F9) to see if that gets you to the desktop.

If slim is not running, try starting it:

sudo service slim start

Check the sha256sum to make sure the download was good.

$ sha256sum devuan_jessie_1.0.0-RC2_amd64_uefi-live.iso
ac38f0c7d983f8ce93f7b261274fef30823022707b96fc1c09f6b9a1b0c3709d  devuan_jessie_1.0.0-RC2_amd64_uefi-live.iso

#2517 Re: Devuan » New Devuan installation in PEI Atlantic Canada » 2017-05-11 10:34:16

There are a couple that might meet your needs.
- bootlogd will log the boot process in /var/log/boot
- bootchart2 will record the time for each process at boot and make a nice chart for you.

And since this is gnu/linux, there are probably 10 more ways to do it that I don't know about.

Have fun, and welcome to the forum.

#2518 Re: Hardware & System Configuration » Shutdown and root passsword » 2017-05-06 10:52:00

You'll get that if root is logged in on console or in a root terminal or if you're running some app as root.

#2519 Re: Installation » What is the kernel used? » 2017-05-03 23:51:36

Same as Debian Jessie, unchanged: 3.16.0-4

apt-cache policy linux-image-amd64
linux-image-amd64:
  Installed: (none)
  Candidate: 3.16+63
  Version table:
     4.9+79 0
         90 http://us.mirror.devuan.org/merged/ ascii/main amd64 Packages
     4.9+79~bpo8+1 0
        100 http://packages.devuan.org/merged/ jessie-backports/main amd64 Packages
     3.16+63 0
        500 http://us.mirror.devuan.org/merged/ jessie/main amd64 Packages

#2520 Re: Installation » How to install DEVUAN Stable using DEBOOTSTRAP method to /target? » 2017-05-02 12:53:47

The debootstrap command left me without a kernel or bootloader, so it was necessary to mount those things (didn't really need /dev/pts) and chroot into the target to install grub and linux-image. While there, I also created a root password. There's no way I could have rebooted to do those things in the installed system.

#2521 Re: Documentation » Make a live-CD with live-sdk » 2017-05-02 00:50:00

Ozi,

There is an isolinux-overlay in the jessie-oblx blend and in the devuan-live blend at parazyd's github, although I'm not sure if that one is working right now. He made some changes that we didn't finish testing before the big push on RC2. And for my latest build, I added a hooks directory and a line to copy a hookscript into the iso.

This is currently at the end of iso_write_isolinux.cfg

	notice "copying isolinux overlay"
	sudo mkdir -p "$workdir"/binary/{live,isolinux}
	sudo cp -av "$BLENDPATH"/isolinux-overlay/* "$workdir"/binary/isolinux/

I had the last line in iso_setup_isolinux, but it got moved. It works in either place. I also added

sudo cp -av "$BLENDPATH"/hooks "$workdir"/binary/live/

#2522 Re: Installation » How to install DEVUAN Stable using DEBOOTSTRAP method to /target? » 2017-05-01 01:27:19

Refracta isos have included devuan debootstrap since some early version of devuan debootstrap. I just re-tested it with a current refracta iso. I did not give it a URL, and it pulls from packages.devuan.org. I stopped at "I: Base system installed successfully" (haven't chrooted in and installed bootloader yet.) Looks to me like it works as it should.

Download a refracta live-iso and boot it from CD or USB on the computer you want to install. Instructions almost identical to what's below are in /home/user/debootstrap_devuan
https://sourceforge.net/projects/refrac … isohybrid/

Create partition
Format partition
Mount the partition and run debootstrap. You might be more lenient with the excludes. Just excluding systemd-sysv should be equivalent to using one of the devuan_jessie installer isos.

mount /dev/sdb1 /mnt   # replace sdb1 with correct drive and partition
debootstrap --arch i386(or amd64) --exclude systemd,libpamsystemd,systemd-sysv,libsystemd0 jessie /mnt

If you have custom configs or other special files, you can copy files to the new system.
(example:   cp /boot/grub/splash.png /mnt/boot/grub/)

Mount some things so you can install the grub bootloader.

mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts

Chroot into the installed system.

chroot /mnt

Install software, edit configs, *create root password*, create user, install a kernel.

Still in chroot, install the bootloader and create the boot menu, then exit the chroot.

grub-install  /dev/sdb   # replace sdb with correct drive
update-grub
exit

Unmount stuff.

umount -l /mnt/dev/pts
umount -l /mnt/dev/
umount -l /mnt/sys
umount -l /mnt/proc
umount -l /mnt

That's all. Reboot.

#2523 Re: Devuan Derivatives » ZephyrLinux re-branded to Crowz » 2017-04-26 14:17:56

FOSSuser wrote:

I tried installing firmware-atheros in a live Crowz session using dpkg, but it didn't work. sad

Works fine in a Refracta live session. smile

Any clues as to what was missing? In what way did it not work?
If the package installed, did the module get loaded, or did you load it?

#2524 Re: Devuan Derivatives » ZephyrLinux re-branded to Crowz » 2017-04-26 00:18:21

greenjeans wrote:

I've installed and removed packages during a livecd session with Devuan and Refracta, modded and replaced files too, so couldn't you even install the needed firmware while still in-session, and delete the unneeded .debs, and have just what you want installed?

Maybe yes, maybe no. You can install them, but sometimes getting them to work without a reboot is difficult. And of course, if you reboot the live session, you lose any changes. I didn't know you could install debs with synaptic. Thanks for that.

The regular installer isos have the wireless firmware, and you can choose to install it or not. That didn't work in beta2, but it's fixed in RC. The desktop-live and minimal-live don't have any wireless firmware installed or available, unless you have a network connection already. (catch-22). There's a good chance the final live isos will have wireless firmware. I don't know what the best way to do it is.

Here's a list of the wireless firmware packages that I pack in the Refracta isos. It's all of the ones I could find, but I haven't checked lately to see if there are more. I was able to install all of them in devuan without having to agree to a EULA with the exception of one - the ipw2x00.

b43-fwcutter_1%3a019-2_amd64.deb
b43-fwcutter_1%3a019-2_i386.deb
firmware-atheros_0.43_all.deb
firmware-b43-installer_1%3a019-2_all.deb
firmware-b43legacy-installer_1%3a019-2_all.deb
firmware-bnx2_0.43_all.deb
firmware-bnx2x_0.43_all.deb
firmware-brcm80211_0.43_all.deb
firmware-intelwimax_0.43_all.deb
firmware-ipw2x00_0.43_all.deb
firmware-iwlwifi_0.43_all.deb
firmware-libertas_0.43_all.deb
firmware-linux-nonfree_0.43_all.deb
firmware-myricom_0.43_all.deb
firmware-netxen_0.43_all.deb
firmware-qlogic_0.43_all.deb
firmware-ralink_0.43_all.deb
firmware-realtek_0.43_all.deb
firmware-ti-connectivity_0.43_all.deb
firmware-zd1211_3.0.0.56-3_all.deb

And here are the package names for installing with apt.

b43-fwcutter firmware-atheros firmware-b43-installer firmware-b43legacy-installer firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-intelwimax firmware-ipw2x00 firmware-iwlwifi firmware-libertas firmware-linux-nonfree firmware-myricom firmware-netxen firmware-qlogic firmware-ralink firmware-realtek firmware-ti-connectivity firmware-zd1211

WOW! Code boxes that don't break my line. Nice. Thanks to whoever did that.

Edit: I would guess that the most common ones are atheros, iwlwifi, realtek and broadcom (all the ones that start with b). The ralink is another realtek. I have one of those on a pci card.

#2525 Re: Documentation » Make a live-CD with live-sdk » 2017-04-24 10:59:51

see this: https://dev1galaxy.org/viewtopic.php?id=569

System files from rootfs-overlay can get copied to the system with user as owner, instead of root.

In the blend file, change the rsync command that's in blend_postinst() to:

sudo rsync -avx --no-o --no-g "$BLENDPATH"/rootfs-overlay/* . || zerr

Or change the rsync to a cp command. The --no-o and --no-g prevent rsync from preserving the file's owner and group. Any files in in the overlay that go into the user's home will need to be changed back to user:user in blend_finalize(). Be careful if some of your system files in the overlay are actually owned by a system account (e.g. mysql, www-data).

Board footer

Forum Software