{"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\/sq\/blog\/news\/xnu-linux-for-booting-the-macos-kernel-and-userland-on-linux","title":{"rendered":"XNU Linux p\u00ebr ngarkimin e b\u00ebrtham\u00ebs dhe mjedisit p\u00ebrdorues t\u00eb macOS n\u00eb 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 users to compile and load the XNU kernel as a Linux kernel module and use it to run a macOS user environment on Linux. XNU is used in macOS, is part of the open-source Darwin project, and is a hybrid kernel that combines the Mach microkernel, FreeBSD kernel subsystems, and C++ IOKit API for writing drivers. By loading XNU as a kernel module, one can run the standard macOS graphical environment inside Linux, where macOS applications, including the Safari browser, will execute.     <\/p>\n<p>The XNU kernel is compiled from the source code provided by Apple and runs in Linux as a kernel module xnu.ko, which interacts directly with the CPU and memory management unit (MMU), enabling Linux and macOS processes to run side by side on the same CPU without a hypervisor. To allow the XNU kernel access to memory, files, timers, exception handling, networking, and GPU through the Linux kernel, a bridging module fki.ko (Foreign Kernel Interface) has been created.     <\/p>\n<p>Moduli me kernelin XNU funksionon n\u00eb nj\u00eb hap\u00ebsir\u00eb t\u00eb tij t\u00eb adresave \u2014 kernelin XNU merr nj\u00eb bllok t\u00eb vazhduesh\u00ebm fizik t\u00eb memories nga Linux dhe e menaxhon at\u00eb p\u00ebrmes pmap-it t\u00eb tij, nd\u00ebrsa nj\u00eb pjes\u00eb e hap\u00ebsir\u00ebs adresore p\u00ebr proceset p\u00ebrdoruese p\u00ebrdoret s\u00eb bashku nga Linux dhe XNU. \u00c7do CPU virtual p\u00ebr macOS \u00ebsht\u00eb paraqitur si nj\u00eb thjesht\u00ebsi e kernelit Linux, e lidhur me nj\u00eb kernel fizik CPU. P\u00ebr qasje n\u00eb imazhin e diskut me macOS, ekrani, tastiera, miu, Ethernet dhe GPU ofrohen nga pilot\u00ebt nd\u00ebrmjet\u00ebs. API grafik Metal \u00ebsht\u00eb implementuar mbi Vulkan n\u00ebp\u00ebrmjet nd\u00ebrmjet\u00ebsit metal2vulkan.  <\/p>\n<p>The project-developed bridging kernel module and accompanying utilities are distributed under the GPLv2 license, while the components of the XNU kernel module are supplied under the APSL-2.0 license. The drivers XnuDisplay, XnuEthernet, and XnuInput, borrowed from the macOS-DroidVM project, are available under the BSD license. XNU Linux also involves developments from the UniXNU project, which allows running macOS and iOS on non-Apple ARM64 systems. The development of XNU Linux is carried out with the assistance of AI assistant Claude. As an example, the booting of a macOS system disk created by Apple's installer in Ubuntu Linux was demonstrated. Currently, only booting on Apple ARM computers 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 \/>Burimi: <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\/sq\/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=\"sq_AL\" \/>\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\/sq\/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 p\u00ebr ngarkimin e b\u00ebrtham\u00ebs dhe mjedisit t\u00eb p\u00ebrdoruesit macOS n\u00eb Linux | ProHoster","description":"Heyang Zhou, nj\u00eb nga krijuesit e platform\u00ebs Deno Deploy, publikoi projektin XNU Linux, i cili mund\u00ebson nd\u00ebrtimin dhe ngarkimin e b\u00ebrtham\u00ebs XNU si nj\u00eb modulin e b\u00ebrtham\u00ebs Linux dhe ta p\u00ebrdor\u00eb at\u00eb p\u00ebr ekzekutimin.","canonical_url":"https:\/\/prohoster.info\/sq\/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":"sq_AL","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\/sq\/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\/sq\/wp-json\/wp\/v2\/posts\/184371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=184371"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/184371\/revisions"}],"predecessor-version":[{"id":184372,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/184371\/revisions\/184372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/184373"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=184371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=184371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=184371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}