2023-08-16
01:03i509vcb has joined #asahi
01:03possiblemeatball has joined #asahi
01:12vlvrd has joined #asahi
01:15marvin24_ has joined #asahi
01:19vlvrd has quit [Quit: Leaving]
01:20marvin24 has quit [Ping timeout: 480 seconds]
01:28i509vcbI *may* have run mkfs.swap on RecoveryOSContainer, have not set the swapfile on, is there something I can do to undo that error or am I doomed to idevicerestore/borrowing my mom's computer for dfu restore?
01:28xadammr has joined #asahi
01:29Brainium has quit [Quit: Konversation terminated!]
01:36chadmedi509vcb: you will need a device with apple configurator unfortunately but you dont need to do a full wipe iirc
01:36chadmedso long as the partition table is as configurator expects, you can do the "revive" option and it will rebuild the system wide rOS container and leave everything else alone
01:37chadmed(cc marcan because he figured this out... after i did the exact same thing you just did)
01:40dylanchapell has quit [Read error: Connection reset by peer]
01:50i509vcbInteresting I can still hit Linux but there is the fun part of holding the power button for more than 10s
01:51tertu2 has joined #asahi
01:54dylanchapell has joined #asahi
01:57tertu has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:08ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:08Dementor has quit [Quit: Ping timeout (120 seconds)]
02:21ourdumbfuture has joined #asahi
02:27marcanboot into recoveryOS, format it as APFS, create the Recovery container with the correct role ('R'), delete the default container it created, go back to Linux, fix the partition type GUID which diskutil will have screwed up (and make sure RecoveryOSContainer is still the name just in case), then do a Revive with Apple Configurator
02:27gabuscus has joined #asahi
02:27marcanthat should get you into paired recoveryOS for whatever OS is your default boot OS right now
02:30marcan`diskutil list` to get the state of things, `diskutil eraseVolume apfs RecoveryOSContainer <partition>` to format the partition properly
02:32marcanthen `diskutil list` again to see what you have, `diskutil apfs addVolume <container device> apfs Recovery -role R` to create the Recovery volume
02:32marcanfor <container device> use the synthesized disk (disk2 or whatever shows up after you format it)
02:32marcanthen finally `diskutil apfs deleteVolume <old default volume>` (to delete the other volume than Recovery that the eraseVolume created)
02:33marcanthen back to linux and edit the partition type back to what it needs to be (modern fdisk should have it in the list), and set the name too just in case if it went away
02:37marcanthe reason this state is dangerous is that if there's a problem with your default boot OS/recoveryOS *then* you end up in an unrecoverable state as there's no way to switch OSes without a working recoveryOS
02:37Aya_Takahashi has quit [Remote host closed the connection]
02:37marcanbut as long as you have Linux as the default OS and the installer did its job properly with recoveryOS (which it had to, otherwise step2 wouldn't have worked), you can recovery
02:40marcan(for those unaware: where I say "unrecoverable state" I mean without a full wipe. DFU full wipe always works but wipes your data.)
02:44rvalue has joined #asahi
02:45marcanI wonder if I can just do this again and take a disk image of the empty recoveryOS container and publish it, that would make this mess a lot easier to solve for people
02:45ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:47Z750 has quit [Quit: Ping timeout (120 seconds)]
02:47Z750 has joined #asahi
02:49nicolas17marcan: is there anything particularly unique about a functional recoveryOS? does it need to be personalized and blessed by the bootpolicy or something?
02:53nicolas17marcan: oh in case you missed it, there's a new feature in the latest macOS 14 beta: you can now DFU revive or restore a Mac from another Mac using Finder, instead of needing Apple Configurator
02:57jeisom has quit [Quit: Leaving]
02:59jeisom has joined #asahi
03:01nicolas17i509vcb: note that will not give you a working recoveryOS, it will give you an empty partition that Apple Configurator is capable of recovering; you'll still need your mom's laptop :P
03:07jeisom has quit [Ping timeout: 480 seconds]
03:22marvin24 has joined #asahi
03:30marvin24_ has quit [Ping timeout: 480 seconds]
03:33tomba4032 has quit [Ping timeout: 480 seconds]
03:53i509vcbnow back to what I was trying to do before this whole mess... Actually add a swap partition since I forgot to do that at install time...
04:13crabbedhaloablut has joined #asahi
04:29dylanchapell has quit [Read error: Connection reset by peer]
04:43dylanchapell has joined #asahi
04:50possiblemeatball has quit [Quit: Quit]
05:10ciara has quit [Read error: Connection reset by peer]
05:13ciara has joined #asahi
05:17ciara has quit [Remote host closed the connection]
05:19ciara has joined #asahi
05:39nicolas17 has quit [Quit: Konversation terminated!]
06:48pjakobsson has joined #asahi
06:49crabbedhaloablut has quit []
06:52WindowPa- has joined #asahi
06:56WindowPain has quit [Ping timeout: 480 seconds]
06:56LinuxM1 has joined #asahi
07:05WindowPa- has quit [Quit: ZNC 1.8.2 - https://znc.in]
07:05WindowPain has joined #asahi
07:19bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:20Zopolis4 has joined #asahi
07:36LinuxM1 has quit [Quit: Leaving]
07:56Method_ has joined #asahi
07:58luna has joined #asahi
08:00Method has quit [Ping timeout: 480 seconds]
08:04chadmed has quit [Ping timeout: 480 seconds]
08:27milek7 has quit [Remote host closed the connection]
08:30milek7 has joined #asahi
08:30leitao has joined #asahi
08:44cylm_ has joined #asahi
08:44mcint has quit [Quit: WeeChat 3.0]
08:48luna has left #asahi [#asahi]
09:29Zopolis4 has quit [Quit: Connection closed for inactivity]
09:38Whistler_ has quit []
09:57chadmed has joined #asahi
10:09bisko has joined #asahi
10:22chadmed has quit [Ping timeout: 480 seconds]
11:08polysinne has joined #asahi
11:16Stary has quit [Quit: ZNC - http://znc.in]
11:17Stary has joined #asahi
11:28tomba4032 has joined #asahi
11:48ourdumbfuture has joined #asahi
11:52leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:54ellyq_ has joined #asahi
11:55chadmed has joined #asahi
11:57leitao has joined #asahi
11:57leitao has quit [Remote host closed the connection]
11:58ellyq has quit [Ping timeout: 480 seconds]
12:08ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:12leitao has joined #asahi
12:13polysinne has quit [Read error: Connection reset by peer]
12:37Whistler_ has joined #asahi
12:52ellyq_ has quit [Read error: Connection reset by peer]
13:12Moprius has joined #asahi
13:27Moprius has quit [Quit: bye]
13:40Moprius has joined #asahi
14:00possiblemeatball has joined #asahi
14:05roxfan2 is now known as roxfan
14:13ourdumbfuture has joined #asahi
14:14ten1572377432 has quit [Remote host closed the connection]
14:14ten1572377432 has joined #asahi
14:22Moprius has quit [Quit: bye]
14:22luna has joined #asahi
14:31possiblemeatball has quit [Quit: Quit]
14:35ten1572377432 has quit [Remote host closed the connection]
14:36ten1572377432 has joined #asahi
14:41ten1572377432 has quit [Remote host closed the connection]
14:41ten1572377432 has joined #asahi
14:46Whistler_ has quit []
14:54luna has left #asahi [#asahi]
14:59bcrumb has joined #asahi
14:59bcrumb"error: failed retrieving file 'luajit-2.1.0.beta3.r493.g8635cbab-1-aarch64.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404" ?
15:04bcrumb has quit []
15:06jeisom has joined #asahi
15:13MichaelLong has quit [Remote host closed the connection]
15:14MichaelLong has joined #asahi
15:14leitao has quit [Ping timeout: 480 seconds]
15:32pouncehey friends, i wanted to set up asahi as a daily driver on my macbook. However, after I ran the (minimal) installer and booted into Linux, the root partition was using ext4. I usually have btrfs on my root partition, and this is rather hard to change after installation. Is there any way to configure this beforehand?
15:37as400 has quit [Ping timeout: 480 seconds]
15:38_jannau__pounce: not easily you would have to recreate the disk image used by the installer. The installer runs on macos and has no tools or fs drivers for linux file systems
15:38_jannau__however the fedora based images use btrfs for the root partition, due to be released soon
15:39pouncei would normally solve this with a live ISO, but that is not possible with asahi due to boot restrictions, right?
15:39as400 has joined #asahi
15:42as400 has quit [Remote host closed the connection]
15:43_jannau__you could do a minimal installation and switch the root partition fs type from the initramfs with rd.break
15:46as400 has joined #asahi
15:47possiblemeatball has joined #asahi
16:01ten1572377432 has quit [Remote host closed the connection]
16:01ten1572377432 has joined #asahi
16:03rvalue- has joined #asahi
16:04rvalue has quit [Remote host closed the connection]
16:23ChaosPrincesspounce: this might help you: https://man.archlinux.org/man/core/btrfs-progs/btrfs-convert.8.en
16:24pounceChaosPrincess: i've been considering this, but I believe you have to unmount your disk for this to work
16:24ChaosPrincessMake a ramdisk, copy /usr into it chroot and unmount rootfs
16:25delsol has joined #asahi
16:26ChaosPrincessI did similar operations over ssh on a server, it's "fun" :P
17:14ten1572377432 has quit [Remote host closed the connection]
17:14ten1572377432 has joined #asahi
17:18lawrence has quit [Remote host closed the connection]
17:21lawrence has joined #asahi
17:33leitao has joined #asahi
17:35leitao has quit []
17:36ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:36leitao has joined #asahi
17:40leitao has quit []
17:41leitao has joined #asahi
17:43ourdumbfuture has joined #asahi
17:44leitao has quit []
17:45leitao has joined #asahi
17:47leitao has quit []
17:48leitao has joined #asahi
17:50leitao has quit []
17:51leitao has joined #asahi
17:53leitao has quit []
17:54leitao has joined #asahi
17:56leitao has quit []
17:57leitao has joined #asahi
17:59leitao has quit []
18:00leitao has joined #asahi
18:03leitao has quit []
18:04leitao has joined #asahi
18:05gabuscus has quit []
18:05leitao has quit []
18:06leitao has joined #asahi
18:08leitao has quit []
18:09leitao has joined #asahi
18:11leitao has quit []
18:12leitao has joined #asahi
18:15leitao has quit []
18:16leitao has joined #asahi
18:16emigre has joined #asahi
18:18leitao has quit []
18:19leitao has joined #asahi
18:19ciara has quit [Read error: Connection reset by peer]
18:19ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:21leitao has quit []
18:21ciara has joined #asahi
18:22leitao has joined #asahi
18:24leitao has quit []
18:25leitao has joined #asahi
18:27leitao has quit []
18:28leitao has joined #asahi
18:30ourdumbfuture has joined #asahi
18:30leitao has quit []
18:31leitao has joined #asahi
18:32leitao has quit []
18:33possiblemeatball has quit [Quit: Quit]
18:34possiblemeatball has joined #asahi
18:36jeisom has quit [Quit: Leaving]
18:37jeisom has joined #asahi
18:43rvalue- has quit [Remote host closed the connection]
18:43rvalue has joined #asahi
18:44jacksonchen666 has joined #asahi
18:53leitao has joined #asahi
18:57lena6 has joined #asahi
19:01leitao has quit [Ping timeout: 480 seconds]
19:04eiln has joined #asahi
19:10eiln has quit [Quit: WeeChat 4.0.3]
19:12delsol has quit [Remote host closed the connection]
19:56Moprius has joined #asahi
19:58leitao has joined #asahi
20:04emigre has quit [Ping timeout: 480 seconds]
20:04jannaupounce: https://cdn.asahilinux.org/os/asahi-base-20230606-1.zip has the minimal image but it probably won't boot from USB
20:06leitao has quit [Ping timeout: 480 seconds]
20:08jannauhave you tried breaking in the initrd after making sure it contents btrfs tools and fs module?
20:09emigre has joined #asahi
20:12c10l has quit [Quit: Bye o/]
20:20c10l has joined #asahi
20:21jannaube careful: "btrfs-convert: error while loading shared libraries: libreiserfscore.so.0: cannot open shared object file: No such file or directory"
20:31Moprius has quit [Quit: bye]
21:00pouncehm, there are issues with block-size and page-size. 4kb block sizes on ext4 are fine, but create issues on btrfs with 16kb page sizes
21:00zalyx0 has quit [Quit: later alligator]
21:02zalyx0 has joined #asahi
21:03ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:07bdju_ has quit [Read error: Connection reset by peer]
21:07jacksonchen666 has quit [Ping timeout: 480 seconds]
21:10pouncehonestly, maybe i should just copy everything into a tmpfs, and then copy it into the btrfs
21:11gabuscus has joined #asahi
21:14cylm_ has quit [Ping timeout: 480 seconds]
21:21mpspounce: I have alpine linux disk image here https://arvanta.net/alpine/install-alpine-m1/ and short guide how to boot it
21:31leitao has joined #asahi
21:34leitao has quit []
21:35kdb424 has quit [Quit: The Lounge - https://thelounge.chat]
21:35kdb424 has joined #asahi
21:39ourdumbfuture has joined #asahi
21:50ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:56emigre has quit [Ping timeout: 480 seconds]
21:58ourdumbfuture has joined #asahi
22:00stipa is now known as Guest9096
22:00stipa has joined #asahi
22:05Guest9096 has quit [Ping timeout: 480 seconds]
22:34ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:37ourdumbfuture has joined #asahi
22:50emigre has joined #asahi
22:59rootbeerdan has joined #asahi
23:07possiblemeatball has quit [Quit: Quit]
23:15ten1572377432 has quit [Remote host closed the connection]
23:15ten1572377432 has joined #asahi
23:37ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:37emigre has quit [Ping timeout: 480 seconds]
23:39thansen has joined #asahi
23:44ten1572377432 has quit [Remote host closed the connection]
23:44ten1572377432 has joined #asahi
23:44ourdumbfuture has joined #asahi