Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Is it possible to clone a virtual machine using VMware Fusion on Mac OS X? I'm trying the 30 day evaluation version but there doesn't appear to be a clone feature. I tried using the Finder to copy a VM's package structure but the copy didn't appear in the Virtual Machine Library.
Just use File->open to open the copy of the VM. It will probably ask you if you want to change the VM's unique ID. If you plan to run both the original and the clone at the same time, and it's not a Windows OS that needs activation, you should say yes.
In the Virtual Machine Library window select the add button (upper left)
Select "New"
Select "Continue without Disc" button
Select "Use an existing virtual disk:"
browse to where the Vm you want to clone is located. On the bottom half of the screen you have 3 options. To create a totally separate VM select the first one " Make a separate copy of the viral disk" and just follow the instructions.
just copy the folder cp -R folder newfolder (in your docs folder) Open the folder in Vmware and say you copied it Have a look on weblog.jamisburk.org, august 15
as there may be issues with networking
Justin
I don't know fusion in detail, but in VMWare Server you can just copy the files somewhere else.
Here are the instructions on VMware's site:
http://kb.vmware.com/kb/1001524
To copy the virtual machine:
Power off your virtual machine.
Note: Making a copy of a virtual machine while it is running or
suspended can create a copy that may not boot.
Find the virtual machine bundle. For more information, see Locating
the virtual machine bundle in VMware Fusion (1007599).
Drag the virtual machine bundle to the location where you want the
copied bundle to be. If you are copying it to the same folder or
somewhere else on your hard drive, hold down the option key -- this
tells Mac OS to copy the file rather than moving it. If you are moving
the bundle to another drive or a network share, Mac OS copies the file
automatically. The cursor is superimposed with a green circle and a
plus sign, indicating that a copy will be made.
Note: This does not affect your current virtual machine.
If you power
on the copied virtual machine, Fusion asks if you have moved the
virtual machine or copied it. Select that you Moved It (unless you
need to run the copied virtual machine at the same time as the
original). This indicates that it is the same virtual machine, just
starting from a new location, and keeps all of the settings the same.
Note: When you select the Copied It option, a new UUID and MAC address
are generated, which can cause Windows to require re-activation and
may cause network issues.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
How can I share files between a raspberry pi and a windows computer?
(Like in a public folder or something like that)
There is a lot of confusion about the idea of sharing files. Some folks mean one thing, some folks mean another.
Exchanging files or transferring files. By "sharing", some people mean exchanging files or copying files between machines - that means you have to actually physically transfer files between the machines and either means using (old-fashioned) FTP or File Transfer Protocol (often with an FTP client/server like the excellent FileZilla) or the newer scp to Secure Copy files across a network, or copying to a USB memory stick and transferring them physically on foot.
Shared directories. In this setup, one machine acts as an SMB/Samba Server and the other as an SMB/Samba client. There are other possible filesystems (such as NFS) but they are not native to Windows, unlike SMB/Samba which is the native Windows network file sharing protocol. To my mind, it is easier to have Windows act as the server since Windows can do that anyway - rather than install and configure sharing software on your Pi. It doesn't make any difference which machine is the server and which is the client really, so let's set up Windows as the server and the Pi as the client so you don't need to install any extra software anywhere.
On Windows machine
Create a shared folder with very insecure permissions until you get set up and working properly - you can always close things down and tighten things up later. So you choose a folder to share, right-click on it and choose "Share" and then set it up for sharing - with loose permissions.
As an alternative, you can do this at the command prompt:
NET SHARE sharename=drive:path
Check that Windows is indeed sharing a folder when you are done. There is no point doing anything on your Raspberry Pi until the following command shows you are sharing a folder from the Windows side.
NET SHARE
On Raspberry Pi
Create a mount point where you would like the Windows files to appear:
sudo mkdir /WINDOWS
Now mount the shared directory so it appears on the Pi:
sudo mount -t cifs -o username=username,password=password //WINDOWS_IP_ADDRESS/share-name /WINDOWS
You can also use the Windows machine name rather than its IP address.
You should now see all your Windows files in /WINDOWS and you should be able to put files there and see them from your Windows machine
If you want to unmount the shared directory:
sudo umount /WINDOWS
If you want to always mount the shared directory when your Pi boots, you need to edit /etc/fstab and add an entry at the bottom along the lines of the mount command above to mount it always at boot:
//WINDOWS_IP_ADDRESS/sharename /WINDOWS cifs guest,uid=1000,iocharset=utf8 0 0
Once it is all working, please consider closing down and tightening up the access permissions.
I recommend WinSCP. It's not only easy to share files but also easy to edit and update it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a Windows 7 host machine with a VMWARE Workstation 9 based guest operating instance. What I need is that the guest OS to not only run but runs inside the guest in the VMWARE Workstation gui upon a host reboot--say, from a power failure. I have tried all solutions online but so far I am unable to make the GUI to appear--though the guest OS does launch.
Here is my solution so far: I have created a .bat file and setup Windows Task Scheduler to start the .bat program. Here is what's inside the batch file:
cd "C:\Program Files (x86)\VMware\VMware Workstation"
vmrun start "C:\VirtualMachines\WindowsServer2012_std_ArcGISVM2\Windows Server 2012 Std.vmx" gui
Note, I am using 'vmrun' program but using other online solutions which use the VM Ware Workstation's executable doesn't help with the gui part either. And adding or removing the 'gui' flag doesn't seem to make any difference.
Also note, I'd rather not use the Workstation as a Server in a 'shared' virtual machine setup. There should be a simpler way.
Thanks!
[Edited/Detailed Answer Below]
Never mind. I did end up creating a Shared VM per the instructions from another site (whose link is not working anymore!)
Here is how I accomplished this:
Using VMWare Workstation gui, pressed F9 to bring up option to enable Sharing of VMs.
In the Sharing window, right click on your VM ->Manage -> Share the VM; I chose default options.
In the same gui, under 'Shared VMs' tab, click 'Manage Auto Start'
That's all it took! And now I am able to launch the VMWare Workstation GUI after the host system reboots.
PS. I posted the Question here because I was originally using a script to achieve this; I thought there could be more scripts/programming solutions. Also, Expert Exchange maybe a competition but it provided me full solution yesterday without requiring any login; so, being a once paying member there, I had assumed that they have now become a 'free' site. But today their link doesn't work.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
Chroot is often assimiled to be a kind sandbox. But in Unix, it also allow use of programs on certain non-bootable installation.
When I search chroot for windows: I see things like sandbox. I don't want security, I want a way to rescue the system. By example, if I disabled syskey with ntpasswd, running C:\windows\system32\syskey.exe with a such utility would modify the registry entries of the of the offline installation, not the current one.
It could be called runon similar as runas for alternative users.
What chroot would means here for windows? Well, there is winre which allow having the same drive letters of your windows installation. There is an example: compact.exe is not present on winre installs. if you cd to \%Windir%\system32 (the directory of the offline install) and run compact, it won't work(except if you use it with /?). If you run
X:\sources\>path C:\Windows\System32\
You now use the files present in your offline windows. Base dlls such as ntdll.dll or eventually gdi.dll are those from C:\Windows\System32 instead of X:\%windir%\system32 and running compact will work.
But Programs runned by this way will use the current registry. The main keys (HKLM; HKCC; HKCR; HKCU; HKU; HKEY_PERFORMANCE_DATA) with their contents, are those of the current winre/pe installation, not those you have when you booted in your windows. So, if a program want to modify some registry entries, it will modify the Hives of X:\windows\system32\config not those of located in the C:\ systemdrive.
It is possible to mount the Hives of your offline windows under HKLM and edit them, but the programs which have their informations in HKLM\Software would still look at HKLM\Software and not at the name you mounted it.
The utility I am looking for would (partially?) hide the registry of winpe/re in favour of the one present in the offline install. The expected effect is that if you launch the registry editor with the utility, you will see the keys as if you would have booted into windows. (Maybe with some exceptions?)
The application would still use the Microsoft services of the current windows. I'd like launching services installed on the offline windows that are not installed on the current one. It would be nice to do this even for kernel ones. By this way, you would have the same behaviour when you launch sysv daemons in unix. Except here some mechanism for avoiding dual instances could be necessary, because the problems would be more critical on windows
The user access rights are an important part in the Microsoft systems. Specifying a user name and password in the parameters of the command line could be necessary. Some problems occurs with a bad User database configuration and prevent windows to boot. If want to enable syskey again, It would need to have the authentication informations which couldn't be used. But in some case like syskey problems, it make windows in endless reboots. I think one possibility would be to find a way to mount the user Hives by providing their path instead of login informations. Or if it is impossible, try to keep the user keys/informations of the current booted windows.
I don't know if a utility like this exist. I'd like help for programming it with mingw from linux (I can't have Visual Studio) . It would be good if it don't need to be installed. I would like it don't use .NET or the full windows API, because I would like to see it working under winre. I write for C/C++ under linux, but I never done it for windows. The only experience I have is provided by the fact I managed to build 7-Zip with winebuilder. I just know that the main function is called "main" for console programs and "WinMain" for windows ones. I am not familiar with WINAPI nor nt API. I just know there are not real equivalent to the chroot() of the Unix API.
I hope this is possible, thanks in advance.
The answer, after some review, is No. You can't do that. There are too many embedded references to HKEY_LOCAL_MACHINE in the various system DLLs; at the very best, you would end up with a very buggy system (since different parts of the system would be seeing different views of the machine configuration.)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Couldn't seem to get any bites on this over at "AskDifferent" so thought I'd try here.
As I'm waiting for my new gleaming iMac to arrive, I'm considering buying OS X Server since it's only $20 now and offers Open Directory.
We have two MacBook Pros, so I'd like to have all of us able to log into any of the 3 Macs with our ID.
1) Can I simply switch from a local user to a network user without losing my home directory contents?
2) Is it just my home directory that is mirrored on the server? Or is it all the applications I've installed etc. For example, if I install an application on Laptop A will it show up on Laptop B?
3) I assume that when I have the laptop somewhere that the server is not available, that I can still get to all my home directory contents. They will then magically sync back up when I get back to my regular network?
Thanks in advance
I have something of a similar nature in my home.. A Mac server and two iMacs and a Macbook Pro running off it. For this to work properly the iMac has to be running constantly, or in a state where it can be waked through Ethernet (configurable in System Preferences). To answer your questions:
1) You can do this, but it isn't automatic. You need to copy the content from the local user to the networked user, essentially creating a new user account in the process and copying all of your existing content to that. If you feel adventurous, you could try this ( http://support.apple.com/kb/HT5338 ), which is Apple's method of converting a local account to a networked one, but it doesn't require some work in the terminal, which is a little much for some people.
2) The optimal setup is where the server is the basis for all of your files, and they are simply downloaded to your Macbooks when you log in. And then any changes that are made are reflected on the server, and hence everywhere you log in.
3) Mountain Lion makes this pretty easy, and it will sync every time the laptop returns to the local network. The best directions can be found here: ( https://discussions.apple.com/thread/4154950?start=0&tstart=0 ).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
At Home we have a lot of media Content on three computers. I was thinking of centralizing them on one single machine that runs a web server that hosts all the content, and when we fetch a URL like : http://localhost/music it will show a HTML file that lists all the music files on the computer, and when we click on a file, it gets downloaded.
I don't know what to use so as to make this thing, I think Apache as a server and PHP as a language..., any suggestions?
Install FreeNAS on your machine
http://www.freenas.org/
You don't even need to go that far. Just install apache on a computer and have your music folder be a web directory. You should be able to navigate to the page like so: http://whateverip/music/ and apache will serve up that html page like you are suggesting.
If using windows, XAMPP is a pretty good solution. You don't really need the PHP part, because all you need on the server after installing a WAMP solution, is to place all your content in the folder that the server uses.
If using Linux, definately install LAMP, there is an easy install of it whether using Ubuntu or other Linux distrubtions.
If using a MAC, there are similar solutions as LAMP. Some are hassle-free.
In any case, all of these use Apache as the server; that is the way to go. It's not as hard as you think, just install the software, and put your files in the appropriate directory, then from each of the other machines, to find the files you would probably type this into your address bar:
http://192.168.1.101/
Which of course is the address of the web server on your Local area network. It is very likely an address that is very similar to that, maybe ending with two different last two numbers.
I would second the freenas route if what you want to store is valuable to you in terms of time or money or electricity. It makes a great headless fileserver with web GUI, supports ZFS filesystem (similar to software RAID5 so you can lose a disk and not lose your data). More valuable to me it also supports replication to a duplicate server.
It can run on very low power hardware using freeBSD as the OS. I measured one of my boxes and it uses about 45 Watts. The OS loads from a USB stick so all your disks become data disks. It holds the system in RAM so your USB does not get any writes to it so the USB lasts a very long time. It will serve CIFS for your windows boxes, AFP for your macs, and NFS for your linux systems. Plug-ins allow for such things as DLNA media servers. I have had three boxes running stable with no reboots for over a year with 6x 3TB drives per box.
A typical hardware setup might be ASUS C60M1-I AMD Fusion board (combined CPU/VGA/NICC/6SATA)for about 75 bucks, 16GB RAM, PSU, USB stick - and voila - add 3 hard drives and you have a low-power RAID fileserver. Get two and you can replicate one server to another in a different physical location.