libera/#devuan/ Monday, 2019-11-11

agrisHow can I install beowulf from the 2.1 netinst cd?03:23
agriscan I edit /etc/apt/sources.list on the 2.1 ascii netinst cd and do a manual bootstrap?03:23
agrisdebootstrap03:24
agrisI'm attemping to do a OpenZFS .8 rootfs03:24
agrishttps://github.com/zfsonlinux/zfs/wiki/Debian-Buster-Root-on-ZFS03:24
agrisis it possible to install beowulf from a ascii minimal-live ot netsint/05:37
agrishuh05:38
agristhat's trange05:38
agrisDevuan Beowulf zfs-dkms is 0.7 while Debian buster is zfs-dkms 0.805:39
yetibuster has 0.7.12-2+deb10u105:44
yeti0.8.2-2~bpo10+1 is in buster's backports05:44
yetibeowulf may still not have the backports sorted...05:45
yetior has it now? then I need to update 10 or so [sources.list]s05:46
golinuxBeowulf won;t have backports until it is released05:51
golinuxWhen it becomes "stable"05:52
yeti:-D05:57
agrishuh06:23
agrisdevuan_ascii_2.1_amd64_minimal-live.iso doe not appear to be bootable via BIOS or UEFI06:23
agrisI was having trouble with my Dell PowerEdge but I've now been trying to get the thing working with QEMU06:24
agrisdevuan_ascii_2.1_amd64_minimal-live.iso does not appear to actually be a bootable medium06:24
agriscan anyone else confirm this?06:24
agrisyeti, if that's the case https://pkginfo.devuan.org/cgi-bin/d1pkgweb-query?search=zfs&release=any may not be up to date06:25
agris wait nvm on the bootableness06:35
agrisI think i'm just having a streak of bad luck06:36
agrisapparently the order things are specified in qemu actually matters07:12
agrisand idk what the hell's wrong with my server. maybe a bad cd burn07:12
agriswow07:41
agrisI can not seem to get qemu to work reliably07:41
agrisif I so much as change the order in which cdrom or -m is specified the system refused to boot07:41
agrisI"m so confused07:41
agrisholy crap08:08
agrisam I crazy? I can not seem to get qemu to freakin work!08:08
agrismachine type does not support if=scsi,bus=0,unit=008:08
agrishow can a X86 machine not support scsi08:09
agriswtf08:09
agrissnf why is it ignoring -smp 408:09
agris-cdrom doesn't seem to work either08:09
agrisascii doesn't recognize virtio disks08:09
yeti-drive file=vda.qcow2,if=virtio08:10
agrisyeti, yeah, disks don't show up in ascii with virtio08:11
agrishttp://dpaste.com/1THWF0S08:11
yetiI installed from netinstall and it works08:11
yetiI never used the other devuan ISOs08:12
yetiso they may havw glitches no yeti has ever seen before08:12
yetior so...08:12
agrisso08:12
agrissystem works with just qemu-system-x86_64 -cdrom devuan.iso08:13
agrisbut as soon as you try and start specifying other drives qemu seems to just do whatever it wants08:13
yetievery time qemu did not do what I expected, it was PEBCAK08:13
yetimaybe I'm just lucky08:14
* yeti should by some lottery tickets08:14
yetibUy08:14
yetiqemu-system-x86_64 -name devuan2-amd64 -enable-kvm -smp 2 -m 2048 -device virtio-net,netdev=vmnic -netdev user,id=vmnic,hostfwd=tcp::20264-:22 -drive file=vda.qcow2,if=virtio -vga virtio08:20
yetiintentionally no sound...08:20
yetimaybe someone knows more qemu magic08:21
yetithen I'm all ears too08:21
yetiI add -cdrom ... or other options as needed... the startscript has "$@" to catch them08:21
yetihostfwd=tcp::20264-:22 is for redirecting ssh08:22
yetiinto the VM08:22
rrqsound needs an env var setting plus a parameter.. as in: QEMU_AUDIO_DRV=alsa qemu-system-x86_64 -soundhw ac97 ...08:22
yetior -soundhw all08:23
yetiif lazy08:23
rrqsure08:23
rrqand "-serial mon:stdio -echr 0x1c" is useful esp if you start a getty on ttyS0  (the -echr is for having ^\ rather than ^A as wemu meta character)08:28
agrisah yes10:19
agrisfinnaly got things working10:19
agrisI had to emulate a megaraid sas controller, put it in SATA compatibility mode, and attach my virtual disks to that10:19
agrishuh10:39
agrisI tried to install zfsutils-linux/stable-backports10:39
agris zfsutils-linux : Conflicts: insserv (< 1.18) but 1.14.0-5.4+b1 is to be installed10:40
agrisShouldn't I be using the same userspace tools as the kernel module version10:40
agris?10:40
agrisor is there a way to bypass the insserv conflict?10:41
agriscrap10:41
agrisThis is broken10:41
agriscannot create 'bpool': invalid feature 'userobj_accounting'10:41
agrisif somebody could double check this but the zfs userspace utils for ascii-backports can't actually be installed in ascii10:44
agrisand yeah10:49
agristhe minimal love is not UEFI10:49
agrisbios only10:49
agrisI'm going to try to dist-upgrade the minimal live and install beowulf manually from ram10:51
agrisdamn11:05
agrisbeowulf's backports aren't built until it's stable11:06
agristhis isn't going to work11:10
agriskernel version conflict11:10
agriscan't boot into a new kernel without wiping my ramdisk11:10
gnarfacewhat are you trying to do now?  in theory you could load the new kernel with kexec11:13
agrisgnarface, I'm just trying to install Devuan with a recent version of ZFS11:13
agrisgnarface, I can't use ASCII because the backported userspace tools can't be installed due to a dpkg conflict11:14
agrisand I can't build the beowulf kernel modules without booting into the beowulf kernel11:14
agrisI can't reboot into the beowulf kernel because my entire beowulf install is only inside the ramdisk. cycling the power will wipe the ramdisk11:15
gnarfaceright11:15
gnarfacemaybe kexec could help11:15
gnarfacenot sure11:15
agrisgnarface, I've never had a successful kexec. It's always just crashed the system in my past experiences using it11:16
agrisbut Ii'm willing to try11:16
agrisIs there a Devuan-specific way to kexec the new kernel?11:16
gnarfaceeh, i can't help you with it unfortunately, i don't know11:16
gnarfacewhy is the beowulf install only in a ramdisk?  not enough harddrive space?11:17
agrisgnarface, because I'm trying to install Devuan to a zfs root11:18
agrisand I'm booted into the minimal live iso11:19
agriswhich btw only works in BIOS mode11:19
gnarfaceyea, but... do you not have any spare drive space?11:19
gnarfaceusing the minimal iso shouldn't preclude using it11:19
agrisI do11:19
agrisI think I broke Devuan anyways11:20
agrisI installed 4.9 headers in beowulf from ascii11:20
gnarfacewell, that's possible... you really shouldn't be having ascii-backports complaints about ascii...11:20
agrisgnarface, what do you mean?11:20
gnarfaceyou said you had a package conflict and something from ascii-backports couldn't be installed in ascii.  you said that right?  that should never be the case unless you made a mistake *before* that11:21
agrisif that's the case maybe the backported package had a major bug and Ii'm the first person to install it11:21
agrisgnarface, no when I was having that issue I didn't screw the system up at that point11:21
gnarfaceyou could be right, it's just highly unlikely11:22
agriszfsutils-linux from ascii-backports11:22
agrisconflicts with ascii's insserv11:22
gnarfaceyou sure that's actually ascii's insserv?11:23
agrisyes11:23
gnarfaceyou might have accidentally got the beowulf, don't you think?  did you check the version?11:23
agrisyes, look for yourself https://pkginfo.devuan.org/stage/ascii/ascii/insserv_1.14.0-5.4+b1.html11:24
gnarfacewell, linking me that doesn't prove that's the version you have installed, but i'll take your word for it11:24
gnarfacei assume you're capable of actually checking, i just wanted to make sure you thought of it11:24
agris> zfsutils-linux : Conflicts: insserv (< 1.18) but 1.14.0-5.4+b1 is to be installed11:25
agristhat does11:25
gnarfaceoh hmm11:26
gnarfacecould it want insserv from backports too?11:26
gnarfacecheck to see11:26
agristhere is no insserv from backports11:26
gnarfacehuh11:27
gnarfacethat does seem like a mistake then11:27
agrismy guess is that since insserv seems to be related to init scripts11:28
agrisand Debian....well you know11:28
rrqagris: is that ascii-backports/contrib or ascii-backports/main ?11:32
agrisrrq, ZFS stuff is from contrib11:32
agrisinsserv is main11:33
rrqright. yes I can repeat the problem.11:34
gnarfacerrq: are you also not seeing a newer insserv in ascii-backports?11:35
rrqcorrect. next one is beowulf (and buster) 1.18.0-211:36
rrqthere is however a zfs-util in ascii-bacports/main as well11:36
rrqzfsutils-linux11:36
rrqthe contrib one is 0.7.12-2+deb10u1~bpo9+1 and the main one is (merely) 0.7.3-3+devuan111:37
agrisif this is an actual issue and one related to init would it not make sense to make the ascii backport based on 0.8 rather than 0.711:42
agris?11:42
agrisI'm not really sure why the userspace tools even depend on insserv in the first place11:46
agrisseems like fixing it may be as simple as removing that as a dependency in dpkg11:46
agrisshould just provide /sbin/zpool and /sbin/zfs11:47
gnarfaceit does seem like maybe either the package needs to simply have the version requirement lowered, or there is something deeper wrong...11:52
GyrosGeier10:19 < agris> I had to emulate a megaraid sas controller, put it in SATA compatibility mode, and attach my virtual disks to that12:06
GyrosGeierany particular reason you're not simply using virtio-disk?12:06
GyrosGeierthese just show up as a single PCI device AFAIK12:07
agrisit doesn't show up in the OS installer12:07
GyrosGeierah12:07
GyrosGeierwait12:08
GyrosGeierthe Devuan installer ISO should certainly recognize virtio disks12:08
GyrosGeierthat driver has been in the kernel for ages12:08
GyrosGeier"-drive file=/dev/darine/jenkins,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1"12:10
GyrosGeierthat is what libvirt generated for a virtual disk in my Jenkins box12:11
agristhat's ok it's not something i want to troubleshoot right now12:14
GyrosGeiervirtio is likely to be faster tho12:14
GyrosGeierespecially if you also use memballoon12:15
rrqagris: fwiw, zfsutils-linux from ascii-backports main (0.7.3-3+devuan1) installs without issue. the other one is a "plain" buster version, and presumably/obviously it needs some hands-on for devuan ascii13:07
rrqor, since you might be on the ledge already: you could look at installing 0.8.2-3 from unstable (contrib & main)13:16
fsmithredagris, have you talked with mason in #devuan-dev about zfs? He was working on an encrypted zfs-root install back in Sep/Oct.13:27
agrisno13:27
agrisisn't encrypted zfs datasets only supported in .8?13:27
fsmithred#devuan-dev.log:Oct 01 12:05:51 <mason>Alright, the zfs-initramfs internal docs are wrong, and walking through the code has made everything fairly straightforward.13:29
fsmithredI know nothing of what is in which version13:29
fsmithredI think maybe he was working with a newer version13:30
devuanusing9Devuan keyring, some keys are expired, what to do?14:01
fsmithredwhat keys are expired?14:05
devuanusing9fsmithred: your key is expired, in the gpg file at files.devuan.org14:14
devuanusing9In the mirror https://mirror.leaseweb.com/devuan/ the same problem happens14:15
fsmithreddevuanusing9, I just updated it recently.14:18
devuanusing9fsmithred: the expiration key is october 2018, is that correct?14:19
devuanusing9the expiration date sorry14:19
fsmithred4096R/094C5620 2017-10-07 [expires: 2021-09-20]14:19
devuanusing9where can I find the updated key?14:19
fsmithredmaybe you need to refresh14:19
fsmithredyou're running gpg on your system to check this?14:20
devuanusing9yes, but on a clean installation14:20
devuanusing9so I just downloaded the file in files.devuan.org14:20
fsmithredtry gpg --refresh-keys14:20
devuanusing9pub   rsa4096 2017-10-07 [SC] [expired: 2018-10-07] 67F5013216271E85C251E480A73823D3094C562014:20
devuanusing9uid           [ expired] fsmithred (aka fsr) <fsmithred@gmail.com>14:20
fsmithredyou get that after refreshing?14:21
devuanusing9no, after refreshing, it revoked one of the keys14:21
devuanusing9but the other continues with the old expiration14:22
fsmithredoh, maybe we need to refresh on the server14:22
devuanusing9ok14:22
devuanusing9how long will it take more or less?14:23
fsmithredrrq, are you still awake?14:23
fsmithreddepends on how brave and daring I am14:23
devuanusing9ok, ok14:23
devuanusing9do you know any other server where I can download the updated key? pgp.mit.edu seems unresponsive when I search your nick14:23
fsmithreddamn, that's the keyserver I use14:24
fsmithredI pushed the update more than a month ago, so it should have propagated to other keyservers14:25
devuanusing9fsmithred: it's odd, because in the devuan-devs.pgp file , updated 13 Oct 2019, the key it contains is the expired one14:26
devuanusing9devuan-devs.gpg14:27
devuanusing9sha256sum: 5ae0c9c14b0e906a75546c4f4dd9885af07a97d6dc370a55c735f069f89d8c9714:27
fsmithreddevuanusing9, it may take a day to get this sorted out because of times zones and sleep cycles.14:34
fsmithredmit keyserver not working here, either.14:36
devuanusing9fsmithred: ok, thanks for the info14:40
devuanusing9fsmithred: I hope this does not reduce security of the downloads if verified with old  key14:41
fsmithredit's the same key as before. Problem is that I updated it and then forgot to push it to the server until after it showed as expired.14:43
devuanusing9ok14:45
tuxd3vhello all, dev1ner's spread out in the Galaxy1 :)17:27
tuxd3vhello all, I made a v0.1 beta release of devuan for linux sunxi arm64..18:28
tuxd3vits a minimal image18:29
tuxd3vbut it has the basics working including ethernet..18:29
tuxd3vif someone wants it:18:33
tuxd3vhttps://meocloud.pt/link/af27f314-c7fc-4a5f-a028-037c30e76f85/DEVUAN/18:33
tuxd3vfile: devuan-ascii-arm64-0.1-beta.img.tar.gz18:34
fsmithredtuxd3v, I'm downloading it, but I probably can't boot it. No arm hardware here and no previous luck trying to boot arm images with qemu.18:43
tuxd3vfsmithred: the image inside has:18:45
tuxd3vin sector 8, the uboot - bootloader,18:46
tuxd3vthen at 1024 has 1 /boot partition with kernel, and device tree for sunxi, also boot.src(script for uboot to execute)18:47
tuxd3vthen at 101MB the rootfs18:47
tuxd3vwith 1 GB size for rootfs18:47
tuxd3vthe simple way would be to mount lets say in /mnt18:47
tuxd3vthe second partition18:47
fsmithredyeah, I can do that18:47
fsmithredBut I can't chroot it. I tried that with rpi image and it complained.18:48
* fsmithred wants arms18:49
tuxd3vthen copy to it the file '/usr/bin/qemu-aarch64-static' , present in package 'qemu-user-static'18:50
tuxd3vand only then18:50
tuxd3vmount --bind /proc, sys, dev,dev/pts and chroot to it :)18:50
fsmithredyeah, did the binds18:50
tuxd3vthen you can use the binaries inside18:50
fsmithredcopy what?18:51
tuxd3vbecause ''/usr/bin/qemu-aarch64-static' is in the image and it will translate arm64 to lets say x86 :)18:51
fsmithredor I should ask, copy it to where?18:51
tuxd3vlet me see, but its straightfoward18:51
tuxd3vyou need to copy /usr/bin/qemu-aarch64-static to the target of chroot18:55
tuxd3vin this case would be /mnt18:55
fsmithredah, ok, thanks18:55
tuxd3vI was searching in my notes18:55
tuxd3vno problem18:55
tuxd3vas fas as I know everything will work, even apt-get and so on..18:56
fsmithredstill downloading (~350KB/s)18:56
fsmithredcool18:56
tuxd3vbut 'qemu-aarch64-static' needs to be inside, becaue it needs to translate from target binaries aarch64(arm64) to host x8618:56
fsmithredI have to go out soon, but I'll play with this later today. Thanks for making it.18:56
tuxd3vno problem18:57
tuxd3v:)18:57
tuxd3vits always nice to see that something we do is useful :)18:57
tuxd3vI am planning to extend it to next stable kernel 5.4 in due time18:57
tuxd3vI am testing 5.4-rc7 now18:58
tuxd3vbut that image ships with stable 5.3.9, which works well18:58
tuxd3veverything else it has is standard to devuan18:58
tuxd3vho, it has 1 user more than only root18:59
tuxd3vit has 'devuan' user18:59
tuxd3vpasswd 'devuan'18:59
tuxd3v:)18:59
fsmithredgreat, same as the live isos19:00
tuxd3vyeah :)19:00
fsmithredroot pass is toor?19:01
tuxd3vno I forgot that... its also devuan :(19:01
fsmithredok19:01
fsmithredthat would be my second or third guess19:01
tuxd3vshould I change it to toor?19:01
tuxd3vI believe19:01
fsmithredyeah, if it's going to end up being a hosted image19:01
golinuxThat has been the convention at devuan19:02
fsmithredbetter to all be the same19:02
tuxd3vok19:02
golinuxThanks for your contribution tuxd3v19:02
yetithe nonroot user is not a good idea19:02
tuxd3vyou right, I will update it to toor19:02
tuxd3vgolinux: no problem19:03
tuxd3vit was something I always wanted to help devuan with19:03
tuxd3v:)19:03
tuxd3vand I have plenty of boards around :)19:03
tuxd3vafter sunxi boards, I will shift to rockship ones :)19:04
tuxd3valready have some work done for it, but that later :)19:04
tuxd3vyeti: why you think nonroot is not a good Idea?19:05
yetithe user should be free how to name his user 100019:05
tuxd3vmy toughs were that you should login as a normal user, and only then switchs to root19:05
tuxd3vmaybe you right19:06
yetiwe networms have user 1000 named differently than devuan on hundreds of other systems...19:06
yetiright?19:06
tuxd3vmaybe I could find a way to create a 1001 devuan user, and when he logs in will be asked by the new user to create as 1000 ?19:07
golinuxWe need to set up that space on the d1g forum.19:07
yetithat would have been my one of my next lines19:07
yeti:-)19:07
fsmithredwith the live isos, you can change the user during the installation19:09
fsmithredsince this image is just going to be dd'd, there's no chance to do that19:09
yetidebian has an installer for sunxi images19:09
yetibut i dont know where its sources are19:10
fsmithredyeah, we don't have that yet, but there's been some talk about doing it19:10
fsmithred...eventually19:10
yetiit still may need a usb-uart-cable19:10
fsmithredwhat's that for?19:11
yetiit did not recognise the usb-keyboard19:11
fsmithredoh19:11
tuxd3vwe could adapt it to devuan, I don't know if its feasible, but if it his could be a option19:11
yetiI tried to install a banana pi r1 with it19:11
yetibut without keyboard... :-/19:11
yetiarm stuff @debian is an adventure too19:11
tuxd3vhehe, life is an adventure :)19:12
yetinext time i open the BPI-R1, I'll connect rx/tx/gnd19:12
tuxd3vyeti: yes to that, it could be that it works as serial for stdout and for stderr19:14
tuxd3vmaybe it could be that way you set a new user..19:14
fsmithredI can't chroot the mounted image. Getting "failed to run command '/bin/bash': Exec format error19:15
fsmithredwhich is what I got before adding qemu-aarch64-static19:15
yeti2.HHGTTG 18,91: ''Will you shut up and listen!'' hissed Zaphod, ''this time  there's going to be excitement and adventure and really wild things.''19:15
yetifound it!19:15
tuxd3vyes19:15
tuxd3vits the qemu user static for aarch64 that needs to be inside :)19:16
fsmithredyeah, I copied that to the mounted image19:16
tuxd3vit tries to interpret arm64 binaries in your host target arch and gives you that error becasue they are diferent archs19:16
fsmithreddo I need to repack the image and boot it with qemu?19:16
tuxd3vno only chroot is enough19:17
tuxd3vlet me check again the location of the quemu binary19:17
fsmithredok19:17
fsmithredgot it!19:19
tuxd3vmaybe you need to copy it to '/usr/bin/'19:19
fsmithredchroot mnt /qemu-aarch64-static /bin/bash19:19
tuxd3vlike in the origin host19:19
tuxd3vyes19:19
tuxd3vthat is a way to run a command inside19:19
fsmithredoy19:20
fsmithredevery command19:20
tuxd3vtry copy 'qemu-aarch64-static' to chroot '/usr/bin'19:20
tuxd3vI believe that after that you should be able to work with any command19:21
fsmithredok19:21
tuxd3vwhithout having to type the qemu inary everytime19:21
yetibinfmt_misc support is installed?19:22
tuxd3vI confirm qemu binary needs to be  to chroot '/usr/bin'19:23
fsmithredyeah, I saw some binfmt package get installed along with the aarch64-static19:23
tuxd3vI will try from my side too :)19:24
tuxd3vso that I could iron out any problem..19:24
fsmithredweird. 'echo' works, 'ls' and 'cp' do not work.19:25
yetils /proc/sys/fs/binfmt_misc/19:26
yetiis aarch64 mentioned there?19:26
fsmithrednope19:26
fsmithredI'm looking on the host19:26
yetishould be the same19:27
yetiproc would be bindmounted19:27
fsmithredoh yeah19:27
yetilist the contents of the qemu-aarch-thingy19:27
yetilook for a config file for binfmt_misc19:28
yetie.g. mono-runtime installs some such stuff to transparently execute DOnet binaries19:28
yetidoTnet19:28
fsmithredno config files in that package19:29
yeti/usr/share/binfmts19:29
fsmithredpython2.7 and python3.519:30
yetiif there were aarch64, it probably would show in /proc/... too19:30
MinceRbotNET19:30
yetitime to ask marjorei19:30
tuxd3vmaybe some dependency, I entered directly and executed a apt-get update, it works nicely19:30
tuxd3vlet me see dependencies needed..19:31
yetiI only vaguely remember that fro executing an i386 binary on PI and Cubie319:31
tuxd3vI found this dependencies:  'binfmt-support' 'qemu-user-static'19:32
tuxd3vI also mounted everything with '--bind'19:32
tuxd3vproc, sys, dev, dev/pts19:33
yetiand you can transparently start aarch64 binaries without prefixing it with qemu-...?19:33
tuxd3vyeti: yes19:33
yetifsmithred may not have all deps19:34
fsmithredyeah, I'm adding them now19:34
yetiok19:34
fsmithredbinfmt-support added. Do I also need qemu-user-binfmt?19:34
yetiyip19:34
fsmithredum19:35
fsmithredthat wants to remove qemu-user-static19:35
tuxd3vI think not, only thos 219:35
tuxd3vthose19:35
tuxd3vroot@desktop0:/# file /bin/ls19:35
tuxd3v/bin/ls: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=a242161239cb1f4ea9b8a7455013295e5473e3ec, stripped19:35
tuxd3vroot@desktop0:/# ls -l /19:35
tuxd3vtotal 12150019:35
tuxd3vdrwxr-xr-x   2 root root      4096 Oct 30 04:05 bin19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Jun 10  2018 boot19:35
fsmithredok19:35
tuxd3vdrwxr-xr-x  15 root root      3240 Nov 11 16:55 dev19:35
tuxd3v-rw-r--r--   1 root root 124346447 Nov 11 18:26 devuan-ascii-base-arm64.tar.gz19:35
tuxd3vdrwxr-xr-x  44 root root      4096 Nov 11 18:34 etc19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Jun 10  2018 home19:35
tuxd3vdrwxr-xr-x  10 root root      4096 Oct 30 04:05 lib19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Oct 30 04:03 media19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Oct 30 04:03 mnt19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Oct 30 04:03 opt19:35
tuxd3vdr-xr-xr-x 218 root root         0 Oct 27 21:27 proc19:35
tuxd3vdrwx------   2 root root      4096 Oct 30 04:03 root19:35
tuxd3vdrwxr-xr-x   4 root root      4096 Oct 30 04:03 run19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Oct 30 04:07 sbin19:35
tuxd3vdrwxr-xr-x   2 root root      4096 Oct 30 04:03 srv19:35
tuxd3vdr-xr-xr-x  13 root root         0 Oct 28 17:45 sys19:35
tuxd3vdrwxrwxrwt   2 root root      4096 Nov 11 18:34 tmp19:35
tuxd3vdrwxr-xr-x  10 root root      4096 Oct 30 04:03 usr19:35
tuxd3vdrwxr-xr-x  11 root root      4096 Oct 30 04:03 var19:36
tuxd3vsorry for the spamm19:36
tuxd3vI should tried a smaller command ..19:36
tuxd3vI am sorry19:36
fsmithredoh!19:37
tuxd3vthen you needto have '/usr/bin/qemu-aarch64-static' in chroot same place '/usr/bin/qemu-aarch64-static'19:37
fsmithredI know why it keeps telling me 'no such file or directory' for ls19:37
yetihttps://forums.parallax.com/discussion/166691/run-bstc-on-cubietruck-raspberry-pi19:38
yetimaybe something changed since wheezy days...19:38
yetiso my memories may be outdated19:38
fsmithredok, I have to precede the command with qemu-aarch64-static and I have to use the path to the command19:39
tuxd3vyeti: no need to prefix qemu binary, or even to use it at all, after it been in place ;)19:39
tuxd3vfsmithred, that is the first aproach , and it works, but its a bit time consuming19:39
tuxd3vthe next step is without prefixes19:40
fsmithredhow do I get there?19:40
tuxd3vyou doesn't even notice that you are in a chroot environment19:40
tuxd3vroot@desktop0:/# find / -name qemu-aarch64-static19:41
tuxd3v/usr/bin/qemu-aarch64-static19:41
tuxd3vI only have 1 binary19:41
tuxd3vthere19:41
tuxd3vand I haven't set any env var.. at least that I now, I simply uncompressed the image, and chrooted into it, copy qemu to inside of it, and its ok19:42
fsmithredalright, I'll play with this later19:42
fsmithredgotta go19:42
fsmithredThanks for help.19:42
tuxd3vfsmithred, no problen19:43
tuxd3v:)19:43
tuxd3vfsmithred: I thik I got it:19:50
tuxd3vsudo update-binfmts --display|grep -EA 7 "aarch64.*enabled" --color19:50
tuxd3vcheck if arch aarch64 is enabled with update-binfmts..19:51
tuxd3vin the host19:51
cgdaecould anyone here explain how to install devuan unstable (aka beowulf)? i haven't been able to find info on devuan.org. i did find http://pkgmaster.devuan.org/devuan/dists/unstable/main/installer-amd64/current/images/netboot/mini.iso, but when installing, it said 'no kernel modules found' when doing 'download installer components'.20:39
emdetecgdae: i use the life-iso, install this minimal system, reboot, change the apt sources and do an upgrade...20:48
cgdaeemdete: ah, thanks. does that mean that there isn't a way to install beowulf directly (without going via stable or similar)?20:51
emdetecgdae: i'm not sure but because i like to start with a minimal system that was the best way i found. i even looked for how that iso can be build to strip it even more ;)21:04
golinuxcgdae: Yes, you'll want to upgrade from ascii by changes the sources list to beowulf which hasn't been officially released yet.21:29
golinuxDepending on your setup. it could go more or less smoothly21:30
emdetegolinux: can you tell how to build the life iso?22:12
golinuxDepends how you want to build it22:13
golinuxFrom a running desktop you can use refractasnapshot.  I should be in the Devuan repos.  Readme is here: https://git.devuan.org/devuan-doc/documentation/tree/master/dev1fanboy22:15
golinuxI > it22:15
golinuxThere is also the live-sdk: https://devuan.org/os/distro-kit22:16
golinuxemdete: ^^^22:17
golinuxOops clipboard misfire22:26
golinuxTry https://refracta.org/docs/readme.refractasnapshot.txt22:26
fsmithredemdete, it's possible to do a debootstrap install from the live isos. That would be the leanest possible install.22:50
emdetegolinux: do you suggest to use refracta or distro-kit?22:54
fsmithredemdete, it depends on what you want to do22:56
masoncgdae: I've been doing straight Beowulf installs recently. Vaguely similar to the Refracta method, I have a generic install with the tools I want on a portable USB hard drive (and again on a VM I can attach to virtual disks, for virtual installs) and I go from there, debootstrap driven by scripting.22:57
masonI should do a pxe version and then I could just have one.22:58
emdetecreating a minimalistic boot usb stick which is able to be (unattended) installed to hd if desired.22:59
emdetegolinux: refracta seems to provide that, i already use that with a patched script in a second partition.but i would like to put that script into the iso and remove some packages...23:00
fsmithredok, refractainstaller is not an unattended activity, but you could make your own script to do that.23:00
masonemdete: Things to look at that could be adapted: https://wiki.debian.org/DebianInstaller/Preseed  https://wiki.debian.org/FAI23:01
fsmithredrefractasnapshot is a WYSIWYG remastering tool. It copies the running system.23:01
emdetefsmithred: which i did based on an older version (someone here provided that)23:01
emdetemason: fai is a beast 😉23:01
fsmithredemdete, what exactly do you mean by "unattended"23:02
fsmithred?23:02
emdetedoes live-sdk include any kind of installer to copy to hd?23:03
fsmithredno23:03
fsmithredunless you tell it to include refractainstaller23:03
fsmithreda few people have gotten it to include debian-installer, but I'm not one of those people23:03
emdetefsmithred: i start a script and it installs with no further interaction23:03
masonemdete: You can script up debootstrap for something similar. Half a sec and I'll pastebin my most recent cut - note that it prompts for root password, dialog for locale, etc.23:03
fsmithredok, that's pretty easy to do if you know what partition you're going to use23:04
fsmithredand a few other things23:04
fsmithredyou could lift a few lines out of refractainstaller and make your own23:04
emdetefsmithred: its for notebooks in a  school. the kids boot from stick, run the installer, target is more or less same, same23:04
masonemdete: https://bpaste.net/show/ZJFEY23:05
emdeteyes, i already did so. i just wasnt sure how to build the iso23:05
fsmithredfor a computer class?23:05
masonemdete: You could install via netboot too, and skip the media distribution.23:05
fsmithredcan you let the kids hack on the script?23:05
fsmithredif you have an installation already the way you want it, easiest way to make iso is refractasnapshot23:06
emdetesure, but why? its only the installation phase. after that they boot from HD into a console-only linux and start from there to put things together23:07
emdeteok. this is good to know. and it seems they have just deb packages. nice.23:08
emdetethank you all ! :)23:08
fsmithredI say make them all do a debootstrap install and they can learn a few things23:08
masonOh, need to update the script's sources.list. Whoops: https://bpaste.net/show/5TIM223:08
emdetebut your script looks interesting too - you use efi, zfs and crypto... will check what i can steal from that 🙂23:08
masonemdete: I like the idea of not having as much automation and guiding the students through a hand install.23:09
masonemdete: Good way for them to learn.23:09
fsmithredagris, take a look at mason's script linked above ^^^23:10
masonemdete: Maybe look at a private/local mirror if you're going to have more than a handful of students downloading packages all at once.23:10
emdeteyes, it's wonderfull if they are stuck in front of a console23:10
emdeteand the eyes when you show them youtube-dl and mpv with -vo caca is just great :D23:11
fsmithredlo23:11
fsmithredl23:11
masonfsmithred: Once I'm properly happy with the script I'll put it on github or something. Also, it'd be worth having a legacy mode for folks who don't want ZFS.23:11
fsmithredcool. agris had questions about zfs yesterday23:12
emdetemason: ah, they install step by step, the current class is 7 people and they install python or such - mostly a single package. but that's a good hint to speed up things...23:12
masonfsmithred: Ah, I somehow missed that I hadn't rejoined #devuan after the last time I parted, although I remembered #debianfork.23:12
masonagris: I'd be happy to help. Just ping me.23:13

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!