You are not logged in.
I don't know the details of how firejail works, but I understand that it limits access to the user's directories. I imagine there are ways around it, but every little hurdle will help. Pretty sure I've been using firejail ever since you (fig) told me about it. That was back on the refracta forum in a thread about Xephyr, I think.
There's also sandboxy, which I know even less about and have never tried. Has anyone here used it?
Usually, all you need to do is:
apt-get install build-essential linux-headers-$(uname -r)and you'll get the headers for the running kernel along with the build tools.
With lxqt, connman gets installed.
Just noticed something while closing tabs - you only did live-boot and live-config. You might need to add live-config-sysvinit and live-boot-initramfs-tools. I'm pretty sure you can install the newer versions without backporting them.
I think the ehci-orion message just happens to occur near the point when init tries to switch-root, and that's a common place for problems.
I can confirm that your basic procedure works. I have a new install of desktop-live on my hard drive, so I chrooted into it and started making isos. I had to do a little more, because it's an encrypted install, (remove conf/conf.d/cryptroot from initrd). Installed 4.15 from backports, did not remove 4.9, made another snapshot and it boots 4.15 normally.
Oh yeah, I had to remove intel-microcode before I could unpack and repack the initrd.
And I didn't backport anything. Just running ascii and chrooting into another ascii install. Maybe something else in jessie needs to be upgraded for this to work.
still complaining about ehci-orion not being in modules.dep
It always says that when there's a problem. Don't chase that ghost. What was in conf/conf.d/ in the initrd? That's usually where the problem is.
If the backports version doesn't work, try the ascii version. You should be able to install it in jessie. In the past (couple years ago) I used the sid version in debian jessie.
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.
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.
/etc/init.d/lightdm start|stop|restartor
service lightdm start|stop|restartAn 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 3to get to multi-user without graphical environment.
To restart lightdm:
init 2cp /boot/initrd.img-4.14-whatever .
mkdir extracted
cd extracted
zcat ../initrd.img-blah | cpio -iThen 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.
apt-file works for me in ascii, using pkgmaster.devuan.org or deb.devuan.org.
Did you run apt-file update?
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.
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.
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 updateTo add your user to the sudo group:
adduser caluser sudoThen log out and log in again.
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.
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" ; doneNew amd64 iso uploaded with the right installer scripts. ![]()
New iso is missing /etc/default/grub. ![]()
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-amd64Also - 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.)
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.)
How are you running X without libsystemd0???
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.
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.
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.
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.
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).