Eric! wrote:there's no clear reason why that happened or how to fix it myself.
The why it happened is analyzed below. Fixing it yourself? Not that easy, if not explained...
Let's start from the analysis of your .vbox, the "recipe" of the VM. Open it with a text editor, it's a simple XML file. At the beginning you have your <MediaRegistry> section, which holds all known present and past media, with two major entities; <HardDisks> and <DVDImages>:
<MediaRegistry>
<HardDisks>
<HardDisk uuid="{0c2b59d5-7bee-4500-8f29-e18688670dd4}" location="LUbuntu 18.04lts.vdi" format="VDI" type="Normal">
<HardDisk uuid="{d980c489-8e64-499d-b035-9dd2823e67e3}" location="Snapshots/{d980c489-8e64-499d-b035-9dd2823e67e3}.vdi" format="VDI">
<HardDisk uuid="{0a4a0e3a-c307-45c4-9752-99463161f2b3}" location="Snapshots/{0a4a0e3a-c307-45c4-9752-99463161f2b3}.vdi" format="VDI"/>
</HardDisk>
</HardDisk>
</HardDisks>
<DVDImages>
<Image uuid="{37a98e10-c474-4d65-849c-95d14d93fb04}" location="/media/esb/1TB/home/owner/Downloads/lubuntu-18.04.1-desktop-amd64.iso"/>
<Image uuid="{7454108f-ee93-478b-ab23-ca4459da5137}" location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>
</DVDImages>
</MediaRegistry>
You can see that you had your original VDI ("LUbuntu 18.04lts.vdi") and then you made a snapshot ("Snapshots/{d980c489..."), and then another snapshot ("Snapshots/{0a4a0e3a..."). You can tell that from the indentation level as well.
And then you have your two ISOs; the "lubuntu-18.04.1-desktop-amd64.iso" from which you made the installation, and the "/usr/share/virtualbox/VBoxGuestAdditions.iso" with a UUID of "{7454108f-ee93-478b-ab23-ca4459da5137}", which you mounted at some point in order to get the GAs installed. This BTW is your problem, so we'll be focusing on that later on.
As I mentioned, you have two snapshots. If you use your text editors "Search" functionality to search for "7454108f" (the initial part of your GAs ISO UUID), you'll find it in several places. I'll just give you the instances along with the line numbers, do that yourself as well.
From your Media Registry:
[quote] 18 <DVDImages>
19 <Image uuid="{37a98e10-c474-4d65-849c-95d14d93fb04}" location="/media/esb/1TB/home/owner/Downloads/lubuntu-18.04.1-desktop-amd64.iso"/>
20 <Image uuid="{7454108f-ee93-478b-ab23-ca4459da5137}" location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>
21 </DVDImages>[/quote]
IDE Storage Controller, with 2 (TWO) CD/DVD drives, "Snapshot Init", GAs ISO mounted on Port0:
[quote] 77 <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
78 <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
79 <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="0" device="0">
80 <Image uuid="{7454108f-ee93-478b-ab23-ca4459da5137}"/>
81 </AttachedDevice>
82 </StorageController>[/quote]
Same picture with "Snapshot 1":
[quote]136 <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
137 <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
138 <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="0" device="0">
139 <Image uuid="{7454108f-ee93-478b-ab23-ca4459da5137}"/>
140 </AttachedDevice>
141 </StorageController>[/quote]
But, in your current state you had:
[quote]200 <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
201 <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0">
202 <Image uuid="{7454108f-ee93-478b-ab23-ca4459da5137}"/>
203 </AttachedDevice>
204 <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="0" device="0">
205 <Image uuid="{7454108f-ee93-478b-ab23-ca4459da5137}"/>
206 </AttachedDevice>
207 </StorageController>
[/quote]You have TWO instances of the same disk! That confuses the heck out of VirtualBox, and it needs manual intervention, a minor "surgery" that can only be performed manually by experienced users, just what 'mpack' did for you.
The reason is that you had *two* DVD drivers, and you loaded both of them with the *same* DVD. The "mistake" started when you didn't realize that you don't need to add a second driver to load the GAs ISO. I bet that you saw that on a blog/vlog somewhere from an ignorant fool!
You don't go out to the market and get yourself a DVD drive, just to play a CD, do you? Well, technically that's exactly what you did. Instead of inserting the GAs ISO into the existing DVD drive, you went ahead and created a 2nd DVD drive, and then you inserted the GAs ISO. Not only that, but you tried to insert the same ISO in the 1st drive as well...
'mpack' removed all instances of your GAs ISO and gave you a clean one.