#
✕ nick:kallisti
#asahi · 2022-12-18 09:41
kallistiyour script returned qemu-system-aarch64: -soundhw: invalid option . guess my qemu don't have that option
#asahi · 2022-12-18 09:41
kallistiyeah as above I mentioned i see 2s1 and 2s2 in du but I think these might not be right
#asahi · 2022-12-18 09:37
kallistimps_: the example looks handy. Any way to get the partition layout correct from macos so I[m not iterating?
#asahi · 2022-12-18 09:36
kallistiThink it would give me an error if it didn't exist however
#asahi · 2022-12-18 09:36
kallistiseems like it's hanging so I assume I need to try a different /dev/disk0s* volume
#asahi · 2022-12-18 09:35
kallistisudo qemu-system-aarch64 -drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6 -machine virt-7.2
#asahi · 2022-12-18 09:33
kallistimps_: have you tried that?
#asahi · 2022-12-18 09:33
kallisti``` qemu-system-aarch64 -kernel bzImage -hda rootdisk.img -append "root=/dev/disk2s1" -machine virt-7.2 qemu-system-aarch64: -hda rootdisk.img: Could not open 'rootdisk.img': No such file or directory```
#asahi · 2022-12-18 09:31
kallistiSeems like I want to do something like `qemu-system-arm64 -kernel bzImage -hda rootdisk.img -append "root=/dev/disk2s1" or `qemu-system-arm64 -kernel bzImage -hda rootdisk.img -append "root=/dev/disk2s2"
#asahi · 2022-12-18 09:28
kallistiI'm not even sure which partition to specify. I take a look in disk utility and it looks like I'm missing some details there, but I do see some small partitions for Asahi there.
#asahi · 2022-12-18 09:21
kallistihttps://www.qemu.org/docs/master/system/linuxboot.html
#asahi · 2022-12-18 09:20
kallistido I use the -drive flag? Something like this https://unix.stackexchange.com/questions/671966/booting-from-real-uefi-disk-image-on-qemu
#asahi · 2022-12-18 09:16
kallistiGuess I can try to play with qemu for a minute. Don't see /dev/disk* partitions via UTM
#asahi · 2022-12-18 09:15
kallistinot sure what /dev/disk$something we're discussing here? The /dev/disk$something path to where asahi is installed?
#asahi · 2022-12-18 09:13
kallistiNot sure about what a qcow file is
#asahi · 2022-12-18 09:12
kallistiHave UTM installed, think it's a wrapper around qemu
#asahi · 2022-12-18 09:10
kallistiYeah, that makes sense. Was going to say something like mac OS probably doesn't understand the filesystem, so not sure how the host would pass it on to the VM
#asahi · 2022-12-18 09:07
kallistiChaosPrincess: so not possible to chroot into it from UTM / qemu, since I have that running?
#asahi · 2022-12-18 09:01
kallistiAnyone know how to access the filesystem from UTM to chroot into ashai to fix my password problem?
#asahi · 2022-12-18 08:58
kallistiany hints on chrooting?
#asahi · 2022-12-18 08:58
kallistiahh, much easier. Now I just need to launch and chroot into the asahi install
#asahi · 2022-12-18 08:56
kallistilooks like I'll give UTM a shot then...
#asahi · 2022-12-18 08:50
kallistihttps://yum.oracle.com/boxes/
#asahi · 2022-12-18 08:49
kallistinicolas17: Ahh ok. Yeah I thought about that. I have vbox running now. Guess I could get one of these prebuilt orcas linux builds
#asahi · 2022-12-18 08:48
kallistiHmm it looks like I'm going to have to reinstall unless I want to spend all weekend tooling around.
#asahi · 2022-12-18 08:47
kallistiIt looks like there is a virtualbox beta for macOS. But I have no idea how I would boot ashai using it, or using qemu
#asahi · 2022-12-18 08:38
kallistiGoing to try to see if I can launch asahi from virtualbox on the mac. That would be pretty awesome and make this easier. Or if I could chroot from a virtual environment
#asahi · 2022-12-18 08:33
kallistiBut yeah, how should I build a bootable usb. And anyone have chroot instructions? I do these things once every 2-5 years ...
#asahi · 2022-12-18 08:32
kallistiyeah i dunno. I could try to boot chroot. I would probably be better off cause I wouldn't lose my config that way.
#asahi · 2022-12-18 08:29
kallistitempting to just reinstall since it's burning all my time
#asahi · 2022-12-18 08:28
kallisti;/
#asahi · 2022-12-18 08:28
kallistihmm yeah it said root account is locked or similar... didn't work :?
#asahi · 2022-12-18 08:19
kallistiyeah nice. I get the kernel params part. Thanks I will give it a shot!
#asahi · 2022-12-18 08:18
kallisti;/
#asahi · 2022-12-18 08:18
kallisti;?
#asahi · 2022-12-18 08:18
kallistiok I will give it a shot. fingers crossed as I have already lost a couple hours tooling around :?
#asahi · 2022-12-18 08:18
kallistiwith a single = ...
#asahi · 2022-12-18 08:17
kallistiyeah so should I just try appending rescue systemd.setenv==SYSTEMD_SULOGIN_FORCE=1 now?
#asahi · 2022-12-18 08:16
kallistiOr that I should try to install to my usb c flash drive and chroot into the system and reset the password that way? Finally chrooting from docker or a vm on mac os would be nice because I wouldn't have to reboot (until testing if it worked)
#asahi · 2022-12-18 08:15
kallistiSo is the concensus I should try entering kernel parameter SYSTEMD_SULOGIN_FORCE=1 and hope that I can login like that from tty5 or 6?
#asahi · 2022-12-18 08:13
kallistincl: do we set environment like we do kernel parameters? I am really just an ignorant end user so idk these things
#asahi · 2022-12-18 08:12
kallistincl: https://systemd.io/ENVIRONMENT/
#asahi · 2022-12-18 08:08
kallistidoes the ashai install script work for that?
#asahi · 2022-12-18 08:08
kallistiso what can i use to create a bootable image on an external flash drive?
#asahi · 2022-12-18 08:07
kallistier, perhaps i do have a nvme flash drive with usb c
#asahi · 2022-12-18 08:07
kallistimps_: yeah hmm unfortunately don't have a usb stick
#asahi · 2022-12-18 08:06
kallistincl: idk rizon
#asahi · 2022-12-18 08:05
kallistihttps://www.reddit.com/r/AsahiLinux/comments/xxmo0m/reset_forgotten_password/
#asahi · 2022-12-18 08:04
kallistiAnyhow don't think it will work. But I will have to leave the chat to test as I'm in macOS now.
#asahi · 2022-12-18 08:03
kallistino alt key on macOS keyboard

plus ›