libera/#devuan/ Saturday, 2022-05-14

Guest66Hi17:51
Guest66I'm trying to boot the devuan chimera minimal iso on qemu17:51
Guest66it kernel panicks before I can do anything.17:51
fsmithredGuest66, which iso? Does it have "signed" in the name?17:55
Guest66devuan_chimaera_4.0.0_amd64_minimal-live.iso17:56
fsmithredok, that's the official one.17:56
Guest66from here17:56
Guest66https://ftp.fau.de/devuan-cd/devuan_chimaera/minimal-live/17:56
Guest66Gonna try beowulf now.17:56
fsmithredyeah, I asked because I made one for testing with the signed kernel17:56
Guest66ah ok17:56
fsmithredyour hardware does 64-bit?17:57
Guest66it runs alpine 6417:57
Guest66also NetBSD 64 as a host.17:57
fsmithreduefi or bios boot?17:57
Guest66bios.17:57
Guest66but I mean, it's a compatibility mode, it's a lenovo 440p with a UEFI17:57
Guest66also, the devuan only sees coreboot17:57
Guest66since it's running in qemu17:58
Guest66it should not have to deal with either BIOS compat or UEFI.17:58
fsmithredright17:58
fsmithredit normally does boot with bios and in qemu17:58
Guest66So I modified my startup script for using beowulf17:59
Guest66as soon as it's done downloading, I will try17:59
Guest66it behaves exactly the same17:59
Guest66that's weird.17:59
Guest66not the beowulf interface I'm used to18:00
fsmithredwhat are you seeing?18:00
Guest66Kernel panick too18:00
fsmithredshould be white background on the boot menu18:00
Guest66I'm seeing a white ANSI art like interface.18:00
fsmithredyeah18:00
Guest66normally the devuan installer does not look like this.18:00
Guest66but I never used it in qemu so...18:01
fsmithredmaybe something for your hardware is missing from initrd?18:01
Guest66Anyhow18:01
Guest66maybe18:01
Guest66but it says:18:01
fsmithredthe live isos don't have the devuan installer18:01
Guest66`No filesystem could mount root, tried:`18:01
Guest66and then a blank line.18:01
fsmithredand the minimal live has a trimmed down initrd18:01
fsmithredwhat fs are you using?18:01
Guest66on qemu?18:01
Guest66qcow218:01
fsmithredoh, duh18:01
Guest66that not included?18:02
Guest66:D18:02
fsmithredI test the isos in qemu18:02
fsmithredbefore they get uploaded18:02
Guest66well, weird18:03
Guest66should I change the disk format?18:04
fsmithredqemu-system-x86_64 -name devuan_chimaera_4.0.0_amd64_minimal-live.iso -enable-kvm -m 768 -cdrom devuan_chimaera_4.0.0_amd64_minimal-live.iso -soundhw hda -smp cores=2,threads=218:04
fsmithredjust booted with that.18:04
Guest66lemme try that.18:04
fsmithredjust kvm, mem and cdrom options should be enough18:05
Guest66ok so I have to disable kvm18:05
fsmithreddisable?18:05
Guest66yeah18:05
fsmithredbummer18:05
Guest66it's "invalid"18:05
Guest66on NetBSD18:05
fsmithredoh18:05
Guest66yeah.18:06
fsmithredso, go make coffee while it boots up18:06
Guest66and yes it boots.18:06
Guest66nah it's fine, I wanna see it boot.18:06
Guest66Also, I have to figure out what you have in your command that I'm missing in my script.18:06
Guest66because it can't possibly be the SMP parameters.18:06
Guest66and to be very fair18:07
fsmithredthat shouldn't matter18:07
Guest66the rest of the command is very similar18:07
Guest66the only thing is18:07
Guest66this qemu command has no drive18:08
Guest66mine has one.18:08
fsmithredno, not that one.18:08
Guest66ok so I have a command line but no graphical install18:08
fsmithredI can get that for you. Have to reboot and see what I get. It's hidden inside a script18:08
Guest66is there no way to get a curse install?18:08
fsmithredcorrect. It's the minimal live.18:09
Guest66dang18:09
Guest66ok I'll download the live graphical then18:09
fsmithredyou want a desktop, use the desktop-live18:09
Guest66I don't feel like reading a guide :D18:09
fsmithredyou get xfce18:09
fsmithredthe whole monty18:09
Guest66to be fair I only need devuan to compile stuff18:09
Guest66but I never installed it in CLI18:09
fsmithredif you want to be more selective, start with a no-desktop install and add what you want.18:10
Guest66and unless it's like `install-devuan` or similar and then guides you18:10
Guest66I don't want to have the whole DSL experience right now18:10
fsmithredif you're used to the debian installer, you probably won't like refractainstaller18:10
fsmithredespecially the cli version18:10
Guest66as long as it has an installer18:10
fsmithredyeah, it does.18:10
Guest66lemme try that18:10
Guest66well it's graphical!18:11
Guest66what are you on about :D18:11
Guest66it has curse and all18:11
Guest66blue background18:11
Guest66menus18:11
Guest66all the usual18:11
fsmithredjust for locale, keyboard and timezone18:12
Guest66ah18:12
Guest66lemme see the rest18:12
fsmithredafter that, it looks like the old xf86 config utility.18:12
Guest66never used that18:12
Guest66lemme have a look18:12
Guest66looks like the zsh config propmt18:13
Guest66prompt*18:13
fsmithredit's bash18:13
Guest66yeah I mean18:13
Guest66shell is shell amarite?18:13
fsmithred $SHELL is /bin/bash18:14
Guest66not on my machine.18:14
fsmithredI'm root at the moment, but I'm sure it's the same for the user18:14
fsmithredin the minimal-live iso?18:14
Guest66I have csh, ksh18:14
Guest66on alpine I have ash18:14
Guest66and for my user, zsh18:14
Guest66usually, I don't install bash unless it's absolutely necessary18:15
fsmithredyeah, but those should not affect the shell in the live session18:15
Guest66and when I said "on my machine" I meant on the machine, not on the vm ;)18:15
Guest66sorry for being very unclear.18:15
Guest66however, in the partition menu, if I select 1, it tells me that gparted is missing18:15
Guest662 is somehow also saying that gparted is missing with an extra step18:16
Guest66`gdisk` seems to work however.18:16
fsmithredyeah, if you already have partitions, you can use them18:16
fsmithredor you can run gdisk or cfdisk18:16
Guest66probably because I don't even have a disk on that vm18:16
Guest66:D18:16
fsmithredlol18:16
Guest66I should probably stop it.18:16
fsmithredoh yeah18:16
Guest66anyhow18:16
Guest66let's try to go and remove some of your parameters from that command18:17
Guest66and see when it panicks18:17
Guest66today is the day of the software crashes18:19
Guest66even my android email client crashed when I updated it.18:19
Guest66now it does not have a functional widget anymore.18:19
Guest66yay.18:19
Guest66I know, unrelated18:19
fsmithredqemu-system-x86_64 -name _backports.img -enable-kvm -m 1400 -cdrom devuan_daedalus_5.0.preview_20220413_amd64_desktop-live.iso -boot order=d -drive file=_backports.img,format=raw -vga std -soundhw hda -smp cores=2,threads=218:20
fsmithred^^^ That boots the cdrom with virtual drive attached18:20
Guest66format=raw18:20
Guest66here you got it.18:20
Guest66that's the diff18:20
fsmithredmy disk files are .img18:20
fsmithredI hardly ever use qcow18:20
Guest66yeah I mean the extension does not matter to qemu18:20
Guest66but yeah, I see.18:20
Guest66so far, I used qcow, first time it's a problem18:21
Guest66but there's a first time for everything I guess. ;)18:21
fsmithredI think I have a qcow image to test18:22
Guest66love that the default password is toor18:24
Guest66it's like "ah, I see some things don't change"18:24
fsmithredlol18:24
Guest66well it booted without smp as expected18:24
fsmithredon my refracta isos, I don't even bother to turn the word around. root:root, user:user18:24
Guest66but I'll just go with the raw image in my script18:24
Guest66and boot that18:24
Guest66to see if that just works.18:25
Guest66huhu18:25
Guest66that's actually okay unless you want some sort of security18:25
Guest66also I get a warning with your sound option18:25
fsmithredright. It's not supposed to last beyond the installation.18:25
Guest66`qemu-system-x86_64: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead`18:25
Guest66just so you know.18:25
fsmithredyeah, I get that warning, too. And their suggestion does not work for me.18:26
Guest66woot?18:26
Guest66"not work" as in "stops qemu from performing as expected"?18:26
Guest66(e.g. does not start?)18:26
Guest66(or no sound?)18:26
fsmithredno sound18:27
Guest66since I'm here18:27
Guest66what's a reasonable minimal size for a devuan system?18:27
Guest66is 2GB enough?18:27
fsmithredfor a minimal install, yeah. Full desktop takes up around 4.5G18:28
fsmithredhow much space do you need for compiling stuff?18:28
Guest66not much for now18:28
fsmithredbe generous18:28
Guest66ok18:29
Guest66Well I'm poor in disk space18:29
Guest66but I'll try18:29
Guest66(got 60GB total)18:29
Guest66(old SSD)18:29
Guest66(I know)18:29
Guest66still have 34GB avail so...18:29
fsmithredI'm usually unhappy if I make a vm less than 8G18:29
Guest66I guess I can spare 4GB18:29
fsmithredbut that's with desktop stuff18:29
Guest66and avoid using GUI at all18:29
fsmithredthat'll work18:29
Guest66also18:30
Guest66what's the `-name` parameter for?18:30
Guest66never used that...18:30
fsmithredputs the name in the title bar18:30
fsmithredso I know wtf I booted18:31
fsmithredI test a lot of isos. Easy to get lost.18:32
Guest66that moment when you go for running your script18:32
Guest66and you go like `make clean`18:32
Guest66and facepalm.18:32
Guest66ah right it's the name of the window18:32
Guest66noice.18:32
Guest66thanks!18:32
fsmithredI often have vm windows and vnc windows (sometimes with vm inside)18:33
Guest66funny18:33
fsmithredall at the same time18:33
Guest66I did a raw image18:33
Guest66specified your command18:33
Guest66kernel panick18:33
Guest66v_v18:33
fsmithredyou converted a qcow to .img or you had one laying around already?18:34
Guest66I deleted the qcow and used `qemu-img` to make the raw one18:34
fsmithredok18:34
fsmithredit doesn't like the smp?18:34
Guest66I dunnoi18:35
Guest66dunno*18:35
Guest66look here is my command18:35
Guest66`qemu-system-x86_64 -name install-test -cdrom devuan_chimaera_4.0.0_amd64_minimal-live.iso -boot order=d -drive file=test.img,format=raw -vga std -soundhw hda -smp cores=2,threads=2`18:36
Guest66then I get `qemu-system-x86_64: warning: This family of AMD CPU doesn't support hyperthreading(2)`18:36
Guest66and then18:36
Guest66`Please configure -smp options properly or try enabling topoext feature.`18:36
Guest66But that's it18:36
fsmithredso drom the threads=218:36
fsmithreddrop18:36
Guest66(plus the warning about hda)18:36
Guest66sure18:36
Guest66now I only have the hda warning18:36
fsmithredyou could drop that, too18:36
Guest66yes18:37
Guest66but it does not change the kernel panick18:37
Guest66v_v18:37
fsmithredshit18:37
Guest66as soon as I put a drive18:37
Guest66it panicks18:37
Guest66gosh darnit18:37
fsmithredthere are other ways to designate the drive18:37
Guest66sure but...18:37
Guest66I'm guessing if it panicks...18:37
Guest66WAAAAIT18:38
Guest66I removed the drive18:38
Guest66and it panicks as WELL18:38
Guest66I'm guessing it does not like the `-boot d` option18:39
Guest66nope, removed that too18:39
Guest66also panick18:39
Guest66WTF?18:39
fsmithredHere's the script that makes the custom initrd for the minimal-live: https://git.devuan.org/devuan-sdk/live-sdk/src/branch/master/blends/devuan-minimal-live/chimaera/scripts/create_initrd.sh18:39
Guest66one sec18:39
fsmithredtry the desktop-live. It has stock kernel and initrd18:39
Guest66I gotta make it work again and see what's different18:39
Guest66right now18:39
Guest66`qemu-system-x86_64 -cdrom devuan_chimaera_4.0.0_amd64_minimal-live.iso`18:39
Guest66that alone panicks18:40
Guest66v_v18:40
Guest66I mean...18:40
Guest66it's not like it should.18:40
fsmithredok, I need to get something to eat. Back in a few minutes.18:40
Guest66waaaaaait18:40
Guest66lemme try to remove the ram allocation18:41
Guest66Also, guten.18:41
Guest66So18:41
Guest66Basically18:41
Guest66`qemu-system-x86_64 -m 768 -cdrom devuan_chimaera_4.0.0_amd64_minimal-live.iso` boots18:42
Guest66`qemu-system-x86_64 -cdrom devuan_chimaera_4.0.0_amd64_minimal-live.iso` crashes18:44
Guest66spot the difference :D18:44
Guest66Ok so I modified my script to actually specify how much ram it should use.18:46
Guest66and maybe I want to increase that in order to speed compilation a little bit more18:46
Guest66yeah works.18:47
Guest66ah well18:47
Guest66now you know, if you don't have enough RAM, the initrd will simply bail out and the kernel will panick.18:48
Guest66hmm, 2GB of disk seems to be rather limited for recent software...18:50
Guest66also, lol, the default RAM is apparently 95MB18:53
Guest66for some weird reason18:53
Guest66that installer is totally okay18:55
Guest66it's actually very usable.18:55
Guest66quite verbose during install I must say18:55
Guest66but that's in true debian legacy fashion18:55
Guest66"Scroll the screen so fast no human can read and we'll know it's working"18:56
fsmithredit's rsync running, so the verbosity is all or none.18:57
Guest66binary verbosity.18:57
fsmithredI chose 'all' because I like to see stuff happening18:57
Guest66that's the mark of great software :D18:57
Guest66nah, I totally get that.18:57
Guest66at least when something is hanging where it shouldn't, you can see it.18:58
Guest66there's nothing worse than software silently hanging.18:58
Guest66silently failing comes in close second.18:58
fsmithredand with rsync you get to see the big files you forgot to exclude18:58
Guest66yeah18:58
Guest66to be fair18:58
Guest66it works really well18:58
Guest66I'm happy with it so far.18:59
fsmithredthanks18:59
Guest66even gives you a nice summary of what's gonna happen to your disk18:59
Guest66in case, you know, you screwed a choice up18:59
Guest66aaah crap18:59
Guest66I forgot to reset the installer ISO to 4.019:00
fsmithredoh, did you just install daedalus or something?19:00
Guest66now beowulf19:00
Guest66v_v19:00
Guest66daedalus would have been actually fine19:00
Guest66ok so19:01
Guest66I should probably delete the disk19:01
Guest66re-create one19:01
Guest66delete the faulty ISO19:01
Guest66and reboot19:01
fsmithredyou can just reformat and reinstall19:01
fsmithredwith the right iso19:01
Guest66yeah but re-creating the image takes absolutely no time19:02
Guest66so...19:02
Guest66ok so as soon as this works I'll go to the hardware store19:03
Guest66I gotta say19:04
Guest66you made it sound a lot more challenging than it was :P19:04
Guest66(about the installer)19:04
fsmithredbased on the reactions I've seen in others19:04
Guest66I was afraid I had to read like 15 pages of wiki19:04
fsmithredlol19:04
Guest66inter-linking to each other19:04
Guest66in various sections19:04
Guest66with hundreds of gotcha19:04
Guest66and obscure configuration options19:05
fsmithredthere are some of those19:05
Guest66à la centos19:05
fsmithredbut they aren't required19:05
Guest66yeah exactly19:05
Guest66and also most of the installation happens unattended.19:05
fsmithredand you learn about them by reading the config file19:05
Guest66which is what I want :D19:05
Guest66bro, a config file is hundreds of times better than a wiki19:06
Guest66you don't need an uplink to read a config file.19:06
fsmithredand the answer is right there in front of you19:06
Guest66exactly.19:06
Guest66like it was the entire time with me running a VM on 95MB of ram and wondering why initrd was bailing out and the kernel crashing19:07
Guest66to be fair, it should probably spit something out about running out of memory19:07
Guest66but yeah, well, it wasn't obscure stuff.19:07
fsmithredwould be nice. I ran into a similar problem trying to boot a VM with encrypted root fs.19:08
Guest66yeah19:08
fsmithredit requires 2G ram19:08
Guest66oh wow19:08
Guest66good to know.19:08
Guest66you know19:08
Guest66even if it does not spit an error19:08
Guest66maybe make sure you have a warning about it after the probe?19:08
Guest66or like, try and detect low memory and prompt for user confirmation? :D19:08
fsmithredwarning where?19:08
fsmithredin the boot menu, maybe19:09
Guest66like `you're running a machine with a very low amount of memory (95MB). It can cause the kernel to panick during initrd loading, are you sure you want to continue?`19:09
Guest66after the boot menu, like, first step of the initrd.19:09
Guest66and if you have an encrypted disk, maybe add a note about that?19:10
Guest66ok I found a bug in the script19:11
Guest66when I change workspaces in my WM, I use meta-number19:11
Guest66and this chat on the workspace 119:12
Guest66so meta-119:12
Guest66now, the gparted tool isn't installed19:12
Guest66and it won't let me go after that19:12
Guest66I was able to select 219:12
Guest66but then I can't actually leave that menu19:12
Guest66I have to first select another window and then it does not eat the wrong input19:13
Guest66raaah fuck I went too fast and did not prompt the right place for the bootloader19:15
fsmithredI'm lost19:16
Guest66ok so19:16
Guest661. problem with the partition menu19:16
Guest66it got '1' when it wasn't supposed to because of an OTHER software passing the input to qemu19:16
Guest662. I fumbled with the bootloader and had to restart the install19:17
fsmithredanyway, free -m shows 59mb used in the minimal live. ps_mem.py shows qemu using 440mb19:17
Guest66also for some weird reason19:18
Guest66the installer said "you will be asked about a bootloader later"19:18
Guest66I wanted to be asked now...19:18
Guest66=/19:18
Guest66I was asked now earlier...19:18
fsmithredlol. too bad.19:18
Guest66how is that happening?19:18
* used____ reads backlog19:18
fsmithredyou might get asked twice and/or it might install the bootloader twice.19:18
Guest66no problem to me19:18
Guest66okay, I'll bbl19:18
fsmithredit's a product of the weirdness in how the installer handles grub19:18
Guest66gotta go now19:18
used____brr how can you live with csh ksh -- 1st thing I do on NetBSD is install bash.19:19
Guest66oh20:04
Guest66I see20:04
Guest66now it has to install grub and THEN set the bootloader up20:04
used____Of course.20:04
Guest66yeah but that happened at the BEGINNING of the installation, before.20:05
Guest66not sure what I changed.20:05
Guest66Maybe the version of devuan?20:05
Guest663 vs 4?20:05
used____Rebooted ;)20:05
Guest66maybe20:05
used____That makes it the 2nd try I guess.20:05
Guest66?20:06
Guest66weird20:07
Guest66the installer goes like "select one (enter a, b or c)"20:07
Guest66and then there's 4 options, 1, 2, 3 and 4.20:07
* Guest66 scratches head20:07
Guest66either way20:08
Guest66let's see how it boots20:08
fsmithredIf you were where I think you were (choosing grub location) then it would either be 1, 3 and 4 or 2, 3 and 4, depending on which grub is installed in the live system and which way you booted (bios or uefi)20:13
fsmithredpick one that sounds good20:14
Guest66nah that was for sudo20:27
Guest661) no sudo20:27
Guest662) something (keep root account)20:28
Guest663) only sudo (disable root account)20:28
Guest664) only reboot with sudo (keep root account)20:28
Guest66but the funny part was the message (choose any of a, b or c) while there was options like 1, 2, 3, 420:31
fsmithredthat's the one I was talking about20:31
fsmithredor maybe not. Are you sure there were letters for choices?20:32
fsmithredI thought I changed them all to numbers to be multi-lingual.20:32
fsmithreddid it reboot ok?20:33
fsmithredI'm going outside. bbl.20:33
Guest66the letters weren't for the choices20:50
Guest66they were for the text.20:50
Guest66and yes it did reboot ok20:50
fsmithredfound it. Thanks.21:23
Guest66you're welcome21:34
Guest66so all in all21:36
Guest66system is up to date21:36
Guest66everything installed fine21:36
Guest66the dhcp client isn't started at boot21:37
Guest66that might be an issue :D21:37
Guest66it's taking 2.9GB21:39
Guest66good thing I didn't go with 2...21:39
Guest66damn21:43
Guest66poweroff isn't in the PATH of users21:43
Guest66so `doas poweroff` isn't found21:43
Guest66ok the system works just fine22:11
Guest66let's try to compile shit now22:11
Guest66okay!23:09
Guest66so it's my first successful compilation!23:09
Guest66thanks guys!23:09
Guest66(and by successful, I do mean that actually does what I want)23:10
Guest66(it did build a few times 'til now, but it had random and crappy behavior, such as "missing X feature" in the libs and such)23:10
Guest66okay thanks fsmithred23:10
Guest66you were very helpful!23:10
Guest66have a good one everyone!23:10

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