{"id":184371,"date":"2026-11-23T21:36:35","date_gmt":"2026-11-23T19:36:38","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/xnu-linux-dlya-zagruzki-yadra-i-polzovatelskogo-okruzheniya-macos-v-linux"},"modified":"2026-11-23T21:36:41","modified_gmt":"2026-11-23T19:36:41","slug":"xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/no\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","title":{"rendered":"XNU Linux for booting the kernel and user environment of macOS in Linux","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Heyang Zhou, one of the creators of the Deno Deploy platform, published the XNU Linux project, which allows for the compilation and loading of the XNU kernel as a kernel module in Linux, enabling the execution of a macOS user environment within Linux. XNU is used in macOS, is part of the open-source Darwin project, and represents a hybrid kernel that combines the Mach microkernel, FreeBSD kernel subsystems, and the C++ IOKit API for writing drivers. By loading XNU as a kernel module, it is possible to run the native macOS graphical environment within Linux, where macOS applications, including the Safari browser, can operate.     <\/p>\n<p>The XNU kernel is built from the source code provided by Apple and runs in Linux as the kernel module xnu.ko, which interacts directly with the CPU and memory management unit (MMU), allowing both Linux and macOS processes to run side by side on a single CPU without the need for a hypervisor. To allow the XNU kernel access to memory, files, timers, exception handling, networking, and GPU through the Linux kernel, the fki.ko (Foreign Kernel Interface) module has been created as a bridging layer.     <\/p>\n<p>Modulen med XNU-kjernen fungerer i sitt eget adresseomr\u00e5de \u2014 XNU-kjernen mottar en sammenhengende blokk med fysisk minne fra Linux og administrerer den gjennom sin pmap, mens en del av adresseomr\u00e5det for brukerprosesser brukes i fellesskap av Linux og XNU. Hver virtuell CPU for macOS er opprettet som en Linux-kjernetr\u00e5d, knyttet til den fysiske CPU-kjernen. For tilgang til diskbildet med macOS, skjerm, tastatur, mus, Ethernet og GPU, blir det gitt lavniv\u00e5drivere. Den grafiske API-en Metal er implementert p\u00e5 toppen av Vulkan gjennom lagret metal2vulkan.  <\/p>\n<p>The bridging kernel module and accompanying utilities are distributed under the GPLv2 license, while components of the XNU kernel module are provided under the APSL-2.0 license. The drivers XnuDisplay, XnuEthernet, and XnuInput, borrowed from the macOS-DroidVM project, are available under the BSD license. The XNU Linux project also leverages work from the UniXNU project, which allows macOS and iOS to run on ARM64 systems not made by Apple. Development of XNU Linux is being conducted using the AI assistant Claude. As an example, the booting of a macOS system disk in Ubuntu Linux, created by Apple's installer, has been demonstrated. Currently, only booting on ARM computers by Apple with M1 chips and newer is supported.    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/2df276474e9a91933523206c5cb7c12f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/939011fe4939f2b62320abc3a7be0595.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <center><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/11\/614336748bf215dea21870052a28369d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/center><br \/>\n<br \/>Kilde: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66747\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f macOS \u0432 Linux. XNU \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 macOS, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Darwin \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u043e\u0435 \u044f\u0434\u0440\u043e, \u0441\u043e\u0447\u0435\u0442\u0430\u044e\u0449\u0435\u0435 \u043c\u0438\u043a\u0440\u043e\u044f\u0434\u0440\u043e Mach, \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u044f\u0434\u0440\u0430 FreeBSD [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":184373,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-184371","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/no\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"nn_NO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47XNU Linux \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f macOS \u0432 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/no\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-23T19:36:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-23T19:36:41+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47XNU Linux for \u00e5 laste ned kjernen og brukergrensesnittet til macOS i Linux | ProHoster","description":"Heyang Zhou, en av skaperne av Deno Deploy, har publisert prosjektet XNU Linux, som gj\u00f8r det mulig \u00e5 kompilere og laste opp XNU-kjernen som et kjerne-modul i Linux og bruke den til \u00e5 kj\u00f8re.","canonical_url":"https:\/\/prohoster.info\/no\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"nn_NO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47XNU Linux \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430 \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f macOS \u0432 Linux | ProHoster","og:description":"\u0425\u044d\u044f\u043d \u0427\u0436\u043e\u0443 (Heyang Zhou), \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b Deno Deploy, \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0435\u043a\u0442 XNU Linux, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e XNU \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043c\u043e\u0434\u0443\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.","og:url":"https:\/\/prohoster.info\/no\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-11-23T19:36:38+00:00","article:modified_time":"2026-11-23T19:36:41+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts\/184371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/comments?post=184371"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts\/184371\/revisions"}],"predecessor-version":[{"id":184372,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/posts\/184371\/revisions\/184372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/media\/184373"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/media?parent=184371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/categories?post=184371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/no\/wp-json\/wp\/v2\/tags?post=184371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}