
{"id":43986,"date":"2023-05-11T15:15:36","date_gmt":"2023-05-11T15:15:36","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43986"},"modified":"2023-05-11T15:15:36","modified_gmt":"2023-05-11T15:15:36","slug":"read-only-issue-dual-boot","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/05\/read-only-issue-dual-boot\/","title":{"rendered":"Fix External Disk &#8216;Read-only&#8217; Issue in Ubuntu 22.04 dual-boot with Windows"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-43665\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/02\/disk-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>I have an external disk mounted in my Ubuntu 22.04 with read and write permission. It however ran into issue recently. When I tried to boot Virtual Machine from that disk, it return error &#8220;<b>NS_ERROR_FAILURE (0X80004005)<\/b>&#8220;. And, when to save VM settings it output &#8220;<i><b>Runtime error opening &#8216;\/path\/to\/vm-machine.vbox-tmp&#8217; for overwriting: -113 (Write protect error.).<\/b><\/i>&#8221;<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43989\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue-600x428.webp\" alt=\"\" width=\"600\" height=\"428\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue-600x428.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue-300x214.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue-768x548.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue-1320x942.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/vm-permission-issue.webp 1376w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>I was thinking that&#8217;s an configuration error in \/etc\/fstab for <a href=\"https:\/\/ubuntuhandbook.org\/index.php\/2023\/05\/auto-mount-external-disk-partitions\/\" target=\"_blank\" rel=\"noopener\">auto-mounting disk partition<\/a>. Until <code>touch<\/code> command returned &#8220;<i>Read-only file system<\/i>&#8221; while <code>ls -al<\/code> and file &#8216;Properties&#8217; dialog did say I have both read and write permissions.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43990\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123-600x197.webp\" alt=\"\" width=\"600\" height=\"197\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123-600x197.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123-300x98.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123-768x252.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123-1536x503.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123-1320x432.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/touch-123.webp 1572w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After digging around, I found that&#8217;s something to do with Microsoft Windows. <b>I have Ubuntu dual boot with Microsoft Windows 10. Both systems are able to access that external disk. And the issue occurs sometime after making changes to that disk from Windows 10. And, the solution is just disable &#8220;Fast Startup&#8221; in Windows.<\/b><\/p>\n<h3>Disable Fast Startup in Windows 10<\/h3>\n<p>The configuration page varies a bit in different Windows editions. Here&#8217;s how to disable the feature in Windows 10.<\/p>\n<p><b>1.<\/b> First open &#8220;Settings&#8221; from start menu. When it opens, click &#8220;System&#8221; to go power settings page.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-settings.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-settings-600x429.webp\" alt=\"\" width=\"600\" height=\"429\" class=\"aligncenter size-large wp-image-43991\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-settings-600x429.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-settings-300x214.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-settings-768x548.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-settings.webp 1291w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2.<\/b> In next page, navigate to &#8220;Power &#038; sleep&#8221; in the left pane. Then, click on &#8220;Additional power settings&#8221;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-powersettings.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-powersettings-600x429.webp\" alt=\"\" width=\"600\" height=\"429\" class=\"aligncenter size-large wp-image-43992\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-powersettings-600x429.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-powersettings-300x214.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-powersettings-768x548.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-powersettings.webp 1291w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>3.<\/b> Then, click the &#8220;Choose what the power button do&#8221; link in the left in next pop-up dialog.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do-600x316.webp\" alt=\"\" width=\"600\" height=\"316\" class=\"aligncenter size-large wp-image-43993\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do-600x316.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do-300x158.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do-768x405.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do-1320x696.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-choosepowerbutton-do.webp 1408w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>4.<\/b> Finally, click &#8220;Change settings are currently unavailable&#8221; link to unlock settings option, un-check &#8220;Turn on fast startup&#8221;, and finally save changes.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup.webp\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup-600x316.webp\" alt=\"\" width=\"600\" height=\"316\" class=\"aligncenter size-large wp-image-43994\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup-600x316.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup-300x158.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup-768x405.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup-1320x696.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/05\/win10-disable-fast-startup.webp 1408w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>&nbsp; I have an external disk mounted in my Ubuntu 22.04 with read and write permission. It however ran into issue recently. When I tried to boot Virtual Machine from that disk, it return error &#8220;NS_ERROR_FAILURE (0X80004005)&#8220;. And, when to save VM settings it output &#8220;Runtime error opening &#8216;\/path\/to\/vm-machine.vbox-tmp&#8217; for overwriting: -113 (Write protect error.).&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":43665,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[356],"class_list":["post-43986","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-disk"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=43986"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43986\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/43665"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=43986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}