Dois-je exécuter Ubuntu avec Windows ou dans une machine virtuelle?


5

Je souhaite installer Ubuntu sur mon PC Windows 7 64 bits pour analyser les données d'astronomie.Les fichiers de données sont souvent volumineux (peuvent faire quelques centaines de Mo, éventuellement un Go).Les fichiers de données peuvent se trouver sur un disque dur externe.Le PC dispose de 6 Go de RAM et de 670 Go de disque dur.

J'essaie de décider si je dois faire un double démarrage correct, en installant Ubuntu dans sa propre partition (je suis nerveux de jouer avec le disque dur, je ne l'ai jamais fait auparavant) ou d'exécuter Ubuntu en utilisant VirtualBox dansLes fenêtres.À quel point l'exécution de Virtualbox sera-t-elle plus lente?

Si j'opte pour un double démarrage traditionnel, serait-il judicieux de diviser le disque dur plus ou moins également entre les deux OS?

Je serais très reconnaissant pour quelques conseils.

Merci beaucoupKevin

4

If the application you will be running is CPU and RAM intensive then it will be best for you to install Ubuntu natively rather than virtually. If you do decide to dual-boot and will only be using Ubuntu as a secondary OS there is no need to give it such a large partition unless you will be storing large files on the partition itself (but you said that your files were on an external HD). Ubuntu would be able to access the windows partition (NTFS) if you wanted to store things there anyway. Therefore you should give the Ubuntu partition ~20GB (to be on the safe side) and it will also require a swap partition that is the slighlty larger than the amount of RAM you have.

If you will only be using Ubuntu temporarily then you may want to look at Wubi which will simplify the installation and removal by doing it from within Windows. The downside of Wubi is that read and write speeds to the HD are slightly slower. This may not bother you.


1

You are right to be cautious. Installing an OS can cause problems.

What I suggest:

First - Run Ubuntu live. This allows you to test your hardware and decide if you want to install Ubuntu. Keep in mind, it will run a bit slower when running from a CD or USB.

Second - If you decide to install, back up your data first.

Third - Resize your windows c:\ partition with the partitioning tools withing windows 7. Leave the resulting free space unformatted.

You could use the Ubuntu installer to partition your hard drive if you wish. You might get complaints from windows if you do (which can be fixed).

The read the install guide, make sure you understand how linux identifies partitions (/dev/sda ...) and install Ubuntu. Personally, if you have the space, I would suggest 40 Gb for Ubuntu. You can easily use as little as 10-20 Gb, and I have done installs on as little as 3.5 Gb, but it is not much fun to run out of hard drive space and I am guessing you can easily spare 40 Gb or so.

https://help.ubuntu.com/community/GraphicalInstall

As long as you do the preparation the risks of data loss or other problems are minimal. People seem to run into problems when they rush to install without understanding the install process or when they use the advanced options of the installer (to change the defaults) without understanding what they are changing. The defaults work just fine for the vast majority of people and you should not change them without understanding the changes you are making.


1

If you too worried to mess with partitioning, you can install WUBI. Wubi is an officially supported Ubuntu installer for Windows users. It can install and uninstall Ubuntu in the same way as any other Windows application. It's simple and safe. Run the download file

If you need any extra help, take a look at the Wubi Guide or ask a question in the Wubi forum.

After the file is downloaded, you have to open it to run the installer. You will find the detailed instructions below. If you need further help, the various support options are listed at the bottom of this page.

If you are using Internet Explorer, you'll be asked whether you want to run or save the file. Choose 'Run' to launch the installer.

Most other browsers, like Firefox, will only ask you to save the file. Click 'Save' and then double-click the downloaded file to launch the installer.

3.Install it

If a security message like this appears, click 'Continue' to proceed with the installation.

To install Ubuntu, all you need to do is choose your username and password. Please note that you have to enter your password twice to make sure you typed it correctly.

After choosing your password, click 'Install'. The files will be downloaded and installed automatically.

Wait until Ubuntu is downloaded and installed. Please note that the whole process can take a while – the downloaded file size is 700MB

When the installation is complete, you will be prompted to restart your computer. Click 'Finish' to restart.

After your computer restarts, choose 'Ubuntu' from the boot menu.

http://www.ubuntu.com/download/ubuntu/windows-installer


0

I would try it on VirtualBox first, not because I'd be hesitant to partition the disk (it's not hard), but it doesn't make much sense to me to boot into Ubuntu only to crunch numbers if you need to be on Windows to do everything else. I've never done much that's computationally expensive, but I've never gotten Ubuntu over 2GB of RAM—it sounds like you have plenty. It might run a little slower due to sharing CPU with Windows; how much slower, I couldn't say. It's not hard to try, however.

If it does what you need, great—you haven't messed around with your hard disk and you don't have to reboot just to analyze data.

If you need something more, you can go from there, whether you use Wubi or partition your disk. The other posters have given some excellent advice if you need to go that route.