The officially official Devuan Forum!

You are not logged in.

#2126 Re: Other Issues » openSUSE Leap 42.3 kernel panic after installing grub » 2018-02-01 23:34:39

Where is suse installed, and what does the grub.cfg entry for suse look like? Did you try what I suggested in my last post on that other thread? (i.e. try booting suse from grub command-line.)

#2127 Re: Installation » Ryzen only old kernel boots » 2018-02-01 18:50:15

Ryzen needs kernel 4.10 or newer. You can get 4.14 from ascii-backports. But I'm confused about what you actually did. Did you upgrade your cpu on an existing installation?

#2128 Re: Devuan » Discussion About - Software should be came by Default » 2018-01-29 14:34:47

I agree that it would be helpful to have synaptic installed by default. From there, you can add whatever else you need without having to go to command line. If you want that whole list included, then what you're really asking for is a DVD, not a CD. All of that will not fit on a CD. Firefox-esr is on the CD and so is firmware. You can install those pretty easily. Mount your usb to /media/cdrom so that apt can find it. Then apt-get install firefox-esr firmware-<whatever>

Of course, if you use a third-party, unsupported usb writer, you're on your own. I don't know what rufus does. Since it uses fat32, I assume it works somewhat like refracta2usb, which you also could use to make the installer usb, and with which you would also have run into serious problems.

The recommended method is to use dd, cp or cat to image the usb. If that didn't work for you, it might make sense to figure out why and correct the situation. And if you do it that way, you will see the nice purple grub background when you boot the installer.

But I will say that your timing is good. Installer isos for ascii are coming soon, and we can look at the package selection for the CD and make some changes (I hope.) I had not looked at the package list for the CD in many months, and I forgot that synaptic is not on the CD at all.

Extlinux (syslinux) works well and is easy to configure. I posted a howto in the Documentation section a few months ago. It's easy to switch back and forth between extlinux and grub, in case you try it and don't like it.

One more thing - it would be better if you did not ask the same questions in multiple threads. Now the information is scattered all over the forum.

#2129 Re: Installation » pkgmaster is repository hell » 2018-01-28 20:25:57

Well, I got it to work last night with some help from Blinkdog. I had to drop the s from https. This works:

deb http://pkgmaster.devuan.org/merged

It works with jessie and with ascii.,  In ascii, I compared it to using the https repo (non-tor) and they both wanted to upgrade the same packages. I will keep an eye on it.

Cynwulf, Fungus asked me to let you know that he is unable to reply at this time.

#2130 Re: Installation » Rufus + Installer ISO + Dunnos/Request for next iso » 2018-01-28 19:47:32

The default network manager is wicd.

If you want a complete desktop, and you don't want to use a network mirror, use the DVD instead of the CD, and you won't be missing so much.
What's the full name of the iso you used?

The firmware directory contains symbolic links so that they are easily found and at the same time are in their proper place in pool without having two copies on the media.

Virtualbox is in the jessie repo. You need to add contrib to your sources.
Mugshot is in the repo.
I didn't check the others you were looking for.

#2131 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-28 01:02:43

The warning about the physical boundary should not be a problem. But I think you should be using grub-pc (grub2). I don't think grub-legacy can handle ext4 partitions.

#2132 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-27 20:52:33

Cool! We're almost there.

Here's my quick summary of the situation.
- You can boot from the mint grub if you specify root=uuid.
- The resume file contains a valid uuid for your swap partition, and boot isn't hanging with a message about not being able to find some uuid that doesn't exist.
- We don't know Who's on first base.

What I would do first is boot into devuan the way you did.

- Run 'fdisk -l' to see if devuan is on /dev/sdd1 today. If it is, run

grub-install /dev/sdd

and if it's not on sdd, then use whatever it's calling itself. (whole drive, not partition)

- Reboot and press whatever key gets you the boot device menu. Might be F8 or F12, might be ESC or something else. It should tell you on screen before you get to the grub menu. When you get there, choose the drive with devuan on it. That will temporarily make it the first drive, and you should get to devuan's grub menu. Boot the first option (Devuan) to make sure it really works.

This should all work perfectly, and it will show you that devuan can boot itself from the first hard disk.

Next step - I give you special powers to turn you into a super-gnuru.

Reboot, do not go to the boot device menu. Just go to the mint grub menu.
Press "c"
You will get a prompt that says:   grub>

Type the following, and then press TAB a couple of times.

set root=(hd0

You'll get a list of partitions. You should be able to figure out which disk grub is calling hd0.
Erase the 0 and replace it with 1. Press TAB a couple of times. Repeat with 2 and 3.

Once you figure out what mint's grub wants to call the disk with devuan on it, enter the following commands. We expect it to be (hd3,msdos1) but it probably won't be. I'll just use that for the example, but you should use what you find.

set root=(hd3,msdos1)
linux /vmlinuz ro root=/dev/sdd1   #change this to wherever it is according to the previous command.
initrd /initrd.img
boot

It should boot into devuan.

If you want a menu entry for devuan in the mint boot menu (one that works, I mean) you can create a custom one.

Boot mint.
Edit /etc/grub.d/40_custom and add

menuentry 'Devuan on sdd1' {
  set root=(hd3,msdos1)  # or wherever it is
  linux /vmlinuz ro root=/dev/sdd1  # or use the root=uuid here
  initrd /initrd.img
}

Save the file and run update-grub. It will be added to mint's boot menu.

That's all.

#2133 Re: Installation » pkgmaster is repository hell » 2018-01-27 16:23:28

As I understand it, the thing that prevents you from installing rogue packages is the signing key. It shouldn't matter if the package comes in an envelope or on a postcard. The key has to fit.

Https will prevent your ISP, government and other snoops from knowing what packages you install.
Tor will prevent them from even knowing that you're connecting to a devuan server and also prevent the devuan server from knowing where you are.

Anyway, here are some test results.

Plain http:

deb http://pkgmaster.devuan.org/merged ascii main
deb http://pkgmaster.devuan.org/merged ascii-updates main
deb http://pkgmaster.devuan.org/merged ascii-security main
apt-get dist-upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  libseccomp2 tor tor-geoipdb torsocks
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
  curl dbus dbus-x11 firefox-esr libcolord2 libcurl3 libcurl3-gnutls
  libdbus-1-3 libdns-export162 libisc-export160 libpoppler-qt5-1 libpoppler64
  poppler-utils refractainstaller-base tasksel tasksel-data
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Installed apt-transport-https and edited sources.list:

deb https://pkgmaster.devuan.org/merged ascii main
deb https://pkgmaster.devuan.org/merged ascii-updates main
deb https://pkgmaster.devuan.org/merged ascii-security main
apt-get update
apt-get dist-upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
  libseccomp2 tor tor-geoipdb torsocks
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
  curl dbus dbus-x11 firefox-esr libcolord2 libcurl3 libcurl3-gnutls
  libdbus-1-3 libdns-export162 libisc-export160 libpoppler-qt5-1 libpoppler64
  poppler-utils refractainstaller-base tasksel tasksel-data
16 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I tee'd the output of both commands above to files and ran a diff on the files. They were identical.

Installed apt-transport-tor and edited sources.list:

deb tor+https://devuanfwojg73k6r.onion/merged ascii main
deb tor+https://devuanfwojg73k6r.onion/merged ascii-updates  main
deb tor+https://devuanfwojg73k6r.onion/merged ascii-security main
apt-get update
Err:1 tor+https://devuanfwojg73k6r.onion/merged ascii InRelease
  Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
Err:2 tor+https://devuanfwojg73k6r.onion/merged ascii-updates InRelease
  Can't complete SOCKS5 connection to 0.0.0.0:0. (1)
Err:3 tor+https://devuanfwojg73k6r.onion/merged ascii-security InRelease
  Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
Reading package lists... Done
W: Failed to fetch tor+https://devuanfwojg73k6r.onion/merged/dists/ascii/InRelease  Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
W: Failed to fetch tor+https://devuanfwojg73k6r.onion/merged/dists/ascii-updates/InRelease  Can't complete SOCKS5 connection to 0.0.0.0:0. (1)
W: Failed to fetch tor+https://devuanfwojg73k6r.onion/merged/dists/ascii-security/InRelease  Can't complete SOCKS5 connection to 0.0.0.0:0. (5)
W: Some index files failed to download. They have been ignored, or old ones used instead.

I guess I did that wrong.

root@testascii:/home/user# torsocks --shell
/usr/bin/torsocks: New torified shell coming right up...
root@testascii:/home/user# apt-get update
0% [Working]1517069573 WARNING torsocks[7635]: [connect] Connection to a local address are denied since it might be a TCP DNS query to a local DNS server. Rejecting it for safety reasons. (in tsocks_connect() at connect.c:192)
Err:1 tor+https://devuanfwojg73k6r.onion/merged ascii InRelease
  FailReason: ConnectionRefused
0% [Working]1517069573 WARNING torsocks[7635]: [connect] Connection to a local address are denied since it might be a TCP DNS query to a local DNS server. Rejecting it for safety reasons. (in tsocks_connect() at connect.c:192)
Err:2 tor+https://devuanfwojg73k6r.onion/merged ascii-updates InRelease
  FailReason: ConnectionRefused
0% [Working]1517069573 WARNING torsocks[7635]: [connect] Connection to a local address are denied since it might be a TCP DNS query to a local DNS server. Rejecting it for safety reasons. (in tsocks_connect() at connect.c:192)
Err:3 tor+https://devuanfwojg73k6r.onion/merged ascii-security InRelease
  FailReason: ConnectionRefused
Reading package lists... Done
W: Failed to fetch tor+https://devuanfwojg73k6r.onion/merged/dists/ascii/InRelease  FailReason: ConnectionRefused
W: Failed to fetch tor+https://devuanfwojg73k6r.onion/merged/dists/ascii-updates/InRelease  FailReason: ConnectionRefused
W: Failed to fetch tor+https://devuanfwojg73k6r.onion/merged/dists/ascii-security/InRelease  FailReason: ConnectionRefused
W: Some index files failed to download. They have been ignored, or old ones used instead.

That didn't work, either. What am I doing wrong?

#2134 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-27 15:33:58

Welcome to grub hell. GRUB and the kernel don't always agree on what is the first disk.I need to reply a few posts back before I even think about your last post.

cat /conf/conf.d/resume would give the error you got. Are you sure you didn't use a leading slash?

If you're in the extracted directory, cat conf/conf.d/resume should output the same line that's in /etc/initramfs-tools/resume and that should be your swap partition's uuid. It gets used when you return from hibernation to disk.

OK, back to the immediate problem. Do you change the order of the disks when you boot the diffrerent systems? That could be done by going into the bios and changing the hard disk order or by calling up the boot device menu and selecting different disks before the grub menu comes up.

Are you booting from usb on any of these occasions? GRUB will probably see the usb as hd0 when you do, and all the internal disks get bumped up one number.

As I understand it, right now you are using mint's grub to boot devuan. If you want to get rid of mint, you'll need to use devuan's grub to boot. Are you going to change the order of the hard disks when you do?

I'm posting this now, before I tell you to do something wrong.

#2135 Re: Devuan Derivatives » Vuu-do and Miyo why isn't Alt-f Alt-e not working? » 2018-01-27 02:59:09

Greenjeans, yes your changes will make the cut, but they are at the bottom of the list. I haven't even started on the new gui scripts. Still working on cli refractainstaller. The new version (9.3.3-1 I think) is in the ascii repo, and it fixes a couple of bugs. If you're already using 9.3.3 downloaded from sourceforge, you have those fixes already. (especially the one that let you finish the install without choosing a place for the bootloader.)

There's a newer version in the works, but I moved so much stuff around, it needs a lot of testing. It's also getting translated to German. That one will allow gpt partition tables with bios boot. (i.e. it will remind you what special things you need to do to avoid grub failing without telling you those things.) I'll probably put it in a package soon so I can get some of you guys to test it.

#2136 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-27 02:40:11

Edit: This should be first. When you get to
'[     9.003419] IPV6: ADDRCONF (NETDEV_CHANGE): eth0: link becomes ready"
Press ENTER to see if you get a command prompt, or press alt-F2 to see if you get a console login screen.

OK, that's the end of the edit. Original message is below.
-------

devuan_dk_fan wrote:
conf/conf.d/resume

To see what's inside resume, you'll need to extract the initrd. You can do this as ordinary user.

mkdir extracted
zcat /boot/initrd.img-3.16.0-4-amd64 | cpio -i
cat conf/conf.d/resume

It might contain a reference to a wrong or non-existent partition.

If you change or remove that file to make a modified initrd, repack it (as user)

find . -print0 | cpio -0 -H newc -o | gzip -c > ../custom-initrd

You'll have a file named custom-initrd in the directory above extracted.

Then make a backup copy of the existing initrd and copy the new one into place. (su to root or use sudo)

cp /boot/initrd.img-3.16.0-4-amd64 /boot/initrd.img-3.16.0-4-amd64.bak
cp ../custom-initrd /boot/initrd.img-3.16.0-4-amd64

Cross fingers and reboot.

#2137 Re: Desktop and Multimedia » New Devuan Trinity install on laptop - need MuseScore to work. » 2018-01-27 01:07:08

Pulseaudio probably works as well with TDE as it does with anything else. Many people will tell you that it doesn't work anywhere. If you don't want to install pulseaudio, you can install apulse. The version in the experimental repo works in jessie. But before you do that, does sound work at all?

Add this line to /etc/apt/sources.list

deb http://auto.mirror.devuan.org/devuan experimental main

Then

apt-get update
apt-get -t experimental install apulse
apulse ./MuseScore-2.1-x86_64.AppImage

When you're done, comment out the line for experimental (not really required, but it's a good idea) and then 'apt-get update' again.

MuseScore works with apulse on my jessie/xfce. (Pretty cool app. Thanks for mentioning it.) It also works with kde5 on ascii with pulseaudio with no configuration needed. It's been a long time since I've used kde, so I don't really remember much about the sound settings.

#2138 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-26 21:51:14

As suggested by update-initramfs, run grep -r MODULES /etc/initramfs-tools/ to make sure one of the files in that directory contains "MODULES=most". (probably initramfs.conf. That's where it is on my jessie.)

It's probably not anything to do with usb. Those error messages seem to come up a lot when the initrd fails right before it switches root.

Try lsinitramfs /boot/initrd.img-3.16.0-4-amd64 | grep resume Check to see there is a file, conf/conf.d/resume. I've seen similar problems when that file contains a uuid that no longer exsits.

FWIW, I use the following commands for chroot (where ${chroot_dir} is wherever you mount the partition):

mount --bind /sys ${chroot_dir}/sys
mount --bind /proc ${chroot_dir}/proc
mount --bind /dev ${chroot_dir}/dev
mount --bind /dev/pts ${chroot_dir}/dev/pts

#2139 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-25 15:55:55

Those look like the kinds of errors I've seen when trying to boot the wrong partition. Try poking around in grub, and maybe you can boot it manually and figure out what's going on.

https://www.linux.com/learn/how-rescue- … ub-2-Linux

#2140 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-24 16:27:13

Now that IS weird. I don't know how you could install systemd (or even get a broken symlink to systemd) in devuan. Is there a /lib/systemd/systemd on /dev/sdd1? You're sure you were looking at the mounted sdd1? (have to ask that) Leaving swap unformatted shouldn't affect that. If you know how to boot from grub command line, that might be useful for diagnosing the problem, in case the problem is related to the disk order changing.

linux-image-amd64 is a metapackage that will always give you the newest kernel for the release. Until recently, that would have been linux-image-3.16.0-4-amd64. The kernel with the patch for meltdown is linux-image-3.16.0-5-amd64. You probably want that one, but don't expect it to fix the current problem.

FWIW, I installed kde5 in ascii last week, and it seemed to be working fine. I haven't played with it much.

#2141 Re: Other Issues » Vanilla KDE Jessie Devuan system prompts for USB pen drives. » 2018-01-24 03:42:28

Looks like you're booting the wrong system. There's no 4.10 kernel in jessie or in any devuan or debian repo right now. Run blkid and compare the uuids to what is in grub.cfg to make sure they are correct. It's also possible that grub and the kernel don't agree on the disk order.

#2142 Re: Devuan Derivatives » Vuu-do and Miyo why isn't Alt-f Alt-e not working? » 2018-01-23 14:21:42

The locale, tzdata and keyboard selection pieces that run in pre-install are just the debconf dialogs you get when you run 'dpkg-reconfigure locales' and so on. The one for keyboard is 'dpkg-reconfigure keyboard-configuration'. At least that's what I assume you're talking about. I thought I had turned that off, but maybe I remember turning it on. I usually skip all those pre-install scripts. (You can mess with them or add your own scripts in /usr/lib/refractainstaller/pre-install/)

#2143 Re: Devuan Derivatives » Vuu-do and Miyo why isn't Alt-f Alt-e not working? » 2018-01-23 12:54:26

I just tested it in my openbox (ascii) with geany, and those key combinations work. I did not do anything to configure them, and the only changes in my rc.xml are for Alt-F2 to execute 'lxpanelctl run' and for left mouse click not to unshade a window. No idea where you'd look.

#2144 Re: Installation » Cannot switch to text console on a freshly installed Devuan system » 2018-01-22 19:28:54

Make sure you have consolekit, libpam-ck-connector and policykit-1 installed. Any of those missing has been a source of authentication problems for others. Maybe look at some of the discussions about mate on this forum. I don't know if anyone else has had this problem. (Usual problems are with shutdown/reboot and mounting removable media.)

#2145 Re: Installation » Cannot switch to text console on a freshly installed Devuan system » 2018-01-22 12:39:07

Not a problem here. I can get to tty1-6 from the login screen or from the desktop. Say a little more about how and what you installed. Full desktop? Minimal install and then added stuff?

Is there some other key you need to press to get the function keys to work on this laptop?

#2146 Re: Other Issues » booting Jessie: File system check failed. » 2018-01-22 11:05:39

I installed grub from CentOS, Debian 8, Devuan, Fedora

I tried run openSUSE after every grub installation in each distribution.

This is a confused mess to begin with. It won't help if you keep installing grub from different distros. Have you been closely examining and comparing the grub.cfg files from each distro every time you run grub-install? How can you keep track of what you're doing?

Pick one disto to be in charge of grub. Then see which ones you can boot from that menu. If any don't work, try starting them from grub command line. It might be that one or more installations is not where you think it is or not where grub thinks it is. https://www.linux.com/learn/how-rescue- … ub-2-Linux

#2147 Re: Devuan Derivatives » [Solved] [MiYoLinux] Error updating Ascii version: libeudev1 conflict » 2018-01-21 20:10:03

@miyolinux

The Miyo-XTRA-ascii isos from October have an older version of eudev which has a higher epoch number than the current version. This causes problems on upgrade. You should make new isos when you get a chance.

#2148 Re: Devuan Derivatives » [Solved] [MiYoLinux] Error updating Ascii version: libeudev1 conflict » 2018-01-21 19:07:25

With this in /etc/apt/sources.list

deb http://pkgmaster.devuan.org/merged ascii main
deb http://pkgmaster.devuan.org/merged ascii-security main
deb http://pkgmaster.devuan.org/merged ascii-updates main

I think this was missing, so you couldn't see the version. I had the same problem when I tried to download it today. I got it after updating the package cache.

apt-get update

You might be able to install them with apt-get. If not, download the packages and install with dpkg --force-downgrade -i *.deb.

apt-cache policy libeudev1 libudev1
libeudev1:
  Installed: 3.2.2-9
  Candidate: 3.2.2-9
  Version table:
 *** 3.2.2-9 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
libudev1:
  Installed: 1:3.2.2+devuan2.10
  Candidate: 1:3.2.2+devuan2.10
  Version table:
 *** 1:3.2.2+devuan2.10 500
        500 http://pkgmaster.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
     215-17+deb8u7 500
        500 http://pkgmaster.devuan.org/merged jessie/main amd64 Packages
user@snapshot-ascii:~$ apt-get download libeudev1 libudev1
Get:1 http://pkgmaster.devuan.org/merged ascii/main amd64 libeudev1 amd64 3.2.2-9 [92.3 kB]
Get:2 http://pkgmaster.devuan.org/merged ascii/main amd64 libudev1 amd64 1:3.2.2+devuan2.10 [2,092 B]
Fetched 94.4 kB in 0s (110 kB/s)
user@snapshot-ascii:~$ ls lib*
libeudev1_3.2.2-9_amd64.deb  libudev1_1%3a3.2.2+devuan2.10_amd64.deb

#2149 Re: Other Issues » booting Jessie: File system check failed. » 2018-01-21 14:36:48

So, whichever one ran grub-install last should be the one in charge of booting. And update-grub (or whatever command generates a new boot menu on that installation) should include an entry for each installation on that machine. Right now, which system is listed first, and will it boot?

If you can boot into devuan enough to run root commands, or if you can chroot into it, you might try the following. I can't tell if this is what you need for sure, but there's at least a small chance it will fix the problem with devuan.

apt-get remove live-tools
CRYPTSETUP=y update-initramfs -u (and maybe -k <kernel> if you want to be specific)

#2150 Re: Devuan Derivatives » [Solved] [MiYoLinux] Error updating Ascii version: libeudev1 conflict » 2018-01-21 11:04:44

apt-get install eudev=3.2.2-9 libeudev1=3.2.2-9

You may get a warning that you are downgrading. Proceed. You are "downgrading" to a newer version that has a smaller version number.

Board footer

Forum Software