trouble with virtual machine running swg

tosc

New Member
Joined
Jun 2, 2018
Messages
20
I don't know where put this, so I'll ask here, if I'm wrong, or nobody here can help, no worries. I'm trying to move a file from my host pc to my virtual machine to make some changes work, I could add them to a .tre file, but I can't find a program that will let me view an existing .tre file or anything that will let me make a new one.

After some checking I found that I could try dragging and dropping the file in the new vm, but I need to install Guest additional services in Oracle VM VirtualBox and everytime I try, I get the error

Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine SWGemu VM Server v1.3 by Erusman.

Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code: E_FAIL (0x80004005)Component: ConsoleWrapInterface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}Callee: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

I've tried removing the drive in the VM manager and re-adding an empty drive, and when I try to add guest services again in the restarted vm, I get a message saying the the drive has software that wants to run and do I trust the software, and I get 2 options, run or cancel. When I hit run, I get the same error again.

I did some checking and found a terminal solution of:

sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso

But when I do, I get a login screen asking for sudo swgemu password.

so if anyone has any input, I would really appreciate it, either with how to get guest services installed, or how to make my own, or add a file to .tre files.

Thanks again.
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
the easiest way to copy files over is to setup a shared folder to the vm from your host. If you are using Zonamadev go into the vm settings on virtual box and go to shared folders. create a new share and point it to a folder on your host ensuring the auto-mount is checked. Turn on the vm and when loaded open up a terminal window. Type in the following sudo adduser vagrant vboxsf. Reboot the vm and you should now see and be able to access the shared folder in your file manager
 

tosc

New Member
Joined
Jun 2, 2018
Messages
20
what about if I'm not using ZonamaDev? I have Zonama installed in another vm, but I've been working on an Erusman build for all this first.

I know everyone's saying to use ZonamaDev, but I've already put a lot work into the Erusman build first.
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
if it uses virtual box it is a similar process. Just replace the vagrant part with what ever the user account is on Erusman
 

tosc

New Member
Joined
Jun 2, 2018
Messages
20
I've tried that sudo adduser vagrant vboxsf with and without the vagrant section, it always says:
[sudo] password for swgemu:

no matter what I put, it's incorrect. I just can't add "Devices > insert guest additions cd"

When I do that, it loads a CD onto the desktop called VBox_GAs_5..2.12 when I double click on it, it opens a folder with a bunch of folders in in, but when ever I click on any of them, even .exe files, it opens another folder, and doesn't run anything, and the files inside are .data or .rdata, .reloc .text and a few others.

Also, if I right click on the cd on the desktop, instead of double-clicking it, i get an option to run it, and it just give me a message saying this cd has software that wants to run automatically, should it run? I click yes, and it gives an error "Oops! there's a problem running t his sofware. Unable to locate the program.

so I don't know what to do.
 

tosc

New Member
Joined
Jun 2, 2018
Messages
20
Also, I am now able to see the folders I've shared from my hard-drive inside the vm, but when I try to view the files, I get an error saying I don't have the necessary permissions to view the contents. I know there some command to change my prefrences, but when I try it, I always get the prompt for Sudo password... which I have no idea of.

acutally, what it's asking for is:

[sudo] password for swgemu:

so, is all this really needed just to copy a single file from my pc into a vm on that same pc? I cant' understand why this is this hard.
 
Last edited:

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
According to the Erusman thread on SWGEmu these are the passwords

Debian environment passwords
swgemu
123456
su
12345678
 

tosc

New Member
Joined
Jun 2, 2018
Messages
20
thank you, I had to use sudo adduser swgemu vboxsf then the password above, then restarted the vm, but I am now able to view the files inside the shared folder. Thank you so much. :)
 
Top Bottom