Updated serenity (markdown)

Lauri Ojansivu 2023-05-13 08:29:35 +03:00
parent 15bb77b94d
commit c860f1b773

@ -130,6 +130,8 @@ https://github.com/wekan/php/blob/main/page/sign-in1.php#L58 .
## Transferring files between SerenityOS and a host Linux system
Source: [chungy](https://github.com/chungy) posted this to https://lunduke.locals.com at 2023-05-13 during Serenity Week. [chungy](https://github.com/chungy) is also porting Chocolate Doom to Serenity OS https://github.com/SerenityOS/serenity/pull/18765.
SerenityOS runs off of ext2, the "normal" file system for Linux, as such it's actually fairly easy to transfer files to and from the host system, granted a Linux host (and FreeBSD/NetBSD probably work as well).
The disk image that Serenity creates is in "Build/x86_64/_disk_image" and it is not partitioned, just a bare ext2 file system image. Mounting this as root is an option nearly every system provides out of the box (you really have to go out of your way to disable ext2 support in Linux...), simply using `sudo mount Build/x86_64/_disk_image /mnt` is enough for most configurations.