The officially official Devuan Forum!

You are not logged in.

#1976 Re: Installation » extlinux install from Devuan ASCII installer shell. » 2018-06-15 15:07:52

Sorry I don't have anything useful to add. When I get a chance, I'll try extlinux with a multi-boot system and let you know what I find.

#1977 Re: Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-15 15:01:37

I'm surprised the live installer didn't display the nvme disk/partitions. That's been in there since 9.2.1. Support for uefi in the cli installer was added in 9.3-something. Currently, 9.4.2 is in ascii. If you use that version (graphical) and it doesn't show the nvme, please let me see the error log. (if you start it from terminal instead of from the apps menu, please add the -d option for a debug log.)

The efi partition selection window should work correctly in the latest versions. There's still the problem of knowing which disk is first. If the bios/uefi provides a boot device menu (F12 or other key may do it) you can see which disk the motherboard wants to use, and you probably have to use that one.

For uefi, you must use gpt partitioning.

Refracta Installer will let you have separate partitions for other directories. In the graphical installer, it's in the Options menu, and for the cli installer, there's an option in the config file. It's a bit of a hack - the system gets installed first, and then those directories get copied to the additional partitions, and the originals get deleted. If you're installing an encrypted system, don't use this feature. The additional partitions won't be encrypted.

3.16 kernel is in jessie. Ascii has 4.9. Which iso are you using?

Here's an updated iso with ascii-backports 4.16 kernel and new refractainstaller -
http://distro.ibiblio.org/refracta/file … 5_1409.iso

#1978 Re: Installation » extlinux install from Devuan ASCII installer shell. » 2018-06-13 23:23:12

If it's already dual boot and you're adding another OS, couldn't you just make a new entry in the existing boot menu?

You could let it install grub and then switch to extlinux. When I did that, it was easy. I didn't set it up for multiple systems, but I do use syslinux on multiboot live-usb frequently, but those are all on the same partition. I'm not sure what happens when you want to boot from different partitions.

At the slim login screen, press F1 to toggle different window managers.

#1979 Re: Installation » extlinux install from Devuan ASCII installer shell. » 2018-06-13 12:30:14

Here are my notes on installing extlinux (after installation of the system)

To do it from within the installer, alt-F2 to get to a console.

chroot /target

Then you should be able to install extlinux.

Note: you must choose one of the expert installs to prevent grub from being installed.

#1980 Re: Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-11 22:53:15

Re-reading this thread...

But my BIOS/UEFI only seems to recognize it as a legacy device, not as a UEFI device.

If the motherboard is set to uefi, it will look for bootloaders on the efi partition, which must be fat32 with esp and boot flags. If you use the version of refractainstaller currently in ascii, it will complain if there's no proper efi partition, and if there's more than one, it will give you a choice of which one to use. (Which may or may not be the one your motherboard chooses to use.)

Are you using one of the isos I made with the ascii-backports kernel? (I think it was 4.12 or 4.13.) Ryzen needs newer kernels than the stock ascii kernel.

If it turns out that your hardware won't let you boot from the nvme disk, you could probably just move the /boot dir to its own partition on a sata drive. Or maybe it only wants the efi partition on a different drive. (Just making guesses here.)

And if you're using gpt partitioning with legacy boot, you need to make a special partition, >1MB unformatted, with bios_grub flag (in gparted) or ef02 (in gdisk), otherwise grub-install will fail.

#1981 Re: Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-11 11:33:06

How much analyzing does the UEFI do, to determine what boot devices are present?

Ha! This question presumes some consistency from one uefi implementation to the next. On mine, F12 brings up a boot device menu with HDD, USB, Optical and Network. The USB line shows the thumb drives that are uefi-ready, but is empty when I try one that only boots with bios. This is a laptop, so there's only one internal drive.

Running efibootmgr shows all the bootloaders on the efi partition. There's one for each installed system (except for where I didn't let the installer add a bootloader) and those don't get deleted if I remove an installed system (by wiping a partition, for instance.) Whichever was installed last is first in the boot order.

Can you change the order of the hard drives if you go into the computer setup?
Have you previously booted any linux from this nvme drive on this computer?

#1982 Re: Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-10 20:23:08

init 1 then ctrl-d might take the place of a reboot.

If you have too many deer, you should invite some to dinner. (Assuming you have a big freezer.)

#1983 Re: Other Issues » /usr/bin/x11 symlink to /usr/bin/X11? » 2018-06-10 11:03:43

I don't know the answer, but I've seen similar recursive symlinks in various locations and various distributions over the years.

#1984 Re: Installation » fsmithred - observation on Refracta - EFI frame buffer » 2018-06-10 10:54:16

At the grub boot menu, press e to edit. Add a line before the linux line with the desired resolution. On my laptop, I have to use:

set gfxpayload=1366x768

Then ctrl-x to boot.

If you want it to be permanent, plug the live-usb into a running system and edit boot/grub/grub.cfg to add the resolution. You could use the above line in selected menuentries, or you could set it for all of them as I do in the example below. All the individual menuentries (not shown) have "set gfxpayload=keep".

if loadfont $prefix/font.pf2 ; then
  set gfxmode=1366x768
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
  insmod gfxterm
  insmod jpeg
  insmod png
  terminal_output gfxterm
fi

background_image /boot/grub/splash.png
set menu_color_normal=light-gray/black
set menu_color_highlight=white/black
set timeout=15
<snip>

If you boot with the right resolution, and the graphical refractainstaller still has buttons off-screen, it may be a gtk2/gtk3 problem. Let me know if that's the case. (I've only seen that with refractasnapshot.) One way around that is to use the cli refractainstaller. The other way is to use yad compiled for gtk2 - http://distro.ibiblio.org/refracta/file … _packages/

#1985 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-08 13:46:35

just for clarification: i did't nothing at MXLinux that line was added in Devuan.

Good. Just so you know what that line does...

/dev/sda3 / auto defaults,noatime 1 1

That says to mount sda3 (your MXLinux partition) at the root of the filesystem. Which means you would be running mx, not devuan.

Whereas, this line:

/dev/sda3 /mnt auto defaults,noatime 1 1

mounts the mx partition at /mnt, where it is available, but is not the system that's running at that time.

Changing '/dev/whatever' to 'UUID=' or 'LABEL=' is just a different way of identifying the partition. Sometimes it's necessary to do that. (e.g. multiple disks in the computer)

#1986 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-05 19:01:09

DO NOT CHANGE ANYTHING IN MXLINUX!

We gave you several easy ways to be able to access mxlinux file from devuan. If you want it to work in devuan the same as it works in mxlinux, we need more information. (And it will probably be more complicated.)

What desktop environment, display manager and file manager does mxlinux use?
What desktop environment, display manager and file manager is installed in devuan?

#1987 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-05 16:08:58

It is displayed on this line of your output:

/dev/sda3         95G   7.6G   83G   9% /mnt

The partition that holds MXLinux is mounted at /mnt. The files in your MX home are under /mnt/home/ and are available to you in Devuan. Is this not what you want?

#1988 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-05 14:26:38

keos wrote:

O'k, step by step, you need to know first what is there after:

root@kaos:/home/keos# ls /mnt
bin   build  etc   lib	  lost+found  mnt  proc  run   sys  usr
boot  dev    home  lib64  media       opt  root  sbin  tmp  var
root@kaos:/home/keos#

That looks correct. You can confirm that it's mxlinux by looking in /mnt/home/keos and recognizing files in your mx home. Or look at other files under /mnt that you can identify as mx files, or run 'mount' or 'df -h' to show that the right partitions are mounted in the right place.

Any way i tried this, but without any result:

UUID=6e55911a-2620-4ab6-b2b5-1458602e6252       /       ext4    defaults,noatime        0       1
UUID=0b4a75ba-8b74-47b1-8aaa-2d971f92732f       swap    swap    defaults        0       0
LABEL=MXLinux    /mnt    auto defaults,noatime     0     0

What does "without any result" mean? Again, what's the output of df -h?

#1989 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-05 13:07:26

keos wrote:

But now mxlinux do not even appear at the graphic ...

It won't show up on the desktop when it is mounted. Try 'ls /mnt' to see that it's there.

I”m not sure about what you said after run blkid:

root@kaos:/home/keos#  blkid
/dev/sda1: UUID="6e55911a-2620-4ab6-b2b5-1458602e6252" TYPE="ext4" PARTUUID="000f1103-01"
/dev/sda2: UUID="0b4a75ba-8b74-47b1-8aaa-2d971f92732f" TYPE="swap" PARTUUID="000f1103-02"
/dev/sda3: LABEL="MXLinux" UUID="66f3f330-78b2-4767-bc3e-8a9e7750e476" TYPE="ext4" PARTUUID="000f1103-03"
root@kaos:/home/keos# 

Do you means that i have to go into mxlinux and change what i have over there:

No. I mean you can edit devuan's fstab to use the uuid instead of /dev/sda3. If you only have one hard drive in the computer, you probably don't need to do this. (The order of hard drives can't change if there is only one.) You don't need to change anything in MX.

devuan's fstab: (be sure to remove the quotes around the uuid number)

UUID=6e55911a-2620-4ab6-b2b5-1458602e6252       /       ext4    defaults,noatime        0       1
UUID=0b4a75ba-8b74-47b1-8aaa-2d971f92732f       swap    swap    defaults        0       0
UUID=66f3f330-78b2-4767-bc3e-8a9e7750e476    /mnt    auto defaults,noatime     0     0

Since you have a label on the MX partition, you could do this instead:

UUID=6e55911a-2620-4ab6-b2b5-1458602e6252       /       ext4    defaults,noatime        0       1
UUID=0b4a75ba-8b74-47b1-8aaa-2d971f92732f       swap    swap    defaults        0       0
LABEL=MXLinux    /mnt    auto defaults,noatime     0     0

#1990 Re: Installation » Devuan, KXStudio and extlinux. » 2018-06-05 12:48:24

I don't know anyone who has used extlinux/syslinux/isolinux for uefi boot.

I have used grub2 with uefi in a multiboot situation, and it's pretty easy once you see what's going on. Each OS will add a directory with a bootloader to the efi partition. You can see the order of the bootloaders by running 'efibootmgr'. Whichever one is first in the boot order will be used to boot the system. Whichever one you installed last will be the first in the boot order.

If you have more than one linux system, boot the first one and add the second linux to the boot menu. (Run update-grub in debian-based systems.) If you let devuan be in charge of booting, you can boot slackware from devuan's grub menu just like you'd boot windows from the grub menu. No need to use elilo.

There might be a way to use elilo and let devuan boot from the slackware menu, but I don't know elilo at all.

If there's a kernel upgrade, you may need to update the boot menu. This will happen automatically in devuan. If devuan is managing the boot, and you have a kernel upgrade in slackware, you may need to run update-grub in devuan again. (unless your grub entry for slackware uses a constant name for the kernel and initrd, such as /vmlinuz and /initrd.img)

The general recommendataion against using outside repos is because they haven't been tested with devuan. If that repo contains programs or libraries that require versions that aren't in devuan, you could end up with a big mess of dependency problems. Since you might be the first one trying this, take good notes and let us know how it goes.

Here's a good reference for uefi bootloaders (including rEFInd, which is another possibility.)
http://www.rodsbooks.com/efi-bootloaders/index.html

#1991 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-04 16:30:26

What doesn't work? You should be able to mount the partition with pmount. It won't mount automatically. If you want that partition to always be mounted when you boot, an entry in fstab is a better choice.

/etc/fstab

UUID=6e55911a-2620-4ab6-b2b5-1458602e6252       /       ext4    defaults,noatime        0       1
UUID=0b4a75ba-8b74-47b1-8aaa-2d971f92732f       swap    swap    defaults        0       0
/dev/sda3    /mnt    auto defaults,noatime     0     0

If you have problems with drive order changing, replace /dev/sda3 with UUID=xxxxx  (where xxxxx is whatever uuid is shown for sda3 when you run blkid)

#1992 Re: Installation » Redefine alternatives in /etc/alternatives » 2018-06-03 20:33:22

rxvt is a dummy package. With both rxvt and rxvt-unicode installed, this is what I see. (in jessie and ascii)
rxvt runs rxvt-xterm, and rxvt-unicode runs urxvt.

ls -l /usr/bin/*rxvt*
lrwxrwxrwx 1 root root      22 Jun  3 16:10 /usr/bin/rxvt -> /etc/alternatives/rxvt
lrwxrwxrwx 1 root root       5 Aug 15  2014 /usr/bin/rxvt-unicode -> urxvt
-rwxr-sr-x 1 root utmp  196232 Jul 30  2014 /usr/bin/rxvt-xpm
-rwxr-sr-x 1 root utmp  138680 Jul 30  2014 /usr/bin/rxvt-xterm
-rwxr-sr-x 1 root utmp 1312280 Aug 15  2014 /usr/bin/urxvt
-rwxr-xr-x 1 root root   72688 Aug 15  2014 /usr/bin/urxvtc
-rwxr-xr-x 1 root root      86 Aug 15  2014 /usr/bin/urxvtcd
-rwxr-sr-x 1 root utmp 1320536 Aug 15  2014 /usr/bin/urxvtd

ls -l /etc/alternatives/*rxvt*
lrwxrwxrwx 1 root root 19 Jun  3 16:10 /etc/alternatives/rxvt -> /usr/bin/rxvt-xterm
lrwxrwxrwx 1 root root 35 Jun  3 16:10 /etc/alternatives/rxvt.1.gz -> /usr/share/man/man1/rxvt-xterm.1.gz

With only rxvt-unicode installed, I see the following:
Both rxvt and rxvt-unicode will run urxvt.

ls -l /usr/bin/*rxvt*
lrwxrwxrwx 1 root root      22 Jun  3 16:10 /usr/bin/rxvt -> /etc/alternatives/rxvt
lrwxrwxrwx 1 root root       5 Aug 15  2014 /usr/bin/rxvt-unicode -> urxvt
-rwxr-sr-x 1 root utmp 1312280 Aug 15  2014 /usr/bin/urxvt
-rwxr-xr-x 1 root root   72688 Aug 15  2014 /usr/bin/urxvtc
-rwxr-xr-x 1 root root      86 Aug 15  2014 /usr/bin/urxvtcd
-rwxr-sr-x 1 root utmp 1320536 Aug 15  2014 /usr/bin/urxvtd

ls -l /etc/alternatives/*rxvt*
lrwxrwxrwx 1 root root 14 Jun  3 16:23 /etc/alternatives/rxvt -> /usr/bin/urxvt
lrwxrwxrwx 1 root root 30 Jun  3 16:23 /etc/alternatives/rxvt.1.gz -> /usr/share/man/man1/urxvt.1.gz

I think you want to choose rxvt-xterm for your alternative. If that's not a choice, installing rxvt should provide it.

#1993 Re: Installation » Redefine alternatives in /etc/alternatives » 2018-06-03 15:32:41

There's a way to add an alternative to a link group. I have not memorized the command, and I don't have time right now to figure it out. Look at 'man update-alternatives' or wait until tomorrow when I can answer, or maybe someone else know it and will answer.

#1994 Re: Installation » repository changed its 'Origin' value [SOLVED] » 2018-06-03 15:21:22

This is what I'm getting on a desktop-live iso that I made a few weeks ago.

Distributor ID:	Devuan
Description:	Devuan GNU/Linux testing/unstable
Release:	testing/unstable
Codename:	n/a

Get:1 http://pkgmaster.devuan.org/merged ascii InRelease [22.2 kB]
Get:2 http://pkgmaster.devuan.org/merged ascii-updates InRelease [22.2 kB]
Get:3 http://pkgmaster.devuan.org/merged ascii-security InRelease [21.6 kB]
Get:4 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages [7,239 kB]
Get:5 http://pkgmaster.devuan.org/merged ascii-security/main amd64 Packages [357 kB]
Fetched 7,662 kB in 5s (1,525 kB/s)
Reading package lists...

After update/dist-upgrade

Distributor ID:	Devuan
Description:	Devuan GNU/Linux 2.0 (ascii)
Release:	2.0
Codename:	ascii

After adding beowulf and doing another update

Distributor ID:	Devuan
Description:	Devuan GNU/Linux 3.0 (n/a)
Release:	3.0
Codename:	n/a

I don't know where your 9 is coming from. I've got a 9 in /etc/debian_version, but it doesn't seem to be interfering.

/etc/devuan_version says "ascii/ceres"
/etc/issue says "Devuan GNU/Linux ascii/ceres \n \l"

/etc/os-release

PRETTY_NAME="Devuan GNU/Linux ascii/ceres"
NAME="Devuan GNU/Linux"
ID=devuan
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://www.devuan.org/support/"
BUG_REPORT_URL="https://bugs.devuan.org/"

I don't know where else to look.

@fungus: I didn't edit any relase files, if that's what you were thinking. I might have added the beowulf line and not run an update until after the change.

#1995 Re: Installation » Redefine alternatives in /etc/alternatives » 2018-06-02 23:46:44

/etc/alternatives/x-terminal-emulator is not a file. It is a symbolic link to a file. The command I gave you allows you to choose which terminal to be the default. It does that by changing the target of the symbolic link.

I don't understand what you did. It sounds like you edited a file, but I don't know what file it was or what you did to it. If it saved under another name, then I suppose the original has not been changed.

You do not need to edit a file to change alternatives.

Run the command I gave you and select your favorite terminal. That one will become the default terminal.

#1996 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-02 19:52:44

You do not need to be root to use pmount.

Make sure you're a member of the plugdev group. Run groups to see what groups you're in. If plugdev is not listed, then run as root, adduser keos plugdev

Then the user must log out and log in again.

#1997 Re: Hardware & System Configuration » Problems going into another operative system. [solved] » 2018-06-02 17:52:22

There are many ways to accomplish what you want. Here's one simple way:

As root:

apt-get install pmount
echo "/dev/sda3" >> /etc/pmount.allow

As user:

pmount sda3
ls /media/sda3

If you want to unmount it,

pumount sda3

#1998 Re: Installation » Redefine alternatives in /etc/alternatives » 2018-06-02 12:40:24

update-alternatives --config x-terminal-emulator

#1999 Re: Hardware & System Configuration » Cooling down ancient laptop » 2018-06-01 12:15:33

This may or may not apply to your situation. A friend had an old hot laptop. I opened it to clean it, and I noticed that there was a copper rod heat sink that had a small contact point with the part it was cooling. It looked like it wasn't snug against the part, so I added a drop of silver paste to the contact point. That solved the problem.

A more radical approach might be to pull the guts and drop it in a vat of oil. (This is real. Look it up.)

#2000 Re: Installation » repository changed its 'Origin' value [SOLVED] » 2018-06-01 11:58:23

fungus wrote:

Why is this like de-ja-vue to me?
FSMR, are you implying those two other users are making it up?  The error messages I mean?

I'm not implying anything, and there's nothing in my posts to even remotely suggest that. Most of this thread consists of reporting and comparing observations, with documentation. This is normal problem-solving behavior. Jumping to conclusions doesn't solve anything.

jimmyjhn suggested in his last post that there was a recent change in the repo. He's right.
Here's the answer: https://dev1galaxy.org/viewtopic.php?pid=9636#p9636

as of yesterday, the "Origin:" field in the Release and InRelease
files on pkgmaster.devuan.org and deb.devuan.org has been set to
"Devuan" (it was empty before).
<snip>

I can also state that I recall someone bringing this to our attention in irc a few days ago.

Board footer

Forum Software