{"id":780,"date":"2025-06-22T15:49:11","date_gmt":"2025-06-22T14:49:11","guid":{"rendered":"https:\/\/www.seven-stones.biz\/blog\/?p=780"},"modified":"2025-06-22T15:52:36","modified_gmt":"2025-06-22T14:52:36","slug":"ubuntu-arm-vm-recovery-on-vmware-fusion","status":"publish","type":"post","link":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/","title":{"rendered":"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM)"},"content":{"rendered":"\n<p>LLMs are nowhere near this post. <\/p>\n\n\n\n<p>I recently encountered a situation where my Ubuntu 24.04 VM was failing to boot. The blue screen DOS-style Boot Manager would be displayed and booting was halted here, with an implicit &#8216;you shall not pass&#8217;. This post covers how i addressed the problem,<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"504\" height=\"345\" src=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg\" alt=\"\" class=\"wp-image-782\"\/><\/a><\/figure>\n\n\n\n<p>Here is my setup: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Apple MBP M4<\/li>\n\n\n\n<li>VMware Fusion 13.6.3<\/li>\n\n\n\n<li>VM &#8211; Ubuntu 24.04 Server ARM<\/li>\n<\/ul>\n\n\n\n<p>Maybe this article is not for you &#8211; here&#8217;s a quick summary to help you decide for yourself; create an Ubuntu ARM Server (Server was the only ARM version in Ubuntu town) bootable disk, attach the USB drive to the VM, boot from the USB drive, break out of the Ubuntu Server install and drop to a shell (this was not straightforward &#8211; see below), mount the correct \/dev devices on \/mnt and \/mnt\/boot\/efi, along with dev, proc, etc directories. From here there&#8217;s one or both of two deviants who are liikely guilty &#8211; <a href=\"https:\/\/en.wikipedia.org\/wiki\/GNU_GRUB\">GRUB<\/a> corruption, or kernel corruption. In my case it was GRUB corruption and the fix is below&#8230; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Bootable Disk<\/h2>\n\n\n\n<p>This was a very helpful article: <a href=\"https:\/\/ubuntu.com\/tutorials\/create-a-usb-stick-on-ubuntu#1-overview\">Create a bootable USB stick on Ubuntu<\/a> &#8211; this should have got you all the way to a bootable USB drive. The iso to use is of course the ARM server version if you on M1-4 Mac. At the time of writing there is no Ubuntu Desktop 24 for ARM architectures.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connecting Your USB Drive To Your VM<\/h2>\n\n\n\n<p>Having followed the link <a href=\"https:\/\/ubuntu.com\/tutorials\/create-a-usb-stick-on-ubuntu#1-overview\">Create a bootable USB stick on Ubuntu<\/a> , you will have got your MBP to recognise the USB drive. Boot your VM. You may not see the USB as a selectiable boot drive in the top menu, in which go down to &#8216;Reset The System&#8217;. This worked for me. Boot from the USB drive. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ubuntu ARM Server install Breakout<\/h2>\n\n\n\n<p>You should see the following Grub screen &#8230; <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/grub.png\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"510\" src=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/grub.png\" alt=\"\" class=\"wp-image-784\"\/><\/a><\/figure>\n\n\n\n<p>There is an option there &#8211; &#8216;Try or Install Ubuntu Server&#8217;. The menu is lying to you &#8211; do not believe it. There is no &#8216;try&#8217;, there is only install. Unless you find an off-script way to break out. Hit enter for the try\/install option and then select the help option in the top right (as below), within which menu there is a shell option &#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/USB-installer-shell-breakout.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1061\" height=\"510\" src=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/USB-installer-shell-breakout.png\" alt=\"\" class=\"wp-image-785\"\/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mounting Your Ubuntu Drive and Repairing Your GRUB<\/h2>\n\n\n\n<p>Entering the shell, you are in a world where you are running a shell of the OS from the USB drive. You are not yet on the planet you want to be on, which is your broken Ubuntu 24 partition. <\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\">List your devices<\/h3>\n\n\n\n<p>From the shell prompt use the command: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsblk<\/code><\/pre>\n\n\n\n<p>This will list the filesystems by device. One of them will be your boot partition, another will be the device that holds your broken VM&#8217;s root filesystem. In my case the 2 partitions of interest were <code>\/dev\/nvme0n1p1<\/code> and <code>\/dev\/nvme0n1p2<\/code>, the latter of which is my root partition.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\">Mount these two partitions<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>mount \/dev\/nvme0n1p1 \/mnt<\/code><\/li>\n\n\n\n<li><code>mount \/dev\/nvme0n1p2 \/mnt\/boot\/efi<\/code><\/li>\n<\/ul>\n\n\n\n<p>You should see your famiiliar old files and directories under \/etc and \/home. <\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\">Mount the necessary system directories:<\/h3>\n\n\n\n<p><code>for i in proc dev sys; do mount --bind \/$i \/mnt\/$i; done<\/code><\/p>\n\n\n\n<p>Chroot into your not-booting VM:<\/p>\n\n\n\n<p><code>chroot \/mnt<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\">Post-chroot Diagnostic Steps<\/h3>\n\n\n\n<p>Re-install the kernel&#8230; <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>apt update<\/code><\/li>\n\n\n\n<li><code>apt install --reinstall linux-image-generic<\/code><\/li>\n<\/ul>\n\n\n\n<p>Check the contents of the EFI folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls \/mnt\/boot\/efi<\/code><\/pre>\n\n\n\n<p>You should see something like this: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>EFI\/\n\u2514\u2500\u2500 ubuntu\/\n\u251c\u2500\u2500 grubaa64.efi\n\u2514\u2500\u2500 grub.cfg<\/code><\/pre>\n\n\n\n<p>If the directory is empty, you need a GRUB fix&#8230;<\/p>\n\n\n\n<p>Hopefully you don&#8217;t need to reinstall GRUB. This should be enough: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>update-grub<\/code><\/pre>\n\n\n\n<p>To re-install: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grub-install --target=arm64-efi --efi-directory=\/boot\/efi --bootloader-id=ubuntu --recheck\n\nupdate-grub\n\n<\/code><\/pre>\n\n\n\n<p>in my case i did not need to re-install GRUB, the update was sufficient.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\">Restart<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>umount \/mnt\/boot\/efi\numount \/mnt\nreboot<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently encountered a situation where my Ubuntu 24.04 VM was failing to boot. The blue screen DOS-style Boot Manager would be displayed and booting was halted here, with an implicit &#8216;you shall not pass&#8217;. This post covers how i addressed the problem, <a href=\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":782,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,51,52],"tags":[247,246,245],"class_list":["post-780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-linux","category-ubuntu","tag-ubuntu-arm","tag-vm-recovery","tag-vmware-fusion"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM) - Security Macromorphosis<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM) - Security Macromorphosis\" \/>\n<meta property=\"og:description\" content=\"I recently encountered a situation where my Ubuntu 24.04 VM was failing to boot. The blue screen DOS-style Boot Manager would be displayed and booting was halted here, with an implicit &#039;you shall not pass&#039;. This post covers how i addressed the problem, Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/\" \/>\n<meta property=\"og:site_name\" content=\"Security Macromorphosis\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-22T14:49:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-22T14:52:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"504\" \/>\n\t<meta property=\"og:image:height\" content=\"345\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"itibble@gmail.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@seven_stones\" \/>\n<meta name=\"twitter:site\" content=\"@seven_stones\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"itibble@gmail.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/\",\"url\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/\",\"name\":\"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM) - Security Macromorphosis\",\"isPartOf\":{\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg\",\"datePublished\":\"2025-06-22T14:49:11+00:00\",\"dateModified\":\"2025-06-22T14:52:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/#\/schema\/person\/dd7adbe0152f2279b133661b823e0c28\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#primaryimage\",\"url\":\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg\",\"contentUrl\":\"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg\",\"width\":504,\"height\":345},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seven-stones.biz\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/#website\",\"url\":\"https:\/\/www.seven-stones.biz\/blog\/\",\"name\":\"Security Macromorphosis\",\"description\":\"Ian Tibble&#039;s Security Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seven-stones.biz\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/#\/schema\/person\/dd7adbe0152f2279b133661b823e0c28\",\"name\":\"itibble@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seven-stones.biz\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4efc9caa4c914912bcf9dd199b33f34a0d42e56752f4f713cd8d0c5416733603?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4efc9caa4c914912bcf9dd199b33f34a0d42e56752f4f713cd8d0c5416733603?s=96&d=mm&r=g\",\"caption\":\"itibble@gmail.com\"},\"description\":\"Author of Security De-engineering, CTO at Seven Stones (Indonesia)\",\"sameAs\":[\"http:\/\/www.seven-stones.biz\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM) - Security Macromorphosis","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/","og_locale":"en_US","og_type":"article","og_title":"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM) - Security Macromorphosis","og_description":"I recently encountered a situation where my Ubuntu 24.04 VM was failing to boot. The blue screen DOS-style Boot Manager would be displayed and booting was halted here, with an implicit 'you shall not pass'. This post covers how i addressed the problem, Continue reading &rarr;","og_url":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/","og_site_name":"Security Macromorphosis","article_published_time":"2025-06-22T14:49:11+00:00","article_modified_time":"2025-06-22T14:52:36+00:00","og_image":[{"width":504,"height":345,"url":"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg","type":"image\/jpeg"}],"author":"itibble@gmail.com","twitter_card":"summary_large_image","twitter_creator":"@seven_stones","twitter_site":"@seven_stones","twitter_misc":{"Written by":"itibble@gmail.com","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/","url":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/","name":"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM) - Security Macromorphosis","isPartOf":{"@id":"https:\/\/www.seven-stones.biz\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#primaryimage"},"image":{"@id":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg","datePublished":"2025-06-22T14:49:11+00:00","dateModified":"2025-06-22T14:52:36+00:00","author":{"@id":"https:\/\/www.seven-stones.biz\/blog\/#\/schema\/person\/dd7adbe0152f2279b133661b823e0c28"},"breadcrumb":{"@id":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#primaryimage","url":"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg","contentUrl":"https:\/\/www.seven-stones.biz\/blog\/wp-content\/uploads\/boot-manager.jpg","width":504,"height":345},{"@type":"BreadcrumbList","@id":"https:\/\/www.seven-stones.biz\/blog\/ubuntu-arm-vm-recovery-on-vmware-fusion\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seven-stones.biz\/blog\/"},{"@type":"ListItem","position":2,"name":"Rescuing an Ubuntu VM on Apple Silicon (Fusion + ARM)"}]},{"@type":"WebSite","@id":"https:\/\/www.seven-stones.biz\/blog\/#website","url":"https:\/\/www.seven-stones.biz\/blog\/","name":"Security Macromorphosis","description":"Ian Tibble&#039;s Security Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seven-stones.biz\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seven-stones.biz\/blog\/#\/schema\/person\/dd7adbe0152f2279b133661b823e0c28","name":"itibble@gmail.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seven-stones.biz\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4efc9caa4c914912bcf9dd199b33f34a0d42e56752f4f713cd8d0c5416733603?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4efc9caa4c914912bcf9dd199b33f34a0d42e56752f4f713cd8d0c5416733603?s=96&d=mm&r=g","caption":"itibble@gmail.com"},"description":"Author of Security De-engineering, CTO at Seven Stones (Indonesia)","sameAs":["http:\/\/www.seven-stones.biz"]}]}},"_links":{"self":[{"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/posts\/780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/comments?post=780"}],"version-history":[{"count":11,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/posts\/780\/revisions"}],"predecessor-version":[{"id":795,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/posts\/780\/revisions\/795"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/media\/782"}],"wp:attachment":[{"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/media?parent=780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/categories?post=780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seven-stones.biz\/blog\/wp-json\/wp\/v2\/tags?post=780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}