6

I would like to install Ubuntu on my Windows 7 64-bit PC to do analysis of astronomy data. The data files are often large (can be few hundred MB, possibly a GB). The data files may be located on an external hard disk. The PC has 6 GB RAM and 670 GB hard disk.

I'm trying to decide whether to do a proper dual-boot, installing Ubuntu in its own partition (I'm nervous of messing around with the hard disk, have never done it before) or to run Ubuntu using VirtualBox in Windows. How much slower is running in Virtualbox likely to be?

If I do go for a traditional dual-boot, would it make sense to divide the hard disk more or less equally between the two OSs?

I would be very grateful for some advice.

Many thanks Kevin

4 Answers 4

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.

8
  • Many thanks for your advice. I think I shall go for a native dual boot installation. I wasn't aware that Ubuntu could access the files on the Windows partition. I guess that's not true vice versa. The general advice seems to be to give Ubuntu a relatively small partition in comparison to Windows. Jan 13, 2012 at 21:39
  • Many thanks for your advice. I think I shall go for a native dual boot installation. I wasn't aware that Ubuntu could access the files on the Windows partition. I guess that's not true vice versa. The general advice seems to be to give Ubuntu a relatively small partition in comparison to Windows. If you use Wubi, what happens to the files that you use or create in Ubuntu? Do they get stored in Windows as individually accessible files or do they only exist within the huge Wubi file? Jan 13, 2012 at 21:46
  • They are within the Wubi file, to store them outside of Wubi move them to /host Jan 14, 2012 at 5:35
  • Just to add a little more about accessing ntfs partitions from ubuntu, you need to have ntfs-3g and ntfs-config installed from the repos. ntfs-config is an easy to use gui which makes configuring ntfs-3g an absolute snap. Once done, you'll have access to internal and external partitions, which I find really useful. You are quite right, win can not easily see linux partitions: this serves to underline the superiority of open systems!
    – Vic
    Feb 25, 2012 at 22:30
  • In Ubuntu Desktop, at least, the NTFS read/write software is installed and configured by default. If you install that version, you should not need to install or configure anything; just find your hard disk in Nautilus (the file browser) and go for it.
    – zpletan
    Mar 13, 2012 at 1:37
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.

2
  • Many thanks for your advice. My Windows 7 installation already uses 3 primary partitions. I have read in one place that this means that instead of choosing the option "install alongside other operating systems" I would have to choose the "specify partitions manually" option. Is that correct? Jan 13, 2012 at 22:01
  • If you wish, you can manually make an extedned partition, and then within the extended partition make a (logical) root partition and a swap partition for Ubuntu. In that event (you made partitions ahead of time), then use "specify partitions manually". Otherwise, "install alongside other operating systems" should work. If needed you can always resize or reinstall Ubuntu.
    – Panther
    Jan 13, 2012 at 22:07
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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .