💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2019-09-24.txt captured on 2021-12-17 at 13:26:06.

View Raw

More Information

-=-=-=-=-=-=-

2019-09-24T07:39:58 #kisslinux <dylanaraps> o/
2019-09-24T07:39:59 #kisslinux <dylanaraps> Welcome
2019-09-24T07:40:24 #kisslinux <unternet> thanks :)
2019-09-24T07:41:29 #kisslinux <dylanaraps> I'm happy to answer any questions you may have. :)
2019-09-24T07:46:01 #kisslinux <unternet> uhm alright then. I managed to get kiss running yesterday (and love the concept. so satisfying when it managed to boot for the first time...) now I'm trying to install firefox, but rust fails to build. not sure why..
2019-09-24T07:47:04 #kisslinux <dylanaraps> What does it say exactly?
2019-09-24T07:47:53 #kisslinux <dylanaraps> What llvm version do you have?
2019-09-24T07:47:54 #kisslinux <dylanaraps> ➜ kiss l llvm
2019-09-24T07:47:56 #kisslinux <dylanaraps> llvm 8.0.1 1
2019-09-24T07:48:42 #kisslinux <unternet> that's what I'm seeing as well
2019-09-24T07:49:09 #kisslinux <dylanaraps> When rust fails to build, what does it say exactly?
2019-09-24T07:50:01 #kisslinux <unternet> can't copypaste all that out of the vm and don't want to type all of it, hang on
2019-09-24T07:50:44 #kisslinux <dylanaraps> Crestwave: This may be of some interest to you https://github.com/dylanaraps/pfetch/blob/master/pfetch
2019-09-24T07:50:57 #kisslinux <dylanaraps> Started working on a POSIX sh version of 'neofetch'.
2019-09-24T07:51:16 #kisslinux <unternet> command did not execute successfully: ... cargo build ... exit code: 101
2019-09-24T07:51:27 #kisslinux <dylanaraps> It won't be a 1:1 replacement of course. Just a similar tool but POSIX this time.
2019-09-24T07:51:44 #kisslinux <dylanaraps> unternet: Anything else?
2019-09-24T07:52:15 #kisslinux <unternet> failed to run ... bootstrap build -j 1
2019-09-24T07:52:38 #kisslinux <dylanaraps> Does this happen right at the start of the build or during?
2019-09-24T07:53:13 #kisslinux <unternet> it says "build completed unsuccessfully in 0:12:16". I'd say towards the end
2019-09-24T07:54:25 #kisslinux <dylanaraps> Rust takes a very long time to build, especially on a single core. If it's failing 12 minutes in it's no where near completion.
2019-09-24T07:54:53 #kisslinux <dylanaraps> How much disk space and memory does the VM have?
2019-09-24T07:56:19 #kisslinux <unternet> 2gb memory, ~11gb free space, and oh only one core. maybe I should bump that up a bit
2019-09-24T07:56:58 #kisslinux <dylanaraps> I'm assuming your system is fully up to date? (kiss update).
2019-09-24T07:57:20 #kisslinux <dylanaraps> I'm leaning more towards this being due to low memory or disk space though I can't say for sure.
2019-09-24T07:57:39 #kisslinux <dylanaraps> The output from rust's build system isn't very helpful at all from what you've shown me.
2019-09-24T07:58:09 #kisslinux <unternet> i'll try again with 4 cores and 4gb ram
2019-09-24T07:59:42 #kisslinux <unternet> regarding kiss update: turns out: no. but e2fsprogs is probably not the problem here
2019-09-24T08:01:10 #kisslinux <dylanaraps> Nope. Was more looking to see that you had the latest rust, llvm etc.
2019-09-24T08:01:13 #kisslinux <dylanaraps> And you do!
2019-09-24T08:05:42 #kisslinux <Crestwave> pfetch looks cool, although still very barebones as of now.
2019-09-24T08:07:25 #kisslinux <dylanaraps> I just started. :P
2019-09-24T08:07:43 #kisslinux <dylanaraps> Just these thus far:
2019-09-24T08:07:44 #kisslinux <dylanaraps>     get_distro
2019-09-24T08:07:46 #kisslinux <dylanaraps>     get_kernel
2019-09-24T08:07:49 #kisslinux <dylanaraps>     get_uptime
2019-09-24T08:07:50 #kisslinux <dylanaraps>     get_memory
2019-09-24T08:08:08 #kisslinux <dylanaraps> No actual printing of any kind other than "debug" right now.
2019-09-24T08:15:26 #kisslinux <Crestwave> Yeah, I know. I wonder if you'll be able to support more systems with POSIX sh
2019-09-24T08:16:46 #kisslinux <dylanaraps> I'd imagine so.
2019-09-24T08:17:10 #kisslinux <dylanaraps> I'm keeping this small in its feature-set for that reason.
2019-09-24T08:17:30 #kisslinux <dylanaraps> ➜ time pfetch
2019-09-24T08:17:32 #kisslinux <dylanaraps> goldie@KISS
2019-09-24T08:17:34 #kisslinux <dylanaraps> os KISS Linux
2019-09-24T08:17:36 #kisslinux <dylanaraps> kernel 5.3.1-coffee
2019-09-24T08:17:38 #kisslinux <dylanaraps> uptime 4h 29m
2019-09-24T08:17:40 #kisslinux <dylanaraps> memory 1312MiB / 7942MiB
2019-09-24T08:17:42 #kisslinux <dylanaraps> real    0m 0.00s
2019-09-24T08:17:45 #kisslinux <dylanaraps> user    0m 0.00s
2019-09-24T08:17:46 #kisslinux <dylanaraps> sys     0m 0.00s
2019-09-24T08:18:00 #kisslinux <Crestwave> Nice. Are you using dash?
2019-09-24T08:19:33 #kisslinux <dylanaraps> ash
2019-09-24T08:22:28 #kisslinux <unternet> building rust currently at 136/153 (i think it failed at 132 before, looks like you were right)
2019-09-24T08:24:17 #kisslinux <dylanaraps> Rust builds in 3 stages, that's likely still stage 0!
2019-09-24T08:25:56 #kisslinux <unternet> but it has come further than before :)
2019-09-24T08:26:07 #kisslinux <dylanaraps> Yeah
2019-09-24T09:05:06 #kisslinux <dylanaraps> Crestwave: ASCII art and position of information is done.
2019-09-24T09:05:09 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch
2019-09-24T09:05:38 #kisslinux <dylanaraps> Some escape sequence trickery to do it in a "dynamic" way. I do the same in neofetch though I've implemented it simpler here.
2019-09-24T09:08:34 #kisslinux <dylanaraps> Even with ASCII art:
2019-09-24T09:08:37 #kisslinux <dylanaraps> ➜ time pfetch >/dev/null
2019-09-24T09:08:39 #kisslinux <dylanaraps> real    0m 0.00s
2019-09-24T09:08:41 #kisslinux <dylanaraps> user    0m 0.00s
2019-09-24T09:08:43 #kisslinux <dylanaraps> sys     0m 0.00s
2019-09-24T10:05:44 #kisslinux <Crestwave> e doesn't work in POSIX, no?
2019-09-24T10:09:30 #kisslinux <Crestwave> x doesn't work either so I guess you're stuck with 033?
2019-09-24T10:12:31 #kisslinux <Crestwave> *isn't required
2019-09-24T10:15:12 #kisslinux <Crestwave> Oh, I just read the rest of the script and it seems that you do use 033 for most of them. You're using e[?25l and e[?25h, though
2019-09-24T10:20:59 #kisslinux <dylanaraps> Oops
2019-09-24T10:21:02 #kisslinux <dylanaraps> Good catch.
2019-09-24T10:26:08 #kisslinux <dylanaraps> Also added support for *most* package managers (at the very least the major and popular ones).
2019-09-24T10:26:10 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch#L154-L186
2019-09-24T10:27:05 #kisslinux <Crestwave> Also, the escape characters break vim's syntax highlighting. Might want to consider quoting them?
2019-09-24T10:29:33 #kisslinux <dylanaraps> Done
2019-09-24T10:34:55 #kisslinux <Crestwave> /sys/devices/virtual/dmi/id/product_version is empty on my machine but /sys/devices/virtual/dmi/id/product_name isn't
2019-09-24T10:36:22 #kisslinux <dylanaraps> Yeah
2019-09-24T10:36:27 #kisslinux <dylanaraps> Neofetch handles this correctly.
2019-09-24T10:36:33 #kisslinux <dylanaraps> Need to flesh it out.
2019-09-24T10:41:26 #kisslinux <dylanaraps> Done.
2019-09-24T10:42:43 #kisslinux <Crestwave> Doesn't each read overwrite the variable even if it's empty?
2019-09-24T10:42:49 #kisslinux <dylanaraps> Nope
2019-09-24T10:43:15 #kisslinux <dylanaraps> Tested in ash and dash.
2019-09-24T10:44:46 #kisslinux <Crestwave> Are you sure it's not because your machine has product_version so you don't notice product_name getting overwritten?
2019-09-24T10:45:49 #kisslinux <dylanaraps> Yeah
2019-09-24T10:45:51 #kisslinux <dylanaraps>             read -r host < /sys/devices/virtual/dmi/id/product_name
2019-09-24T10:45:53 #kisslinux <dylanaraps>             read -r host < /sys/devices/virtual/dmi/id/product_version
2019-09-24T10:45:55 #kisslinux <dylanaraps>             read -r host < /sys/firmware/devicetree/base/model
2019-09-24T10:46:03 #kisslinux <dylanaraps> The bottom file doesn't exist for me.
2019-09-24T10:46:21 #kisslinux <dylanaraps> But the value from product_version is retained.
2019-09-24T10:46:44 #kisslinux <dylanaraps> I could make it append instead.
2019-09-24T10:46:52 #kisslinux <Crestwave> But that's because it doesn't exist and errors out, not empty
2019-09-24T10:47:01 #kisslinux <Crestwave> Try a=b; read -r a </dev/null; echo "$a"
2019-09-24T10:47:21 #kisslinux <Crestwave> and a=b; read -r a </asdf; echo "$a"
2019-09-24T10:50:45 #kisslinux <dylanaraps>             read -r name    < /sys/devices/virtual/dmi/id/product_name
2019-09-24T10:50:48 #kisslinux <dylanaraps>             read -r version < /sys/devices/virtual/dmi/id/product_version
2019-09-24T10:50:50 #kisslinux <dylanaraps>             read -r model   < /sys/firmware/devicetree/base/model
2019-09-24T10:50:52 #kisslinux <dylanaraps>             host="$name $version $model"
2019-09-24T10:50:54 #kisslinux <dylanaraps> This works no?
2019-09-24T10:52:02 #kisslinux <Crestwave> Wouldn't it have empty spaces, though?
2019-09-24T10:52:56 #kisslinux <dylanaraps> Going to make 'log()' normalize white-space.
2019-09-24T10:53:11 #kisslinux <Crestwave> Should work, then
2019-09-24T10:57:43 #kisslinux <dylanaraps> ➜ PF_INFO="title memory uptime" pfetch
2019-09-24T10:57:46 #kisslinux <dylanaraps>     ___       goldie@KISS
2019-09-24T10:57:47 #kisslinux <dylanaraps>    (.· |      memory 1726MiB / 7942MiB
2019-09-24T10:57:50 #kisslinux <dylanaraps>    (<> |      uptime 7h 9m
2019-09-24T10:57:51 #kisslinux <dylanaraps>   / __  2019-09-24T10:57:53 #kisslinux <dylanaraps>  ( /   /|
2019-09-24T10:57:55 #kisslinux <dylanaraps> _/ __)/_)
2019-09-24T10:57:57 #kisslinux <dylanaraps> /-____/
2019-09-24T10:57:59 #kisslinux <dylanaraps> Tada
2019-09-24T10:58:33 #kisslinux <dylanaraps> PF_INFO= pfetch displays only the ascii.
2019-09-24T10:59:17 #kisslinux <Crestwave> Ooh nice. Did you use positional parameters as an array for that?
2019-09-24T10:59:29 #kisslinux <dylanaraps> Nope
2019-09-24T10:59:42 #kisslinux <Crestwave> Bedrock support should be as simple as sourcing /bedrock/etc/os-release after /etc/os-release, right?
2019-09-24T11:00:29 #kisslinux <dylanaraps> It's a little more complex.
2019-09-24T11:00:40 #kisslinux <dylanaraps> Neofetch detects it in get_distro() with:
2019-09-24T11:00:44 #kisslinux <dylanaraps> if [[ -f "/bedrock/etc/bedrock-release" && "$PATH" == */bedrock/cross/* ]]; then
2019-09-24T11:01:05 #kisslinux <Crestwave> Why wouldn't /bedrock/etc/os-release work?
2019-09-24T11:01:20 #kisslinux <dylanaraps> Then get_packages needs to be modified to iterate over strata.
2019-09-24T11:01:23 #kisslinux <dylanaraps> Dunno.
2019-09-24T11:01:28 #kisslinux <dylanaraps> I worked with Paradigm on this.
2019-09-24T11:01:40 #kisslinux <dylanaraps> paradigm: Care to chime in?
2019-09-24T11:01:59 #kisslinux <Crestwave> It already seems to check for all package managers, though?
2019-09-24T11:02:12 #kisslinux <Crestwave> Ah or is it because you can have multiple strata with the same time of package manager?
2019-09-24T11:02:33 #kisslinux <Crestwave> *type
2019-09-24T11:04:14 #kisslinux <Crestwave> /bedrock/etc/os-release doesn't seem to be available on Nyla, but I don't think anyone will blame you for not supporting that?
2019-09-24T11:04:39 #kisslinux <dylanaraps> Okie dokie
2019-09-24T11:04:41 #kisslinux <dylanaraps> Sounds good
2019-09-24T11:05:04 #kisslinux <dylanaraps> I swapped to using positional parameters for the PF_INFO variable.
2019-09-24T11:07:55 #kisslinux <Crestwave> watch -n10 git pull...
2019-09-24T11:09:36 #kisslinux <dylanaraps> Pushed
2019-09-24T11:09:46 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch#L282-L293
2019-09-24T11:09:49 #kisslinux <dylanaraps> Very simple
2019-09-24T11:11:43 #kisslinux <Crestwave> Nice
2019-09-24T11:35:22 #kisslinux <dylanaraps> OK. ascii width is now dynamic too.
2019-09-24T11:36:02 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch#L252-L271
2019-09-24T11:44:10 #kisslinux <dylanaraps> Info alignment is now dynamic too: https://github.com/dylanaraps/pfetch/commit/37e651d4dce4af491f1cff7fd52e134217479ad2
2019-09-24T12:00:02 #kisslinux <paradigm> Crestwave: dylanaraps: Sometimes people want software to know it's running in Bedrock, and sometimes people want software to _think_ it's running in its native distro.  Bedrock has a feature called "restriction" which disables some Bedrock hooks to offer the latter possibility.  That's what the $PATH check does in neofetch.  It allows people to make screenshots like this:
2019-09-24T12:00:07 #kisslinux <paradigm> https://pingvinus.ru/cr_images/userpicture/n/1982-0.png
2019-09-24T12:02:25 #kisslinux <dylanaraps> OK, so how neofetch does it is the "correct" way?
2019-09-24T12:02:28 #kisslinux <dylanaraps> Good to know.
2019-09-24T12:02:53 #kisslinux <paradigm> Yes, that's why my PR for neofetch was written as such
2019-09-24T12:04:20 #kisslinux <paradigm> Crestwave: also, cool to see you here )
2019-09-24T12:04:22 #kisslinux <paradigm> :)
2019-09-24T12:05:53 #kisslinux <paradigm> Also, yes, /bedrock/etc/os-release is new to Poki.  I added it explicitly with neofetch in mind.  Poki is a *huge* improvement over Nyla, to the point where I (correctly) guessed there'd be a large uptick in users who would be interested in things like showing off with neofetch
2019-09-24T12:13:59 #kisslinux <dylanaraps> Good to know.
2019-09-24T12:14:15 #kisslinux <dylanaraps> Does anything need to be changed in neofetch to support /bedrock/etc/os-release?
2019-09-24T12:18:02 #kisslinux <paradigm> As far as I know your rework of my MR which landed in neofetch 6.0 is that is needed for neofetch and Bedrock (0.7 and up) to play nicely with each other.  I've seen plenty of posts on reddit.com/r/unixporn using Bedrock+neofetch.
2019-09-24T12:18:13 #kisslinux <paradigm> s/is that/is all that/
2019-09-24T12:18:43 #kisslinux <dylanaraps> Okie dokie
2019-09-24T12:20:30 #kisslinux <paradigm> I think Crestwave's questions were due to a lack of familiarity with the new restriction stuff in Poki.  Crestwave hasn't been active in #bedrock since just before Poki dropped.
2019-09-24T12:39:48 #kisslinux <paradigm> Since we added Bedrock support to neofetch, I started having Bedrock set an environment variable (BEDROCK_RESTRICT=1) on restricted processes to make it easier for Bedrock aware processes to know they're restricted.
2019-09-24T12:39:52 #kisslinux <paradigm> Adding Bedrock support, including restriction, to pfetch should be as simple as: [ -z "${BEDROCK_RESTRICT:-}" ] && [ -r /bedrock/etc/os-release ] && . /bedrock/etc/os-release && distro=$PRETTY_NAME
2019-09-24T12:39:56 #kisslinux <paradigm> just after this line: https://github.com/dylanaraps/pfetch/blob/master/pfetch#L119
2019-09-24T12:39:59 #kisslinux <paradigm> I haven't had any requests for Bedrock+pfetch support and don't mind it being eschewed if it adds unnecessary bloat.
2019-09-24T12:53:25 #kisslinux <dylanaraps> paradigm: I started writing pfetch only a few hours ago!
2019-09-24T12:53:50 #kisslinux <dylanaraps> Hence the no requests. :P
2019-09-24T12:57:10 #kisslinux <paradigm> ahh, okay
2019-09-24T12:57:44 #kisslinux <paradigm> I might make an PR for neofetch to change from the PATH thing to check BEDROCK_RESTRICT at some point in the future.
2019-09-24T13:00:19 #kisslinux <dylanaraps> Sounds good
2019-09-24T13:48:17 #kisslinux <dylanaraps> pfetch now supports a bunch of ascii arts.
2019-09-24T13:48:26 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch#L242
2019-09-24T13:48:43 #kisslinux <dylanaraps> I'd love to find a way to avoid breaking indentation here.
2019-09-24T13:49:16 #kisslinux <Crestwave> Ah, yes, I haven't experimented too much with Poki yet. There would have to be extra work done to support multiple instances of the same package manager, though, right?
2019-09-24T13:50:24 #kisslinux <paradigm> I'm not sure what you mean
2019-09-24T13:53:57 #kisslinux <Crestwave> pfetch lists the number of installed packages. In order to fully support Bedrock, there would have to be extra handling for when, e.g, you have multiple `apt`s, right?
2019-09-24T13:55:06 #kisslinux <dylanaraps> Have a look at get_packages() in neofetch
2019-09-24T13:55:27 #kisslinux <paradigm> Regarding pfetch logo indentation, you could indent the logos then substitute out the indentation before printing.  I don't know that you could cleanly do this with shell subtitution, but sed is already being used.  Could do something like s/^ {12}//'
2019-09-24T13:55:47 #kisslinux <dylanaraps> Was just thinking that.
2019-09-24T13:56:01 #kisslinux <dylanaraps> read -r ascii <<-EOF
2019-09-24T13:56:05 #kisslinux <dylanaraps> This doesn't work.
2019-09-24T13:56:12 #kisslinux <dylanaraps> It needs "-d ''".
2019-09-24T13:56:17 #kisslinux <dylanaraps> (Not POSIX)
2019-09-24T13:57:38 #kisslinux <yamchah2> is this the right place to ask for install help?
2019-09-24T13:58:09 #kisslinux <Crestwave> I think so
2019-09-24T13:59:42 #kisslinux <yamchah2> So I'm pretty sure i followed https://getkiss.org/pages/install/ exactly (installing on a VM btw), but when it comes time to actually boot into kiss, the screen just flashes and puts me back at the boot menu. There's nothing displayed on the screen so I have no idea how to troubleshoot this
2019-09-24T14:01:02 #kisslinux <dylanaraps> Takes you straight back to grub?
2019-09-24T14:01:16 #kisslinux <dylanaraps> Or your firmware itself?
2019-09-24T14:02:07 #kisslinux <yamchah2> back to the firmware, i cant get into grub
2019-09-24T14:02:32 #kisslinux <yamchah2> So i guess its a grub problem then
2019-09-24T14:06:21 #kisslinux <dylanaraps> Looks to be, yeah.
2019-09-24T14:06:48 #kisslinux <yamchah2> I'll try rebuild/install grub then
2019-09-24T14:07:56 #kisslinux <dylanaraps> It sounds to me like a configuration issue with grub
2019-09-24T14:09:28 #kisslinux <yamchah2> I didn't change any config I promise
2019-09-24T14:10:18 #kisslinux <dylanaraps> You correctly ran 'grub-install'?
2019-09-24T14:10:25 #kisslinux <dylanaraps> According to EFI or BIOS?
2019-09-24T14:10:31 #kisslinux <yamchah2> grub-install --target=i386-pc /dev/vda
2019-09-24T14:10:35 #kisslinux <yamchah2> thats what i ran
2019-09-24T14:10:42 #kisslinux <yamchah2> since my vm is using bios
2019-09-24T14:11:48 #kisslinux <dylanaraps> vda?
2019-09-24T14:12:25 #kisslinux <yamchah2> yeah thats what my disk is listed at, not sure why its not sda
2019-09-24T14:12:31 #kisslinux <yamchah2> maybe its a vm thing?
2019-09-24T14:13:31 #kisslinux <Crestwave> By the way, regarding the indentation, couldn't you a define a function with a while read loop? Kinda hacky, but probably better than a sed call?
2019-09-24T14:16:51 #kisslinux <yamchah2> okay im not sure what i did but i made it into grub :D
2019-09-24T14:17:02 #kisslinux <unternet> yamchah2: have you checked the disk IDs in grub? for example: (hd0,msdos1) ?
2019-09-24T14:17:06 #kisslinux <dylanaraps> yamchah2: Nice
2019-09-24T14:17:15 #kisslinux <yamchah2> now i can try fix a kernel panic :D
2019-09-24T14:17:26 #kisslinux <unternet> mine were wrong because I did grub-install from another vm, so it was sdb instead of sda
2019-09-24T14:17:26 #kisslinux <dylanaraps> Crestwave: What do you mean?
2019-09-24T14:18:14 #kisslinux <yamchah2> VFS: unable to mount root fs on unknown-block(0,0)
2019-09-24T14:18:43 #kisslinux <unternet> yep had that too. check the disk IDs in grub.cfg
2019-09-24T14:18:46 #kisslinux <dylanaraps> Sounds like a kernel configuration issue now.
2019-09-24T14:18:52 #kisslinux <dylanaraps> Or Grub :O
2019-09-24T14:19:37 #kisslinux <yamchah2> okay ill check grub.cfg first
2019-09-24T14:20:13 #kisslinux <yamchah2> i dont need to install linux-firmware on a vm do i?
2019-09-24T14:21:09 #kisslinux <dylanaraps> What VM software are you using?
2019-09-24T14:21:54 #kisslinux <yamchah2> virt-manager and kvm/qemu
2019-09-24T14:22:07 #kisslinux <dylanaraps> Hm
2019-09-24T14:22:18 #kisslinux <dylanaraps> I booted kvm/qemu without firmware last time I tried it.
2019-09-24T14:23:50 #kisslinux <yamchah2> i dont see anything about disk ids in grub
2019-09-24T14:25:37 #kisslinux <unternet> set root='hd1,msdos1' <- these
2019-09-24T14:26:06 #kisslinux <unternet> linux /vmlinuz-xyz root=/dev/sda2 ro ... <- and these
2019-09-24T14:26:38 #kisslinux <Crestwave> dylanaraps: couldn't you use something like read_ascii() { while read -r line; do ascii+=$line; done; }; read_ascii <<-EOF logo EOF to preserve the indention?
2019-09-24T14:27:09 #kisslinux <yamchah2> I have linux /boot/vmlinuz-5.3.1 root=/dev/vda1 ro loglevel=3 quiet
2019-09-24T14:27:28 #kisslinux <yamchah2> there isnt a set root= line
2019-09-24T14:28:43 #kisslinux <dylanaraps> Is vda correct?
2019-09-24T14:28:53 #kisslinux <dylanaraps> Crestwave: That would work yeah. Thanks
2019-09-24T14:29:50 #kisslinux <unternet> i used mbr/bios. might be different with gpt/efi. but for me grub-install configured grub according to how the harddrives looked (sda was the host system disk and sdb the one for kiss. so it ended up being configured for sdb. but when booting kiss, that became sda.
2019-09-24T14:31:02 #kisslinux <dylanaraps> Apologies, dinner.
2019-09-24T14:31:08 #kisslinux <dylanaraps> Be back in 20 minutes.
2019-09-24T14:32:57 #kisslinux <yamchah2> vda is correct
2019-09-24T14:33:27 #kisslinux <yamchah2> im also using bios
2019-09-24T14:34:03 #kisslinux <yamchah2> any specific kernel options you think i need?
2019-09-24T14:35:02 #kisslinux <unternet> using virtualbox here, so that could be different. i have linux-firmware installed. otherwise: first time I compiled linux, left it as it was
2019-09-24T14:35:44 #kisslinux <yamchah2> im recompiling the kernel now using just defaults
2019-09-24T14:35:53 #kisslinux <yamchah2> if that doesnt work ill try linux-firmware
2019-09-24T14:36:08 #kisslinux <yamchah2> linux-firmware was just downloading really slow for some reason
2019-09-24T14:36:17 #kisslinux <yamchah2> skipped it because i got impatient
2019-09-24T14:36:47 #kisslinux <unternet> i compiled firefox dependencies for the last 5 hours :D
2019-09-24T14:36:58 #kisslinux <yamchah2> :D
2019-09-24T14:37:18 #kisslinux <yamchah2> probably wont install firefox on this vm xD
2019-09-24T14:43:13 #kisslinux <unternet> https://www.linux.com/tutorials/how-rescue-non-booting-grub-2-linux/ <- can help for identifying root and boot partitions.
2019-09-24T14:44:10 #kisslinux <unternet> I also created a /etc/fstab with the UUIDs of those. not sure if that is needed, but that seemed the right thing to do before attempting to boot
2019-09-24T14:46:25 #kisslinux <dylanaraps> Crestwave:
2019-09-24T14:46:27 #kisslinux <dylanaraps>     read_ascii() {
2019-09-24T14:46:29 #kisslinux <dylanaraps>         while IFS= read -r line; do
2019-09-24T14:46:31 #kisslinux <dylanaraps>             ascii="$ascii$line
2019-09-24T14:46:33 #kisslinux <dylanaraps> "
2019-09-24T14:46:35 #kisslinux <dylanaraps>         done
2019-09-24T14:46:37 #kisslinux <dylanaraps>     }
2019-09-24T14:46:39 #kisslinux <dylanaraps> This is the only way in which it will work.
2019-09-24T14:46:48 #kisslinux <dylanaraps> POSIX sh has no 'var+=' (or 


n').
2019-09-24T14:46:56 #kisslinux <dylanaraps> 'read' also strips newlines.
2019-09-24T14:50:10 #kisslinux <dylanaraps> It works though.
2019-09-24T14:54:55 #kisslinux <yamchah2> grub> ls (hd0,1)/
2019-09-24T14:55:01 #kisslinux <yamchah2> the output of this is as expected
2019-09-24T14:55:34 #kisslinux <dylanaraps> Can you select the kernel to boot?
2019-09-24T14:55:45 #kisslinux <yamchah2> grub> set root=(hd0,1)
2019-09-24T14:55:46 #kisslinux <yamchah2> grub> linux /boot/vmlinuz-5.3.1 root=/dev/vda1
2019-09-24T14:55:51 #kisslinux <yamchah2> grub> boot
2019-09-24T14:55:54 #kisslinux <yamchah2> doesnt work either
2019-09-24T14:56:20 #kisslinux <dylanaraps> What does it say?
2019-09-24T14:56:35 #kisslinux <yamchah2> same kernel panic
2019-09-24T14:56:57 #kisslinux <yamchah2> however i notice this now "Please append a correct root= boot option"
2019-09-24T14:57:07 #kisslinux <dylanaraps> Can't find root vfs etc etc?
2019-09-24T14:57:15 #kisslinux <yamchah2> yeah
2019-09-24T14:57:53 #kisslinux <yamchah2> the root=/dev/vda1 is there in the grub config tho :/
2019-09-24T14:57:58 #kisslinux <dylanaraps> That's a kernel issue.
2019-09-24T14:58:03 #kisslinux <dylanaraps> Related to drivers.
2019-09-24T15:00:37 #kisslinux <unternet> dylanaraps: meanwhile: rust and firefox and everything seems to have been compiled and installed successfully after 5 hours :D now struggling with xorg
2019-09-24T15:01:01 #kisslinux <yamchah2> will try again with linux-firmware
2019-09-24T15:02:56 #kisslinux <dylanaraps> unternet: nice :D
2019-09-24T15:03:15 #kisslinux <dylanaraps> yamchah2: can you send me your kernel .config?
2019-09-24T15:13:31 #kisslinux <yamchah2>   I tried with just make defconfig
2019-09-24T15:13:42 #kisslinux <yamchah2> with no changes from that default
2019-09-24T15:24:44 #kisslinux <dylanaraps> You're probably missing drivers then.
2019-09-24T15:25:49 #kisslinux <yamchah2> https://0x0.st/zt5s.png
2019-09-24T15:25:55 #kisslinux <yamchah2> thats the exact error
2019-09-24T15:25:58 #kisslinux <KayW> yikes
2019-09-24T15:26:08 #kisslinux <yamchah2> built with linux-firmware this time
2019-09-24T15:26:59 #kisslinux <dylanaraps> Yeah
2019-09-24T15:27:01 #kisslinux <dylanaraps> Driver issue.
2019-09-24T15:27:10 #kisslinux <dylanaraps> That won't change anything.
2019-09-24T15:27:18 #kisslinux <dylanaraps> It's a kernel configuration issue related to drivers.
2019-09-24T15:27:18 #kisslinux <yamchah2> any guess as to what i might be missing?
2019-09-24T15:27:29 #kisslinux <dylanaraps> Firmware needs additional configuration before it will work too.
2019-09-24T15:27:36 #kisslinux <dylanaraps> I'd need to see your .config.
2019-09-24T15:27:59 #kisslinux <yamchah2> okay gimme a sec
2019-09-24T15:29:44 #kisslinux <yamchah2> https://paste.arul.io/ylTQ
2019-09-24T15:34:53 #kisslinux <dylanaraps> CONFIG_EFIVAR_FS=m
2019-09-24T15:34:57 #kisslinux <dylanaraps> That should be =y
2019-09-24T15:40:04 #kisslinux <yamchah2> alright, retrying now
2019-09-24T15:42:19 #kisslinux <yamchah2> i can just rm the old vmlinuz and System map right?
2019-09-24T15:43:01 #kisslinux <dylanaraps> Yeah
2019-09-24T15:54:30 #kisslinux <yamchah2> I'm beginning to think I don't have the patience for source based distros lmao
2019-09-24T15:58:06 #kisslinux <dylanaraps> lol
2019-09-24T16:00:19 #kisslinux <KayW> i felt the same with gentoo ngl
2019-09-24T16:00:33 #kisslinux <yamchah2> still same error dylanaraps D:
2019-09-24T16:01:02 #kisslinux <KayW> oh also, thanks for the rounded corners patch, Dylan
2019-09-24T16:01:35 #kisslinux <dylanaraps> yamchah2: Still a missing driver then.
2019-09-24T16:01:42 #kisslinux <dylanaraps> KayW: No problemo
2019-09-24T16:02:19 #kisslinux <dylanaraps> Lookup your VM software and what drivers are needed. You could also compare with someone else's VM .config.
2019-09-24T16:13:24 #kisslinux <yamchah2> https://wiki.gentoo.org/wiki/QEMU/Linux_guest found this page
2019-09-24T16:13:29 #kisslinux <yamchah2> which looks useful
2019-09-24T16:24:25 #kisslinux <kyaaaaaa> https://files.catbox.moe/kg4fdr.png
2019-09-24T16:33:53 #kisslinux <yamchah2> still cant get it to work >.<
2019-09-24T16:48:47 #kisslinux <dylanaraps> yamcha2: I can't really help further... You could compare against the config from Arch or Void as a reference.
2019-09-24T16:49:01 #kisslinux <yamchah2> thats fine because i fucking did it
2019-09-24T17:10:28 #kisslinux <yamchah2> is https://getkiss.org/pages/faq/ down?
2019-09-24T17:20:08 #kisslinux <dylanaraps> Nope
2019-09-24T17:20:10 #kisslinux <dylanaraps> Loads fine for me.
2019-09-24T17:29:18 #kisslinux <yamchah2> wtf for some reason i can only load the homepage
2019-09-24T17:49:28 #kisslinux <dylanaraps> Where are you located/
2019-09-24T17:49:31 #kisslinux <dylanaraps> ?*
2019-09-24T17:49:45 #kisslinux <yamchah2> south africa
2019-09-24T17:50:06 #kisslinux <yamchah2> seems to be back up for me though
2019-09-24T17:56:22 #kisslinux <yamchah2> any idea why kiss would complain about the kiss path not being set even though /etc/profile.d/kiss_path.sh is correct?
2019-09-24T17:58:41 #kisslinux <dylanaraps> Are you running kiss with 'sudo'?
2019-09-24T17:58:47 #kisslinux <dylanaraps> (You shouldn't)
2019-09-24T17:59:24 #kisslinux <yamchah2> ah im stupid thanks
2019-09-24T18:00:15 #kisslinux <yamchah2> time to compile x and bspwm :D
2019-09-24T18:05:21 #kisslinux <dylanaraps> Nice
2019-09-24T18:13:30 #kisslinux <dylanaraps> Crestwave: pfetch is "done" minus testing on macOS/the BSDs.
2019-09-24T18:13:31 #kisslinux <dylanaraps> https://github.com/dylanaraps/pfetch/blob/master/pfetch
2019-09-24T18:13:53 #kisslinux <dylanaraps> Anything code-wise which could use a clean up?
2019-09-24T18:31:32 #kisslinux <dylanaraps> o/
2019-09-24T18:31:34 #kisslinux <dylanaraps> Welcome
2019-09-24T18:36:48 #kisslinux <kyaaa> for https://github.com/dylanaraps/kiss-initramfs/blob/master/kiss-initramfs#L47 , something simple like https://0x0.st/ztRS.txt but busybox does not support PARTUUID
2019-09-24T18:40:11 #kisslinux <dylanaraps> Good to know.
2019-09-24T18:40:13 #kisslinux <dylanaraps> Thanks