The officially official Devuan Forum!

You are not logged in.

#2026 Re: Installation » SOLVED - chroot live build - kernel panic » 2018-05-04 02:24:00

There's no more aufs in the kernel (4.9 or 4.14)

You may need a newer version of live-boot* and live-config*. 20170112 should work (works for me) and is in ascii.
If you have a union=aufs (or union=anything) in your boot command, remove it.

The fix in that bug report was for live-build, which is not used here.

#2027 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-05-02 11:43:51

Upload trick:

Open up some port in your router (other than 80) and direct it to the local machine that's running a web server. Put your iso somwhere under /var/www/html so it can be downloaded from a remote location.
ssh into sourceforge
wget the iso from your webserver. If the connection breaks, repeat with wget -c and it will continue where it left off.
Close the port when you're done.

#2028 Re: Desktop and Multimedia » when X is killed, lightdm restarts it [SOLVED] » 2018-05-02 11:18:03

/etc/init.d/lightdm start|stop|restart

or

service lightdm start|stop|restart

An alternate solution would be to remove the lightdm symlinks for one runlevel. Easy way: install sysv-rc-conf, run it and remove the check mark from lightdm for runlevel 3. (arrows, space bar and q to quit). Then in a root terminal, just run

init 3

to get to multi-user without graphical environment. 

To restart lightdm:

init 2

#2029 Re: Installation » SOLVED - chroot live build - kernel panic » 2018-05-02 11:11:44

cp /boot/initrd.img-4.14-whatever .
mkdir extracted
cd extracted
zcat ../initrd.img-blah  | cpio -i

Then examine the files in conf/conf.d/. Look for something that has a wrong uuid or device name.

When you install a newer kernel, it takes over the symlinks, /vmlinuz and /initrd.img, which will be used by refractasnapshot. It copies them to  work/iso/live. The usual procedure is to install the new kernel first, then remove the old kernel. There are two reasons for doing it in this order: 1. Usually, the old kernel is running when you do this, so you can't remove it until you boot into the new kernel. 2. In case the new kenel doesn't work, you can still boot the old one. Since you're doing this in a chroot, it shouldn't matter.

If you want more than one kernel in the iso, you need to copy it to the same place with a different name, and you need to make a boot entry for it. Make sure you have set save_work=yes in the config file.

#2030 Re: Other Issues » A couple of issues apt-file and sudo » 2018-05-01 11:59:21

apt-file works for me in ascii, using pkgmaster.devuan.org or deb.devuan.org.

Did you run apt-file update?

#2031 Re: Installation » SOLVED - chroot live build - kernel panic » 2018-05-01 11:49:50

What do you mean by "installed a live build from chroot"?

There's something wrong in the initrd. Is this installed on a removable drive? ? Or from a snapshot that was made on a system that has a swap partition or an encrypted partition?

Edit: If you make a snapshot of a system that has more than one kernel, you may need to copy the extra kernel and initrd to $work_dir/iso/live/, and if you want both kernels available in the live iso, they must be named differently and you must create boot menu entries for the extra kernel.

#2032 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-24 16:54:49

Thanks. I got the same plus lxpolkit. That's with task-lxde-desktop and lxqt in the list of packages to install. We must be using consolekit, since we have the -backend and -gobject that go with it. (instead of the ones that go with elogind)

I have no great revelations about this. Please report if anything doesn't work right.

#2033 Re: Other Issues » A couple of issues apt-file and sudo » 2018-04-24 12:32:47

I assume you're using jessie and using auto.mirror.devuan.org in your sources.list. Make sure you have the latest keyring installed and then switch to deb.devuan.org. apt-file should then work.

apt-get update
apt-get install devuan-keyring

# Then replace 'auto.mirror.devuan.org' with 'deb.devuan.org' in /etc/apt/sources.list

Then again:

apt-get update

To add your user to the sudo group:

adduser caluser sudo

Then log out and log in again.

#2034 Re: Devuan » ParrotSec OS, 'considered', switch to Devuan » 2018-04-24 12:25:26

Have you used {or want to} any programs yet? ...Tor, anonsurf, ...? Mine fail.

No, I didn't try anything. Did they work for you in a live session?

I had to wipe that install to make room for other stuff. I'll keep checking in on you, though.

dpkg-deb puts the package in the current directory. I just cloned the repo and ran ./installer.sh and the deb is right there in the same directory. Can't go anywhere in my browser when it's running - dns is not working. And if I try to go to a numerical IP address, I get a warning that the connection is not secure. (tested in a fresh Refracta install) Is this only supposed to work with tor browser?

Installing and using refracta tools should work ok. I did it once in the past with kali.

#2035 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-23 11:17:29

Geoff 42 wrote:

Is lxqt the way forwards? Should we be moving away from lxde?

I asked that question in irc about a year ago, and there happened to be one of the lxde devs in the channel. He said that lxde is still alive and is not going away.

I haven't tried mixing lxde and lxqt, but I'm about to. Just built a live iso with task-lxde-desktop and lxqt. There is some weirdness in the installed packages: I have both libpam-ck-connector and libpam-elogind, and you're only supposed to have one of those. Also, pam-auth-update shows both consolekit and elogind active. But I only have the libpolkits for consolekit, not elogind.

Please show me what you get for this:

for i in consolekit elogind policykit polkit libpam ; do aptitude search ~i"$i" ; done

#2036 Re: Devuan Derivatives » New, new Refracta isos » 2018-04-21 14:49:22

New amd64 iso uploaded with the right installer scripts. smile

New iso is missing /etc/default/grub. sad
You can still install it and boot, but the menu will say GNU/Linux instead of Refracta GNU/Linux.

Fix:

apt-get --reinstall install grub-efi-amd64

Also - if you have an old macbook pro that wants a 32-bit uefi bootloader with a 64-bit OS, this iso should do it. I'm not sure if grub-efi-ia32 will get installed automatically or if you need to do it manually.

If you install the package before running refractainstaller, don't let it install the bootloader. The installer should do that.
Other option is to do it in chroot from within the installer when it pauses. (There's a chroot button that opens a terminal in the chrooted system.)

#2037 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-21 12:17:25

lxde pulls in an odd combination of packages for both consolekit and elogind. All the other desktops are fine with one of those. (kde and lxqt use elogind, the others work with just consolekit.)

#2038 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-21 09:47:18

How are you running X without libsystemd0???

#2039 Re: Devuan » ParrotSec OS, 'considered', switch to Devuan » 2018-04-20 22:44:06

I was getting that error in lxde until I upgraded it today. You can probably just remove lxpolkit. You're not running the whole lxde desktop, right?

I see dbus and/or gtk errors almost every time I run any graphical program in a terminal. I ignore them if things are working.

#2040 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-20 22:37:14

Devs have been looking at this today, and the consensus is that lxde is an abomination. If you have it working, that's good. Don't look at the ugly combination of packages. Meanwhile, I'm getting ready to purge all desktop environments from all of my computers.

#2041 Re: Installation » Devuan correct installation » 2018-04-20 22:24:53

You don't need the big swap unless you're planning to hibernate.
You don't need a boot flag for linux with msdos partition table.

For gpt disk with bios boot:

You need a 1MB or greater partition with no filesystem ("unformatted" in gparted, way at the bottom of the list)
and that partition needs a bios_grub flag (EF02 in gdisk). I've been putting this partition at the end.
You'll need at least one linux-formatted partition for the operating system.
You do not need an efi partition and you don't want the esp and boot flags on the linux partition. If you happen to have a real efi partition in addition to the others, it will just sit there and do nothing until you boot in uefi mode.

If you want to dual boot gpt disk with bios, you'll need another linux partition for the second linux installation. If you don't let the second one install a bootloader, you'll need to run update-grub on the first installation to add it to the boot menu. Either linux can be in charge of booting as long as you have a menu entry for the other one. (unless you're a fan of grub command line.)

For uefi boot:

You need a fat32 partition, around 50 - 500MB, with esp and boot flags. (Hint, just check esp in gparted and boot will get checked automatically.) (Hint2: I have 3 installations on one hard drive and the 200MB efi partition has 196MB free.)
You will need at least one partition for the OS, with a linux format and no flag.

If you want to dual boot on a uefi setup, you'll need another linux partition (exactly same advice as above regarding boot menus.)
The difference here is that the you will accumulate bootloaders in the efi partition. A different one for each distribution you install. Run efibootmgr to see the boot order or to make changes. Read the man page and especially read about uefi bootloaders at rodsbooks.com
http://www.rodsbooks.com/efi-bootloaders/index.html

Edit: Ohhh... too many words up above. Read it anyway.

#1 Case: Installation for single boot 32bit or 64bit on PC doesn't need uefi, so:

Partition table: msdos

/dev/sda (mbr )
/dev/sda1 (29 Gb, formatted ext4)
/dev/sda2 (1 Gb linux-swap)

Partition table: gpt

/dev/sda1 (29 Gb, formatted ext4)
/dev/sda2 (1 Gb linux-swap)
/dev/sda3 (bios_grub flag, unformatted, 2Mb)

#2 Case: Installation for dual boot 32bit or 64bit on PC doesn't need uefi

Same as above with another linux partition. (14.5G each?)

#3 Case: Installation for single boot 64bit uefi mode

/dev/sda1 (100MB, fat32, esp and boot flags)
/dev/sda2 (29GB, ext4)
/dev/sda3 (1GB linux swap)

#4 Case: Installation for dual boot 64bit uefi mode

Same as above with another linux partition.

#2042 Re: Devuan Derivatives » New, new Refracta isos » 2018-04-19 20:21:31

OK, my mistake. I thought I fixed that error. The i386 does have the correction. I just checked.

In the amd64 iso, there's an erroneous 'fi' on line 294.
sudo nano +294 /usr/bin/refractainstaller and delete the fi. There's also one on the line above that must stay. Doesn't really matter which one goes or stays, but you need one.

or get a replacement script here:
http://termbin.com/87bh

Sorry about that.

Edit: Take the pasted replacement. There another error that would show up if you have a separate /home partition and change the username during the install.

#2043 Re: Devuan Derivatives » New, new Refracta isos » 2018-04-19 16:49:04

Catprints, please run it with 'refractainstaller -d' and save /var/log/refractainstaller_error.log. Then I can tell exactly where it failed. Thanks.

Siva, no script. I download them manually (possibly with a 'for' loop, depending on how lazy I feel). Some versions did not change between jessie and ascii, some did, and some names changed. (no more firmware-ralink).

#2044 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-19 16:42:53

Geoff 42 wrote:

The early signs are that this works ok, with the suggestion that maybe elogind doesn't work with LXDE.

When I tested two months ago, I was able to use elogind with lxde. I would try that now, except that I already wiped that lxde install. All those *kit packages just went through a lot of changes, so it might be different now.

Anyway, it sound like you fixed it. If you use consolekit or elogind, you must have the corresponding libpolkit packages with it. Those are what determines which one gets used.

This problem might now be fixed for upgrades from jessie and new installs of ascii. For upgrades from ascii to ascii, the suggested fix seems to be working.

#2045 Re: Devuan » ParrotSec OS, 'considered', switch to Devuan » 2018-04-19 14:25:13

Open a terminal, 'su' to get root, then run geany. Or nano. Or whatever you want.
Or use gksu if it's installed. If there's no root account, use gksudo. (or 'sudo -i' for a root terminal)

I never set the root editor in spacefm, but I think it's somewhere around the last tab in preferences.

#2046 Re: Devuan » ParrotSec OS, 'considered', switch to Devuan » 2018-04-19 14:21:54

No, I went through a different mess. 14GB is not big enough. During the upgrade, there were points when free space got down to 130MB. Um, no. There was a point where it got to zero. I was able to manually delete packages in /var/cache/apt/archives to make enough space to run some other commands, like 'apt-get remove libreoffice'.

Also, the upgrade took 12 hours. (OK, I slept through most of that, so it might have been shorter..)
I would recommend getting rid of mate before you upgrade. It will be messy. I installed openbox, lxpanel and lxterminal before removing mate, and I still had to reinstall xorg, xinit, xserver-xorg-video-all after removing mate.

A couple of things are broken. I have to type 'disable' during bootup. I get messages about some parrot-specific package needing attention as user, not root (inet-something). And I would guess that some other special parrot sauce is broken, too.

Anyway, once I finished the dist-upgrade, I also did an 'apt-get autoremove' and also removed systemd. I lost lightdm in the whole process, but startx works.

#2047 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-19 13:13:19

Well, I tried it, and I didn't run into any problems.

What I did:

installed to real hard drive with desktop-live-lxde iso I made a couple months ago. (task-lxde-desktop was installed)
apt-get update
apt-get upgrade
apt-get dist-upgade

I automatically got the two new libpolkit packages for consolekit (-backend and -gobject)

I'm using slim here. Did you change your display manager?

#2048 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-19 11:34:26

You should be able to have both elogind and consolekit installed. Which one is used is determined by which backend is installed. What happens (after fixing broken) if you try to install
libpolkit-backend-consolekit-1-0
libpolkit-gobject-consolekit-1-0

I think those will satisfy the deps so it won't ask for libpolkit-gobject-1-0-systemd

I can try this today. (Install lxde and then upgrade)

#2049 Re: Devuan » ParrotSec OS, 'considered', switch to Devuan » 2018-04-18 22:46:47

I was going to make it 12G, but at the last second I decided to make it 14. Good thing I did, because the install takes up 12.

Here are the rough notes:
- boot parrotsec iso
- get the refractainstaller-base deb and install it
Don't run it yet! I did, and then found out that grub is not installed in the live system. I had to boot the system from grub command line after connecting a virtual drive that had a working bootloader.

This should be easier:
There are grub debs in /lib/live/mount/medium/pool/main/g/grub2/
You need grub2-common, and you'll also need either the grub-pc* or grub-efi-amd64* packages.
You could just install them in the live session, but when it asks about where to put the bootloader, skip that part. Don't put it anywhere yet.

Edit: I'm thinking too hard. If you have a network connection in the live session just install grub-pc. (And still don't let it install the bootloader.)

Then run refractainstaller. You'll get asked where to put the bootloader, and it will get installed.

Reboot into the newly installed system.

Then apt update and install sysvinit-core (I also installed pm-utils because it was recommended. I have recommends turned off.)

Then reboot. (I had to reboot twice because of an error. Didn't write it down, sorry.)

OK, that's as far as I've gotten.

Next step is to change to beowulf repo and upgrade again.

#2050 Re: Desktop and Multimedia » [Solved?] Upgrade to remove LXDE » 2018-04-18 19:52:33

I'd try aptitude why lxde and the same with the other packages that it wants to remove. Find out what brought them in. It's probably being replaced. And it's probably related to the new versions of elogind and/or policykit-1 that were put in ascii earlier today.

You're the second one today with something like this. (Looks like a metapackage issue.)

Board footer

Forum Software