virtualbox: Set defualt disk size - vagrant

Could I change virtualbox settings in order to change the default disk size?
I mean, I'm setting up my vms using vagrant. I know that, theorycally I'm able to use vagrant-disksize and enablings VAGRANT_EXPERIMENTAL="disks". However, they has not able to shrink or decrease disk size from default created 40G to requested one.
My third option is to change VirtualBox settings in order to change the default disk size of any vm.
Any ideas?

Related

Trying to delete duplicate lines however getting "Not enough memory resources are available"

I'm trying to use emeditor to delete duplicates in a 13gb file. 1 column, just newlines of text.
However, both tools to do this in emeditor (under edit->advanced) give me the same error of "Not enough memory resources are available".
Is there another way to do this? Any alternatives? Thanks
If not using a language
I would use Notepad++ and a simple
Find (?m)^(?>(.*?\S.*)\R)(?=(?:.*\R)*?\1$)
Replace nothing
demo
Removes dups from top down, its the fastest regex way to do it.
This prompt message means that available virtual memory is very low on your computer. How much physical memory do you have on your computer? I would recommend you to increase the physical memory size in your computer if possible. If that is not possible, please try:
Clean up your computer, and make sure you have enough space available in your hard drive where temporary files reside. The temporary folder can be set in the Advanced page of the Customize dialog box.
Close all apps, disable Cortana if not used, disable any startup apps if not used, restart Windows, and run only EmEditor.
Go to Customize on the Tools menu, select Advanced, select 1 from the Number of Threads.
If the prompt message still persists, you might need to check your Windows virtual memory settings. To check virtual memory settings, search for performance in the Windows Settings search box, select Adjust the appearance and performance of Windows, click the Advanced tab, click the Change button in the Virtual memory box.
If the Automatically manage paging file size for all drives was not set, try setting this automatic option first, restart Windows, and try again.
If this doesn't work or if the automatic option was already set, then clear the automatic option, try settings the Custom Size of 40960 MB for both Initial size and Maximum size, restart Windows and try again. I hope this works.

How do I increase my Anaconda environment's default command prompt size?

Every time I launch a Windows command prompt with a virtual environment from Anaconda Navigator, the default buffer size very small. I would like it to be as big as possible. If I change the buffer size property, the prompt stays at the same size (not what I expect). Changing the defaults doesn't seem to have an affect either.
My question is, how do I change the buffer size of the command prompt that is launched from Anaconda Navigator?

change default page size of firefox on linux base device

I tried to change default page size of firefox on my linux based device by changing about:config and also by changing prefs.js, but it is not able to change it. I also added user.js file, but it will not affect it.

How to automatically mount storage card in Windows CE 6

I have the following problem: on a GPS device (Mio 6800, Windows CE6) the external storage card (micro SD) is seen by Windows Explorer ONLY if I manually mount it from Control Panel. My goal is to have the Storage Card mounted when Windows boots.
I tried in Registry some keys suggested by MSDN site but does not work. Can anyone provide a solution?
Here are some registry entries I am currently using:
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class\High_Capacity]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"Profile"="SDMemory"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Name"="SD Memory Card"
"Folder"="SD"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\FATFS]
"AutoMount"=dword:1
Modify them according to the file system of the card. For example if you are using EXFAT you should set the "AutoMount" value to 1 for EXFAT entry:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\EXFAT]
"AutoMount"=dword:1
Also, make sure that after restarting the device these registry entries are still there. Maybe you need to flush the registry after you add the entries.
Hope this helps.

How can I transfer file from host os to os running in virtual machine without using any removable disk?

I am trying to transfer a pdf file from my host OS(Windows 7) to OS running on virtual machine(Linux-Backtrack) without using any removable device.Normal copy- paste is not working .How can I do it?
You need shared folders. Read this: http://www.vmware.com/support/ws5/doc/ws_running_shared_folders.html
If no suggestions works, put your files in a FAT32 formatted pendrive.
You'll see Mass Storage Device icon in bottom right corner of you VM window.
Right click press Connect(Disconnect from Host).
Works!

Resources