The officially official Devuan Forum!

You are not logged in.

#1926 Re: Off-topic » [SOLVED] refractainstaller: confused about sudo options » 2018-08-12 19:40:09

The wording in the cli installer is better than in the graphical.

	1) Disable sudo (recommended)
	2) Permit sudo for new user (and keep root account.)
	3) Use sudo as default for new user (and disable root account.)
	4) Use sudo only for shutdown (and keep root account.)

#2 and #3 put the primary user in the sudo group, so all admin commands are available.
#4 adds a file to /etc/sudoers.d/ to let the user reboot, shutdown, suspend or hibernate.

Edit: I just made a note to myself to fix the wording in the graphical installer.

#1927 Re: Devuan » new desktop-live iso » 2018-08-12 19:30:48

There is a point in the installer, right before it installs the bootloader, where you could chroot into the installed system and make changes (such as installing openrc.) I haven't tried it, but it should work.

#1928 Re: Installation » I can not install the new Devuan(2) » 2018-08-12 18:58:38

At the beginning of the install, when the installer asks if you want to use sudo or su, choose sudo, and you won't have to enter the root password to start the installation process. This only gets used to start the installer.

Later in the install, it will ask if you want to use sudo or a root account for the installed system. Choose whichever you want.

An alternate solution would be to use the command-line installer. From a root terminal, run refractainstaller
or from a user's terminal, run sudo refractainstaller

#1929 Re: Installation » Installation without Session management and policykit backends » 2018-08-12 18:51:50

Since I do not know, nor did I find anywhere else, another method to start the desktop, I wrote that the only solution possible is to modify the "xfce4-session" package.

The command you're looking for is startx. That's a generic command that will start an xsession with your default window manager. In this case, xfwm. You'd probably need to start the panel or other parts of xfce separately. I don't know exactly what limitations there would be, and I've been mostly away from the computer and unable to try it myself.

I can second the recommendation for openbox. I use it in some installations along with lxpanel. (tint2 is another popular panel.)

#1930 Re: Installation » Installation without Session management and policykit backends » 2018-08-10 00:03:24

The desktop packages I'm interested in (XFCE4) are built so that a Session manager is always installed.

You would probably have better luck if you stopped trying to install xfce4, which is a metapackage that does nothing but pull in other packages such as xfce4-session, which you do not want. Install the parts of xfce that don't pull in the session manager, as I described earlier in this thread.

#1931 Re: Installation » Latest devuan jessie update causing authentication problems » 2018-08-01 14:49:05

VH,

You need to downgrade the associated libraries, too. You can find those packages in the repo or do it as described here -
https://dev1galaxy.org/viewtopic.php?pid=11042#p11042

Note: you should probably use pkgmaster instead of packages in the links I provided. I'll go back and change the links I posted.

Edit: I previously supplied the link for one of the libraries instead of the main package.

If you're downloading the packages, select the correct version and architecture of the files in this directory. (0.105-9+devuan1)
http://pkgmaster.devuan.org/devuan/pool … licykit-1/

#1932 Re: Installation » MIYO "install" button seems to do nothing » 2018-07-31 18:07:07

Those commands for chroot don't look right. Does it really work after that?

I'd do it this way...

Boot live CD, then get a root terminal.

mount /dev/sda1 /mnt
mount -o bind /dev /mnt/dev
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
update-grub
exit

#1933 Re: Installation » Latest devuan jessie update causing authentication problems » 2018-07-31 17:04:10

The problem is that the newer version of policykit-1 has not been devuanized yet.

$ apt-cache policy policykit-1
policykit-1:
  Installed: 0.105-9+devuan1
  Candidate: 0.105-15~deb8u3

You might be able to fix it by reverting to the older versions of policykit-1 and associated libs.

dpkg -i /var/cache/apt/archives/<filename>

If you don't have a copy of the packages locally, you can download them from the repo and install with 'dpkg -i <filename>'
Select the correct version and architecture of the files in this directory. (0.105-9+devuan1)
http://pkgmaster.devuan.org/devuan/pool … licykit-1/

Edit: I filed a bug report against policykit-1 in jessie.

#1934 Re: Installation » MIYO "install" button seems to do nothing » 2018-07-31 14:52:31

Plan C. (Unless you answer "no" to any of my previous questions.)

Reinstall, and when the installer gets to the pause before it installs the bootloader, open a root terminal and run the following commands:

chroot /target
grub-install /dev/sda
update-grub
exit

Then go back to the installer window and proceed (it might say "Proceed without a bootloader" but that's ok, because you just did it manually.)

If you see a button labeled "Chroot" when the installer pauses, you can use that, and it will open a terminal in the chroot. Then you can just run the grub commands and exit.

#1935 Re: Other Issues » [SOLVED] Upgrade from Jessie to Ascii: apt thinks I'm using "testing" » 2018-07-31 14:45:38

There are new mirrors you should use. Change sg.mirror.devuan.org to deb.devuan.org (or maybe sg.deb.devuan.org) in sources.list, then update.

#1936 Re: Installation » MIYO "install" button seems to do nothing » 2018-07-31 04:51:20

Just to make sure we're all on the same page...

The live system has grub-pc installed?
Your hardware uses legacy bios and not uefi?
Your hard disk uses a dos mbr, not gpt?

I'm pretty sure from what you already said that the answer to all three questions is "yes" but I've seen grub fail with some combinations of those factors. (Also seen it fail for no apparent reason.)

#1937 Re: Installation » MIYO "install" button seems to do nothing » 2018-07-31 04:45:56

Boot from the live media (CD or USB, whatever you used for the install).
Mount your linux partition, and take a look in /home/miyo/refractainstaller_error.log. (Miyo, I'm hoping you didn't disable that.)
It might also be /var/log/refractainstaller_error.log.
And it probably won't give you any useful information in this case, but it's a good idea to check anyway.

Plan B. (The real plan)
Boot from the live media, but select 'Boot from hard disk' at the boot menu. There may be two of those, one that says 'old way'. Use whichever works. Once you boot the installed system, as root, run grub-install /dev/sda and then update-grub

The first command should install the bootloader to the mbr of the first hard disk. The second will create a boot menu.

(Note: It's also possible to boot the live system, then chroot into the installed sysem to run the grub commands. If you're already familiar with chroot, you can go ahead and do it that way.)

#1938 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2018-07-28 15:10:20

I can confirm that the live installer won't do raid. But you got me interested in what's involved in creating a raid array, and I found this howto:
https://www.digitalocean.com/community/ … untu-16-04

That guide puts the root filesystem outside the raid. You could install miyo, boot into the new system, install mdadm and then create the raid on separate disks. It looks easy. It might even be easier than figuring out how to create a raid with the standard debian-installer.

You could do the same from the live session, but you'd need enough ram to update the package cache and install mdadm. You'd also need to know which things to do in the live system and which to do in a chroot.

If you wanted the root  filesystem to be part of the raid, it might be possible to do it from the live session. You would have to install mdadm, create the raid, don't create the filesystem, use the cli installer and name /dev/md0 as the partition to use for the root filesystem. The installer would create the filesystem, mount it and copy the system to the hard drives. If you want to try this, we could discuss it in more detail in a separate thread.

Update 20 Aug 2018:
I posted some examples of installing to lvm and/or raid using refractainstaller here -
https://dev1galaxy.org/viewtopic.php?id=2323

#1939 Re: Other Issues » Devuan + paralleized OpenRC + KDE » 2018-07-24 14:21:50

Yes, either the graphical or non-graphical expert install will let you do what you want. If you select a mirror during the install, then the DVD and the netinstall isos will give you the same thing. If you have a very slow connection and cannot use a mirror, then you should use the DVD.

I find the non-graphical install easier to use than the graphical. (Easier to use the keyboard only, rather than have to keep moving between mouse and keyboard.)

The wiki is at friendsofdevuan.org. It's a work-in-progress, so it may not have what you want yet. Your suggestion is good - enough people are confused by the difference between the installer isos and the live isos, that there should be a simple explanation available. Maybe a page that has an overview of different install methods would be appropriate. (I'm talking to myself and the people who are editing the wiki.)

#1940 Re: Other Issues » Devuan + paralleized OpenRC + KDE » 2018-07-23 16:22:06

Terence wrote:

I understand, but, I'm also newbie and can tell that the only substantial difference between "Live-ISO" and "DVD-ISO" is to make a 'click' to select the "Init-System". That's much more easier than substitute the "Init-System" post-install.
...
Naturally could be a great thing if DEVs add the "Init-System" option in the Live-Iso and maybe out of the box "OpenRC" already parallelized.

The difference between the live isos and the installer isos is that the installer isos boot you into a special environment that lets you install the system from packages. Those packages can be downloaded from the repository if you choose a mirror, or they can be pulled from the removable media if you use one of the installer CD or DVD images and do not choose a mirror. The packages then are unpacked and configured.

The live isos boot you into an actual system that's almost identical to an installed system. When you install the live system to hard drive, it copies the running system from the removable media to the hard drive. No unpacking and configuring packages is needed, as that was already done by the devs (KatolaZ and me) before making the live iso.

As I mentioned above, it is possible to make a live iso that uses openrc, but there is no possibility of choosing the init system or any other software during the installation. You aren't creating a new system when you install from the live isos - you are copying a system that was already created and configured, so you get the packages that we installed to make the iso. (I hope I said that clearly enough.)

As much as I would love to provide live isos for sysvinit and openrc and all the desktops and i386 and amd64, all the combinations would be too much to maintain. Some of these combinations are provided by downstream derivative distros (like miyolinux, for example) that use only devuan repositories in their sources.list. (They are really devuan in disguise.)

#1941 Re: Installation » Installation without Session management and policykit backends » 2018-07-23 16:00:11

aptitude why elogind should tell you why it's there. I don't know if there's an apt-get equivalent (in case you don't have aptitude.)

Maybe start with installing standard system utilities, and then add these. I'm not sure if you'll need the last two, and there are other parts of xfce4 that aren't necessary, but you might want them.

xfconf xfdesktop4 xfwm4 xfce4-panel xfce4-terminal xfce4-session xfce4-power-manager

I'm also not sure if it's still the case, but you might need to manually install dbus-x11 to avoid some conflicts.

#1942 Re: Installation » Ascii upgrade messed up the devuan jessie » 2018-07-22 14:40:44

The options field in fstab should be a comma-separated list.

errors=remount -ro   should be:  errors=remount,ro

user, noauto   should be  user,noauto

Maybe those changes will fix it.

#1943 Re: Other Issues » Devuan + paralleized OpenRC + KDE » 2018-07-22 14:10:38

Parallelized refers to services starting more or less all at the same time at boot. This was supposed to be a selling point for systemd when it was introduced, based on the belief that the system would boot faster. Sysvinit and openrc normally start services one after another. In practice, which method boots faster can vary.

The installer in the live isos copies the running live system to the hard drive. Since openrc is not installed in the current live isos, it won't be installed with the system. You can add it after you reboot into the new system. If openrc becomes the default init system in devuan at some time in the future, you will get it in the live isos, and in that case, if you want sysvinit, you'd have to add it after the initial installation.

If you want to install devuan with openrc on a lot of computers, you could make your own live iso with openrc. You would install the first system with sysvinit, change it to openrc, then run refractasnapshot to make a new iso. Then, any installs you did with the new iso would have openrc right from the start. I've already tried this, and it works.

Oops! I forgot that you asked about mate - there's no mate in the live isos. You would have to add that after you install the new system. The desktop-live only has xfce.

#1945 Re: Desktop and Multimedia » Real.video What do i need to install? [SOLVED] » 2018-07-19 22:24:43

I just tried it. I started allowing javascript for several sites, went past my personal limit and then went totally crazy and turned off noscript (allowed all javascript). The noscript list of sites serving code on the page was so long, it went off-screen. That's reason enough to never go there again.

I was able to get audio, but no video. CPU temperature went up as if it had video.

I have browser-plugin-vlc and flashplugin-nonfree installed. I don't know if the flash plugin even works anymore. Last time I tried to install that for a friend, it was impossible. (It's no longer supported.)

Tested this on jessie.

#1946 Re: Hardware & System Configuration » ASCII: Can't start Xorg after system upgrade [SOLVED] » 2018-07-17 20:40:37

If you just got the kernel upgrade to 4.9.0-7, try booting the previous kernel (4.9.0-6). Maybe the nvidia packages need to catch up. If you installed from the nvidia binaries instead of from packages in the repo, reinstall/rebuild the driver.

#1947 Re: Installation » RAID array » 2018-07-16 10:34:36

The CD isos have fewer packages on them. You can install with just the first one for a small system, or you could use the additional ones for more packages. The DVD iso is a better choice.

If you select a mirror during the install, then you will essentially be doing a netinstall, and you'll get the full system. If you can do netinstall and you don't need to have the packages on a local optical disk, just get the netinstall iso.

#1948 Re: Installation » kiosk system for online banking with devuan ascii » 2018-07-16 10:26:13

grub-efi and dosfstools are only needed if you want the iso to be bootable on a uefi system. You can ignore those messages or disable them by setting make_efi=no in /etc/refractasnapshot.conf.

I/O errors suggest a hardware problem. Maybe there were errors burning the CD.

This page explains how to get the checksum from a burned CD. Replace md5sum with sha256sum if you want to compare it to the checksum in the SHA256SUMS file where you downloaded the iso.
http://www.brunolinux.com/01-First_Thin … d_CDs.html

#1949 Re: Installation » RAID array » 2018-07-16 10:11:42

You access the debian (devuan) installer by booting one of the installer isos. The live isos use refractainstaller, which won't do raid or lvm. You want one of these:
https://files.roundr.devuan.org/devuan_ … aller-iso/

#1950 Re: Hardware & System Configuration » libpng12-0 Multiarch » 2018-07-14 22:11:26

Update:  I now know how to get the i386 package on my amd64 system.

Check to see if multiarch is enabled. I already had the multiarch package installed, but this gave me no output the first time..

dpkg --print-foreign-architectures   # 

Enable multiarch:

dpkg --add-architecture i386
apt-get update
$ dpkg --print-foreign-architectures
i386

Get the package:

apt-get download libpng12-0:i386

gives me libpng12-0_1.2.50-2+deb8u3_i386.deb

Board footer

Forum Software