Posts
4802
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

The end result:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       932G   14G  918G   2% /
vendorfw         16G   79M   16G   1% /usr/lib/firmware/vendor
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           6.3G   22M  6.2G   1% /run
tmpfs            16G   18M   16G   1% /tmp
/dev/nvme0n1p5  974M  234M  673M  26% /boot
/dev/sda1       932G   14G  918G   2% /home
/dev/nvme0n1p4  499M  129M  371M  26% /boot/efi
tmpfs           3.2G  864K  3.2G   1% /run/user/1000

$ sudo btrfs filesystem show  
Label: 'fedora'  uuid: ff4c6159-93b4-49db-b9fe-13fdb502563c
	Total devices 1 FS bytes used 12.33GiB
	devid    2 size 931.51GiB used 20.06GiB path /dev/sda1
0
0
0
Edited 10 months ago

I installed Asahi Linux to a 128 GB rootfs (out of 1 TB of internal storage). It is connected to a dock with an external 1 TB M.2 drive. Fedora sees this drive as /dev/sda.

Migrating the subvolume of /home was just a matter of creating a single all encompassing BTRFS partition to /dev/sda and then:

sudo btrfs device add /dev/sda1 /home -f
sudo btrfs device remove /dev/nvme0n1p6 /home -f

Now there is an airtight separation / and /home physically, and also they pool space only within their own cages.

Apple firmware supports only booting macOS from external storage, thus the rootfs must always reside in the internal storage, but I think this is already quite sustainable way to deal with it.

This bottleneck/policy can be mitigated but it does not pay the price. It can be overcome by installing macOS to an external storage and consuming internal storage in its full extent for Asahi Linux. Just mentioning this last for completeness ;-)

Encryption can/could be done by following https://davidalger.com/posts/fedora-asahi-remix-on-apple-silicon-with-luks-encryption/ with “a twist’ (since different partition/drive topology).

#apple #macos #linux #asahilinux

1
2
3
US Ambassador to Finland's immediate reaction of Trump's win in 2016 while still serving 😅 #Trump #diplomacy
0
0
0
my friends have started to bully me as "jarkko.js" (those are my name letters). did not came to mind when picking username for my github account duh...
1
0
1
Since I guess Google knows Rust better than me I guess I'm doing the state of art with custom target JSON-files, i.e. deploying them to a random directory in the project directory :-)

I kind of hoped that there would be a place (let's say .cargo/targets or similar) under the project that gets automatically recognized by the tooling. Then you could just put that to rust-toolchain.xml like any other target.

https://security.googleblog.com/2024/09/deploying-rust-in-existing-firmware.html

#cargo #rust #rustup
0
0
1
@kernellogger I'm also going to try out your instructions, try to polish them and come up with something :-) I'll share the results when I have something. Compiling kernel is my thing (I guess) ;-)
1
0
1
@kernellogger Finding out what would be a sustainable approach to test kernel patches with a distribution kernel is already a conference presentation. If I was in Linux conference, would not miss that one. It is *rarely* covered topic.
2
0
0

Let’s imagine you want to do this in Rust:

#[link_section = ".note.jarkko"]

What is the default alignment?

#rust

0
0
1
@vathpela @kernellogger @securepaul Yeah all this helps! It's just before I take a few days and play with all these cool ideas that you and others kindly provided, anything I would right now would probably be uttermostly incorrect :-) Lot's of stuff to process. Thank you!
0
0
0
Laptop camera is not only bad but usually at home it is connected to an external display.
0
0
0
Edited 10 months ago
Have not really checked this through but what is keeping v4l2loopback out of upstream?

It's useful for instance using a phone as a webcam during meetings, which actually quite useful (because e.g. iPhone actually has a quality camera).
1
0
0
@vathpela @kernellogger @securepaul I'll revisit this thanks :-) Cannot really say but appreciate all this info. Now I need to digest all this for a while.
1
0
1
@oleksandr @vbabka neither this was sarcasm, suits u sir :-)
0
1
1
@oleksandr @vbabka i believe you given the approachable bow tie you have :-)
1
0
1
@vbabka was not even sarcasm, i've seen that but never bothered to look up what it is :D thanks for answering, cannot help that titles are not something i like but that said also want to act by the book.
0
0
1
Show older