{"id":2298,"date":"2024-02-10T16:48:18","date_gmt":"2024-02-10T15:48:18","guid":{"rendered":"https:\/\/www.speich.net\/articles\/?p=2298"},"modified":"2024-02-10T16:53:57","modified_gmt":"2024-02-10T15:53:57","slug":"use-lightroom-on-a-mapped-network-drive-on-linux-with-virtualbox","status":"publish","type":"post","link":"https:\/\/www.speich.net\/articles\/en\/2024\/02\/10\/use-lightroom-on-a-mapped-network-drive-on-linux-with-virtualbox\/","title":{"rendered":"Use Lightroom on a mapped network drive (on Linux with VirtualBox)"},"content":{"rendered":"\n<p>If you try to open a catalog stored on a network drive, Adobe Lightroom will complain about &#8220;Lightroom can not be opened on network volumes, removable storage or read on read only volumes.&#8221; You can easily overcome this by assigning the network drive to a drive letter using the <code><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/subst\" data-type=\"link\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/subst\" target=\"_blank\" rel=\"noreferrer noopener\">subst<\/a><\/code> command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\Windows\\System32\\subst.exe L: \\\\ERITHACUS\\IMAGES<\/code><\/pre>\n\n\n\n<p>This is especially useful if you want to run Lightroom on Linux in a virtual Windows machine with VirtualBox, but want to keep your photos on a mounted drive (in my case <code>\/media\/simon\/IMAGES<\/code>). <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup folder sharing in VirtualBox<\/h2>\n\n\n\n<p>First you need to add your mounted image folder to VirtualBox as a shared folder:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"660\" src=\"https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-1024x660.png\" alt=\"\" class=\"wp-image-2438\" style=\"width:969px;height:auto\" srcset=\"https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-1024x660.png 1024w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-300x193.png 300w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-1536x990.png 1536w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2048x1319.png 2048w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-1568x1010.png 1568w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Setting up folder sharing of our photos in VirtualBox on Linux Mint.<\/figcaption><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p>After starting Windows, the shared folder will show up in Explorer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"895\" src=\"https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2-1024x895.png\" alt=\"\" class=\"wp-image-2441\" style=\"width:962px;height:auto\" srcset=\"https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2-1024x895.png 1024w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2-300x262.png 300w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2-1536x1342.png 1536w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2-1568x1370.png 1568w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-2.png 2032w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Mounted network folder holding the photos in Windows Explorer<\/figcaption><\/figure>\n\n\n\n<p>Next, create a <code>lightroom.bat<\/code> file that executes the <code>subst<\/code> command before starting lightroom:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"785\" src=\"https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-3-1024x785.png\" alt=\"\" class=\"wp-image-2442\" srcset=\"https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-3-1024x785.png 1024w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-3-300x230.png 300w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-3-1536x1177.png 1536w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-3-1568x1202.png 1568w, https:\/\/www.speich.net\/wp\/wp-content\/uploads\/2024\/02\/image-3.png 1840w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Contents of the lightroom bat file to execute the subst command and then start Lightroom.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you try to open a catalog stored on a network drive, Adobe Lightroom will complain about &#8220;Lightroom can not be opened on network volumes, removable storage or read on read only volumes.&#8221; You can easily overcome this by assigning the network drive to a drive letter using the subst command: This is especially useful &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.speich.net\/articles\/en\/2024\/02\/10\/use-lightroom-on-a-mapped-network-drive-on-linux-with-virtualbox\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Use Lightroom on a mapped network drive (on Linux with VirtualBox)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[92],"class_list":["post-2298","post","type-post","status-publish","format-standard","hentry","category-photography","tag-virtualbox","entry"],"_links":{"self":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts\/2298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/comments?post=2298"}],"version-history":[{"count":6,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts\/2298\/revisions"}],"predecessor-version":[{"id":2447,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/posts\/2298\/revisions\/2447"}],"wp:attachment":[{"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/media?parent=2298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/categories?post=2298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.speich.net\/articles\/wp-json\/wp\/v2\/tags?post=2298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}