[opensuse-factory] Can I symlink VirtualBox from SSD to second drive
Hi everybody, Is it possible to symlink VirtualBox and VMware Player/Workstation Pro so that virtual drives are saved to a second 1TB hard drive? I'm trying symlink folder to folder. /mantrid/VirtualBox VMs /data/VirtualBox VMs and /var/lib/vmware/Shared VMs /data/vmware -- Cheers! Roman IRC: 551368250 ==============
Il 05/12/2016 23:32, Roman Bysh ha scritto:
Hi everybody,
Is it possible to symlink VirtualBox and VMware Player/Workstation Pro so that virtual drives are saved to a second 1TB hard drive?
I'm trying symlink folder to folder.
/mantrid/VirtualBox VMs /data/VirtualBox VMs
and
/var/lib/vmware/Shared VMs /data/vmware
I guess yes but for VBox you can change the virtual machine folder in ~/.VirtualBox/VirtualBox.xml Bye, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/05/2016 05:37 PM, Daniele wrote:
Il 05/12/2016 23:32, Roman Bysh ha scritto:
Hi everybody,
Is it possible to symlink VirtualBox and VMware Player/Workstation Pro so that virtual drives are saved to a second 1TB hard drive?
I'm trying symlink folder to folder.
/mantrid/VirtualBox VMs /data/VirtualBox VMs
and
/var/lib/vmware/Shared VMs /data/vmware
I guess yes but for VBox you can change the virtual machine folder in ~/.VirtualBox/VirtualBox.xml
Bye,
Daniele.
I tried changing it to /data/VirtualBox VMs but I'm getting an error to check the parent folder and permissions. Cannot create the the machine folder Tumbleweed in the parent folder /data/Virtual VMs. Please check that the parent really exists and that you have permissions to create the machine folder. Should I add my second drive to /etc/fstab for the SSD? Roman
Il 06/12/2016 00:46, Roman Bysh ha scritto:
I tried changing it to /data/VirtualBox VMs but I'm getting an error to check the parent folder and permissions.
Cannot create the the machine folder Tumbleweed in the parent folder /data/Virtual VMs. Please check that the parent really exists and that you have permissions to create the machine folder.
Should I add my second drive to /etc/fstab for the SSD?
Roman
Did you try from the GUI ? File->Preferences Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I have placed VMs for both vbox and kvm on usb. I cannot now remember the steps, but for vbox was very simple. i have entry in fstab for removable usb with noauto,nofail,user On 6 December 2016 at 01:13, Daniele <kailed@kailed.net> wrote:
Il 06/12/2016 00:46, Roman Bysh ha scritto:
I tried changing it to /data/VirtualBox VMs but I'm getting an error to check the parent folder and permissions.
Cannot create the the machine folder Tumbleweed in the parent folder /data/Virtual VMs. Please check that the parent really exists and that you have permissions to create the machine folder.
Should I add my second drive to /etc/fstab for the SSD?
Roman
Did you try from the GUI ? File->Preferences
Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/05/2016 07:13 PM, Daniele wrote:
Il 06/12/2016 00:46, Roman Bysh ha scritto:
I tried changing it to /data/VirtualBox VMs but I'm getting an error to check the parent folder and permissions.
Cannot create the the machine folder Tumbleweed in the parent folder /data/Virtual VMs. Please check that the parent really exists and that you have permissions to create the machine folder.
Should I add my second drive to /etc/fstab for the SSD?
Roman
Did you try from the GUI ? File->Preferences
Daniele.
Yes. That was the first thing that I tried. FYI I'm not using a second drive that's on usb. I tried adding the UUID of the second drive to /etc/fstab but during the reboot grub was searching for that drive. I think I forgot to run grub2-mkconfig -o /boot/grub2/grub.cfg. I'm going to try something and get back to the list. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 06/12/2016 20:36, Roman Bysh ha scritto:
Did you try from the GUI ? File->Preferences
Daniele.
Yes. That was the first thing that I tried. FYI I'm not using a second drive that's on usb.
I tried adding the UUID of the second drive to /etc/fstab but during the reboot grub was searching for that drive.
I think I forgot to run grub2-mkconfig -o /boot/grub2/grub.cfg.
I'm going to try something and get back to the list.
Roman
Try with: vboxmanage setproperty machinefolder /path Bye, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/06/2016 03:22 PM, Daniele wrote:
Il 06/12/2016 20:36, Roman Bysh ha scritto:
Did you try from the GUI ? File->Preferences
Daniele.
Yes. That was the first thing that I tried. FYI I'm not using a second drive that's on usb.
I tried adding the UUID of the second drive to /etc/fstab but during the reboot grub was searching for that drive.
I think I forgot to run grub2-mkconfig -o /boot/grub2/grub.cfg.
I'm going to try something and get back to the list.
Roman
Try with: vboxmanage setproperty machinefolder /path
Bye, Daniele. As root. Part of the problem is permissions.
In regards to adding the UUID to /etc/fstab. What is the command so that grub2 on the SSD doesn't sit'n wait for the 2nd hard drive to boot up. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-12-07 01:07, Roman Bysh wrote:
In regards to adding the UUID to /etc/fstab. What is the command so that grub2 on the SSD doesn't sit'n wait for the 2nd hard drive to boot up.
You should post this on a different thread, with full details. With the little you said I can't imagine. There is no reason grub would wait for a data only disk. However, if you mention a disk in fstab, it must be present during boot or it will fail. Not grub. Later. You can, however, use options like "nofail" and/or "noauto". -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 12/06/2016 10:19 PM, Carlos E. R. wrote:
However, if you mention a disk in fstab, it must be present during boot or it will fail. Not grub. Later. You can, however, use options like "nofail" and/or "noauto".
Update How to add your second 1TB drive for VirtualBox and VMware I previously formatted my second drive using gparted - formatted it using xfs as one partition and assigned the label data. Your fstab will recognize the label name as a mount point. 1. Type: sudo blkid /dev/sdb1 and copy the UUID to the hosts's /etc/fstab UUID=cf28b419-8c39-46ac-8005-d03486a64355 /media/data xfs defaults 0 2 Note that I am using /media/data as the mount point. 2. Reboot the openSUSE system. 3. Start VirtualBox File ->Preferences and change the Default Machine Folder so that it points to /media/VirtualBox VMs. Click the OK button to confirm. 4. Start VMware Player or Workstation Pro and search the host's filesystem for /media/vmware and open the .vmx file. Now you can open and save your large virtual drives to the second drive hard drive. Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-12-08 22:52, Roman Bysh wrote:
Note that I am using /media/data as the mount point.
I reserve the directory /media for automatic mounts. Instead, I use /data/something. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlhKCdcACgkQja8UbcUWM1zTEAD+KXQMZX98k6DWMwVxyUiuDCZO A/0Qt4EF6NaghWK5cq0A/0QTL5BryggCzIw+ONsYzZR7l4z0Mr4Rwcwqc5IjfGJP =YLpu -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Friday, December 9, 2016 2:33:11 AM EST Carlos E. R. wrote:
On 2016-12-08 22:52, Roman Bysh wrote:
Note that I am using /media/data as the mount point.
I reserve the directory /media for automatic mounts. Instead, I use /data/something.
-- Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" (Minas Tirith))
I wonder if I can use /srv instead of /media? I have read that the SUSE manual refers to using /media. -- Cheers! Roman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 09/12/2016 19:20, Roman Bysh ha scritto:
On Friday, December 9, 2016 2:33:11 AM EST Carlos E. R. wrote:
On 2016-12-08 22:52, Roman Bysh wrote:
Note that I am using /media/data as the mount point.
I reserve the directory /media for automatic mounts. Instead, I use /data/something.
-- Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" (Minas Tirith))
I wonder if I can use /srv instead of /media? I have read that the SUSE manual refers to using /media.
/srv is used by net/server stuff like Apache, ftp.. I've a separate partition for data mounted under /local since ages. I like to keep / and /home as small as possible. Bye, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-12-09 19:20, Roman Bysh wrote:
On Friday, December 9, 2016 2:33:11 AM EST Carlos E. R. wrote:
I wonder if I can use /srv instead of /media? I have read that the SUSE manual refers to using /media.
Just invent your own name: /ThisIsWhereIStoreMyThings for instance. /srv is supposed to be the "server" tree: ftp, web, etc. You don't have to use a name that you find in the list... just type your own. Any name that exists very probably has a purpose already. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlhLHuIACgkQja8UbcUWM1z+rAD/eh9olMJWkVBZ0MLZ+Aftd01L enMhm2E/5/R08oK59y8A/i+Uj9BeijaobQltinH5bxBWa9493f9vCWu9DYOTZs7a =h4/A -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/06/2016 03:22 PM, Daniele wrote:
Il 06/12/2016 20:36, Roman Bysh ha scritto: Try with: vboxmanage setproperty machinefolder /path
Nope. vboxmanage setproperty machinefolder default /data/VirtualBox VMs Oracle VM VirtualBox Command Line Management Interface Version 5.1.10 (C) 2005-2016 Oracle Corporation All rights reserved. Usage: VBoxManage setproperty machinefolder default|<folder> | hwvirtexclusive on|off | vrdeauthlibrary default|<library> | websrvauthlibrary default|null|<library> | vrdeextpack null|<library> | autostartdbpath null|<folder> | loghistorycount <value> defaultfrontend default|<name> logginglevel <log setting> Syntax error: Incorrect number of parameters Roman
Il 07/12/2016 01:13, Roman Bysh ha scritto:
On 12/06/2016 03:22 PM, Daniele wrote:
Il 06/12/2016 20:36, Roman Bysh ha scritto: Try with: vboxmanage setproperty machinefolder /path
Nope.
vboxmanage setproperty machinefolder default /data/VirtualBox VMs
Wrong: vboxmanage setproperty machinefolder /data/VirtualBox or edit the xml file Bye, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2016-12-05 23:32, Roman Bysh wrote:
Hi everybody,
Is it possible to symlink VirtualBox and VMware Player/Workstation Pro so that virtual drives are saved to a second 1TB hard drive?
vmware Player (gratis edition) tries to use [home]/vmware. I can browse and tell it to create or use any folder in the filesystem, as long as the user has read/write permissions on it. However, I find it easier to redirect: cer@Telcontar:~> l vmware lrwxrwxrwx 1 cer users 29 Aug 26 13:49 vmware -> /data/vmware/Virtual Machines/ Fewer clicks, because it tends to forget the last used folder, specially after an upgrade. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (4)
-
Carlos E. R.
-
Daniele
-
nicholas cunliffe
-
Roman Bysh