#
…

2022-04-23

00:19Techcable has joined #asahi
00:38Techcable has quit [Remote host closed the connection]
00:40Techcable has joined #asahi
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi
01:34derzahlim booting off an encrypted root now. yay, but it needs help...
01:34derzahlfirst i get dropped into an emergency grub shell
01:36derzahli have to "set prefix=(hd0,gptX)/grub" and then "insmod normal ; normal"
01:36derzahlwhere gptX = the boot partition
01:37derzahlby default, prefix=(hd0,gptX)/boot/grub
01:37derzahlanyone know how to fix this permanantly?
01:40bluetail[m]could be wrong but is that something you could write into /etc/fstab ?
01:40chadmedwhatre the contents of /boot/grub/grub.cfg
01:41derzahli wouldnt think /etc/fstab would be involved but im open to being proven wrong
01:42derzahlchadmed: you want me to post the full file?
01:42chadmedon dpaste or pastebin or something
01:51darkapex has joined #asahi
01:51chadmedcan you also paste the output of `mount` and lsblk
01:51chadmedim thinking youve moved the /boot partition and grub still thinks its on the root filesystem
01:53GlanzmannPhyx: In Debian, if grub hang it was the fbaa64.efi shim. Delete it and see if that works, if it doesn't use the monolithic grub from Debian. That works for sure: https://tg.st/u/grubaa64.efi drop me an email if you don't get it to work.
01:55Glanzmanngiskard: I don't have an API because as long as the dtb is not stable, we need to upgrade the kernel together with m1n1. So I have this script: curl -sL tg.st/u/ksh but there have been no user visiable changes for 4 weeks.
01:56Glanzmanngiskard: I hope that soon will be more upstreamed. After that we can use a vanilla kernel and Debian can pick it up. But probably that is more like a one to two year range.
01:59Glanzmanngiskard: s/API/apt repository/
01:59derzahlchadmed: i did. i created a separate boot partition
02:00chadmeddid you then mount that to /boot in the filesystem and point the grub image to that?
02:00derzahlbut I thought grub should pick that up when I do a grub-install
02:00derzahloh, maybe i have to specify --boot-dir to grub-install?
02:01chadmedit wont pick it up if you havent mounted it at /boot
02:01Moprius has quit [Quit: Konversation terminated!]
02:01chadmedfurthermore after installing a new version of grub you need to run grub-mkconfig -o /boot/grub/grub.cfg
02:01chadmedand obviously ensure your kernels and initrds are all in /boot
02:02derzahli have. its mounted
02:02derzahlright, ive done all that stuff
02:02derzahlbut i forgot about specifying --boot-directory to grub install
02:03derzahli only specified --efi-directory
02:03derzahlso maybe thats it?
02:04chadmedyou could try that yeah though if youve definitely mounted your new boot partition at /boot that shouldnt matter
02:05derzahlyep, definely mounted. with /boot/efi on top of it
02:06derzahlnope, didnt help
02:06chadmedit may be something hard coded in the removeable boot image
02:06derzahli wonder if its something that the m1n1 thing passes
02:07chadmedm1n1 does pass some stuff via chosen but i think that's just to identify the ESP, shouldnt affect /boot
02:07chadmedshouldnt matter after u-boot has loaded the efi image
02:20derzahloh...well, aits lready been reported
02:21derzahlguess they are hardcoding prefix in the update-grub script
02:34chadmedoh easy change then :)
02:39phiologe has joined #asahi
02:42PhilippvK has quit [Ping timeout: 480 seconds]
03:16marvin24 has joined #asahi
03:19marvin24_ has quit [Ping timeout: 480 seconds]
03:35user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:38chadmed has quit [Quit: Konversation terminated!]
03:39user982492 has joined #asahi
04:00user has joined #asahi
04:00user is now known as Guest2602
04:00Guest2602 is now known as wanderfull
05:09derzahl has quit [Ping timeout: 480 seconds]
05:40shieru[m] has joined #asahi
05:53user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:59user982492 has joined #asahi
06:03chadmed has joined #asahi
06:13CaptainYukinoshitaHachiman[m] has joined #asahi
06:18Ry_Darcy has joined #asahi
06:27derzahl has joined #asahi
07:04derzahl has quit [Ping timeout: 480 seconds]
07:12pg12_ has joined #asahi
07:13pg12 has quit [Ping timeout: 480 seconds]
07:20pg12_ has quit []
07:20pg12 has joined #asahi
07:31nicolas17 has quit [Quit: Konversation terminated!]
09:32eroux has joined #asahi
09:38YassineImounachen[m] has joined #asahi
09:39Ry_Darcy has quit [Remote host closed the connection]
10:25asahi-test[m]<mps_> "asahi-test: I wrote small..." <- thanks, i installed ff and invoking it, it asks me for the DISPLAY var which according to this:
10:26j`eyasahi-test[m]: you still need X or Wayland
10:26asahi-test[m]> <@asahi-test:matrix.org> thanks, i installed ff and invoking it, it asks me for the DISPLAY var which according to this:
10:26asahi-test[m]I might not really need Xorg, DISPLAY=:0 firefox
10:27asahi-test[m]j`ey: ys i read that DISPLAY will somehow point to X
10:27j`eyasahi-test[m]: to be clear, mps uses a graphical environment.. just not KDE/GNOME etc
10:28asahi-test[m]j`ey: OK, i see it' s just like a minimal window manager right?
10:28asahi-test[m]how can i just install just X?
10:29asahi-test[m]is X = (X)org?
10:30asahi-test[m]other than the browser and libreoffice and perhaps a pdf reader i do not need much more...
10:30j`eythen use a minimal window manager
10:31asahi-test[m]j`ey: xfce would be the more minimal, right?
10:32asahi-test[m]asahi-test[m]: will follow mps guide here: https://arvanta.net/alpine/install-x/
10:32j`eythat's its aim
10:32mps_asahi-test[m]: do that what j`ey says, and read this https://arvanta.net/alpine/install-x/
10:32asahi-test[m]mps_: I did, thanks
10:32Ry_Darcy has joined #asahi
10:33mps_but replace '3.12' there with 'edge'
10:33mps_sorry 'v3.12' with 'edge'
10:34Ry_Darcy has quit [Remote host closed the connection]
10:35Ry_Darcy has joined #asahi
10:35mps_no, by this you set xfce as default window manager or DE
10:36asahi-test[m]will test, thanks brb
10:36mps_and `/etc/init.d/slim start' is to start X display login manager manually
10:37mps_if you want to start 'slim' (display manager) on boot you have to run `rc-update add slim'
10:38mps_though I don't like to start it automatically, especially on testing machines, as is m1 for now
10:38asahi-test[m]mps_: i normally do, but i'd rather not
10:39mps_when the machine is stable it is ok to start it on boot automatically
10:40asahi-test[m]mps_: i see your point, but for example yesterday i tested w3m for text browsing the news and even duckduckgo worked
10:40asahi-test[m]asahi-test[m]: and you get rid of a whole class of attacks
10:41asahi-test[m]asahi-test[m]: you dodge it completely.
10:42mps_asahi-test[m]: this is never solved topic, i.e. security vs usability ;)
10:42asahi-test[m]mps_: ahahahaah right
10:43mps_nowadays some kind of gui is inevitable, so I'm running minimal but quite usable system
10:44mps_I need pdf viewer, gui browser, libreoffice sometimes and some other gui apps
10:44mps_oh, mpv player
10:44asahi-test[m]mps_: yes, that is great. that is a good tradeoff between the two extremes.
10:46asahi-test[m]mps_: yes but for audio one would not really need it
10:46mps_imo, it is better to develop secure behavior in what I do than fanatically try technical solutions
10:47mps_asahi-test[m]: yes, I use mpv for audio/video
10:48mps_asahi-test[m]: now I see that I forgot to add 'adduser username audio' to above guide
10:48asahi-test[m]asahi-test[m]: i meant the ui
10:49mps_it is needed to play audio
10:49asahi-test[m]ok great, will test it
10:49mps_and 'adduser username netdev' if user wants/needs to control network
11:36bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:41bps has joined #asahi
11:48user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:48Moprius has joined #asahi
12:18richardb_ has joined #asahi
12:18bps has quit [Ping timeout: 480 seconds]
12:26richardburleigh has quit [Ping timeout: 480 seconds]
12:26eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:51richardburleigh has joined #asahi
12:56eroux has joined #asahi
12:58richardb_ has quit [Ping timeout: 480 seconds]
13:05eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:10eroux has joined #asahi
13:20jluthra has quit [Remote host closed the connection]
13:21jluthra has joined #asahi
13:21Ry_Darcy has quit [Remote host closed the connection]
14:24mps_ has quit [Ping timeout: 480 seconds]
14:30mps has joined #asahi
15:12ChaosPrincess has quit [Remote host closed the connection]
15:27abbe_ has quit [Remote host closed the connection]
15:27haonaturecom[m] has left #asahi [#asahi]
15:30jochum_ has quit [Remote host closed the connection]
15:31ChaosPrincess has joined #asahi
15:40jochum has joined #asahi
16:30DarkShadow44 has quit [Ping timeout: 480 seconds]
16:38nicolas17 has joined #asahi
16:48coolshaurya has left #asahi [#asahi]
16:51abbe has joined #asahi
16:55DarkShadow44 has joined #asahi
16:55DarkShadow44 has quit []
16:56DarkShadow44 has joined #asahi
16:56asahi-test[m]got something to show...
16:59asahi-test[m]asahi-test[m]: so i am typing on this window with ff started from command line like this ( as root still ) xinit firefox $* -- :1
17:03asahi-test[m]asahi-test[m]: mps: used packages xterm mesa xorg-server xf86-input-libinput xinit mesa-dri-gallium ( eudev conflicted so did not use from your script ( ketp the one already there ) )
17:05asahi-test[m]asahi-test[m]: the rest following the error messages and your script mps GREAT!! Linux stuff!!!
17:10asahi-test[m]<asahi-test[m]> "mps: used packages xterm mesa..." <- i tried with the other non root option, but i had no privileges to start xinit ( i want if possible avoid the sudo, but later ). Also i can open pdfs using the Opton + F ( option = alt )
17:27mpsasahi-test[m]: interesting endeavor ;)
17:28mpsthere is startx command which should run from console as non root user
17:28mpsif you don't want DM (Display Manager)
17:31mpsthough i don't see any reason to not use some of simple window managers if you don't want DEs
17:33zvare there any known issues with umount2 incorrectly returning EBUSY or failing for no logical reason?
17:34mpszv: I didn't noticed
17:34mpszv: do you have case
17:35zvnot yet; trying to rule out other causes.
17:36asahi-test[m]<mps> "though i don't see any reason to..." <- yes you're right, i will use a minimalistic because i do not believe it would be possible to use libre office this way ( that i do not need all the time, hence i could have on a separate USB )
17:38asahi-test[m]<asahi-test[m]> "mps: used packages xterm mesa..." <- and this one also needed libegl. Found it with the apk search from the error message
17:39asahi-test[m]<mps> "there is startx command which..." <- will try that
17:41mpsasahi-test[m]: I use slim DM with autologin set, and awesome wm because I can tweak it programaticaly with lua and adding some applets also in lus
17:41mpsslim is really small code base
17:50asahi-test[m]<mps> "asahi-test: I use slim DM with..." <- nice, very interesting
17:52asahi-test[m]well this install has about 400MB and i no longer need to reboot to macOS to have a browser ihihihihih
17:54asahi-test[m]<asahi-test[m]> "mps: used packages xterm mesa..." <- also from this list, i guess i will not need mesa-dri-gallium
17:56mpsasahi-test[m]: mesa-dri-gallium is needed afaik
17:58mpsbecause it contains drm drivers, swrast is currently used on M1
17:59asahi-test[m]another thing, the open file does not work ( for the pdf ), also tried as an argument to firefox but i got an error because xinit assumed it as parameter for it
17:59asahi-test[m]mps: good to know
18:00asahi-test[m]s/it/itself/
18:00asahi-test[m]to close firefox i close all tabs
18:01asahi-test[m]ctrl+n works for a new window an ctrl+t also
18:02asahi-test[m]also keyboard shortcut for zoom in and out works
18:05mpsI disabled pdf in firefox and use external program, zathura-pdf-mupdf
18:07asahi-test[m]mps: good idea. But if you want to save a page as pdf from ff, you still can?
18:07mpszathura have save command
18:07asahi-test[m]mps: great then
18:08asahi-test[m]mps: right but for example a page on reading view, on firefox, can you still print it as pdf, having disabled it?
18:10asahi-test[m]mps: yep there should be quite a list of commands to lockdown firefox, will have a look at that
18:10mpsI mean, I disabled pdf view in firefox
18:11asahi-test[m]mps: right right, so the rest works
18:27gpanders__ has joined #asahi
18:41millenialhacker has quit [Remote host closed the connection]
18:46gpanders__ has quit [Remote host closed the connection]
18:51gpanders is now known as Guest2639
18:53gpanders has joined #asahi
18:54Guest2639 is now known as gpanders__
18:59kenzie has quit [Quit: The Lounge - https://thelounge.chat]
19:12kenzie has joined #asahi
19:12kenzie has quit []
19:17ciggi has quit [Ping timeout: 480 seconds]
19:17ciggi has joined #asahi
19:22bpye has quit [Ping timeout: 480 seconds]
19:25kenzie has joined #asahi
19:25user982492 has joined #asahi
19:41millenialhacker has joined #asahi
19:46bpye has joined #asahi
19:49millenialhacker has quit [Ping timeout: 480 seconds]
19:59bpye1 has joined #asahi
20:06bpye has quit [Ping timeout: 480 seconds]
20:06bpye1 is now known as bpye
20:07asahi-test[m]<asahi-test[m]> "another thing, the open file..." <- it does, it is possible to somehow start using the file system open file by going to the settings icon on the start page top right,
20:08asahi-test[m]then changing the setting of download location, then browse. After alt ( option ) F opens the window to look for the pdf. This could be done offline.
20:10asahi-test[m]asahi-test[m]: or using file:///root/some.pdf at the address bar
20:16mpsasahi-test[m]: last one
20:35user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:44bpye9 has joined #asahi
20:46bpye has quit [Ping timeout: 480 seconds]
20:46bpye9 is now known as bpye
21:04bpye3 has joined #asahi
21:10giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
21:10bpye has quit [Ping timeout: 480 seconds]
21:10bpye3 is now known as bpye
21:39user982492 has joined #asahi
22:01millenialhacker has joined #asahi
22:09millenialhacker has quit [Ping timeout: 480 seconds]
22:14user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:26eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:31yuyichao has joined #asahi
23:16user982492 has joined #asahi
23:26derzahl has joined #asahi
23:27derzahlanyone get chromium running yet?
…