Monday 8 January 2018

How does it hurt to use Linux (Ubuntu) as a guest OS for all my tasks?


I have a machine running Windows, where the disk has two partitions C (50 GB) and D (250GB). I do research in Information Retrieval and need to work with a large corpus (more than 50 GB) and in Linux.


So if I want to install Linux on the existing system, keeping the Windows installation intact, will it be fine to run it in a virtual box? (say, QEMU, VMWare, etc.)


An alternative is using Wubi. In that case the Linux installation has to be on drive C. Then, if I keep a small Linux installation (say 5GB) on C, and my corpus on D (mounted in Linux), how will it affect the performance of my programs which would be accessing the mounted Windows drive D.


Is it feasible to use Linux this way? Which of the above is better if at all they are a way out?




Note :


Since my post in July 2010, I have been using and have tried several ways of maintaining a disk-image that I can mount in Linux. I had a 100GB qcow2 disk and a 100GB raw disk, both formatted to an EXT3 file system.


I was mounting and connecting to the qcow2 disk using qemu-nbd. The problem was that every now and then, the connection to the disk would get lost and the running programs would throw disk I/O errors.


The raw disk would mount and work fine as a loop mounted device, but when writing data to it, the mount.ntfs program would hog the CPU and the process would take an enormous amount of time. I was in fact running make on a piece of software located on this raw disk, and after a point of time make was waiting while mount.ntfs would show 100% CPU usage.



Answer



Accessing the NTFS (Windows) partition from linux is fast. You can't see the difference between accessing NTFS or ext (linux) partition. I think the VM option is good if you have sufficient RAM available (1GB free while using Windows to allocate 1GB to Ubuntu VM). Ubuntu runs not bad with 512MB too. If you have not enough RAM, you will need the dual boot option but that's not as flexible. Your ubuntu will still use the NTFS partion without problem (with regular install or wubi) but you'll have to choose at startup and reboot to change... Going this way, I would install a regular Ubuntu, not wubi but that's only because I think better to have a standard install so you find more community help, how to's, etc... mainly with a dual boot machine.


Anyways, the good point of the VM is that you can try without any risk. If it is too slow, you can delete it and go for the dual boot system. That's one of the good points of VM.


And... you can do both options... :) so if in windows and need a quick look at linux you start the VM and if you plan all the day on linux, boot on linux


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...