0

I want to install Ubuntu 16.04 on my new PC and to keep Windows 10. I have a 128GB SSD and a 1TB HDD. I have read that I should install Ubuntu on the SSD. I am now at the partitioning step and I have to choose where to install Ubuntu. If I choose "Install ubuntu alongside Windows 10" I am under the impression that it will be installed on the HDD. Therefore I chose the advanced partitioning option. The installer shows me my partitions (I did not create anything):

  • /dev/sda
    • /dev/sda1 (efi, Windows Boot Manager, 272MB)
    • /dev/sda2 (16MB)
    • /dev/sda3 (126712MB (53182MB used) ntfs)
    • /dev/sda4 (1027MB, ntfs)
    • two free space partitions of 1MB and 5MB
  • /dev/sdb with two ntfs partitions (one of 986GB and one of 13 GB)

What do I have to choose as device for boot loader installation? Do I have to create new partitions? I am a bit lost and I don't want to lose Windows.

Moreover where should I put my personal files? On HDD or SSD?

fonfonx
  • 653

3 Answers3

1

Use Gparted for modifying your partitions. The GUI interface is easy to use for resizing, moving, creating and deleting partitions. As the first answer advises, you may consider backing up your important data before the operation. I will mention that the gparted partition manager is very robust and with care, the data would hardly be corrupted. I have modified partitions twenty years, using gparted almost like using a word processor and have never lost 1 byte of data. Just be particular which partitions you choose to delete, if any.

You can use either of your drives for the install. I you chose the Alongside Windows option, the installer will shrink the partition according to your specification with the slider and use the space you give it to create what it needs for the installation. It'll create two partitions, one for swap and one for the actual install.

You can manually create the partitions for the install. You should create a partition for Ubuntu that has at least 50 gigs. This will be an ext4 type partition. You'll also need to create a swap partition. This should be about 1 1/2 the size of the ram have in your computer.

On the do something else option choose the partition you create for the installed. Set it for root /. I wouldn't recommend your trying to create separate partitions for /home or any of the other options. Ubuntu will automatically create your /home folder no different from the way Windows create your /users/home directory.

Specify your boot disk which is most likely /dev/sda for your boot drive. This will automatically give you both Windows and Ubuntu in the boot options menu to select from.

The install won't affect your Windows partition. Only the partition where you specify the install. It'll just add Ubuntu to the Boot partition of your specified drive.

Where should I put my personal files

By default they will be in your /home/yourname directory. You'll find this in the file browser when you boot into Linux. The same way you find your personal files in Windows in c:\users\yourname. Any new file or document you create will be placed there by default. You'll also have default folders of Pictures, Videos, Documents, Downloads, Music, and Desktop to choose from, that will be clearly visible in your File Browser.

The File browser

From Ubuntu you will be able to easily mount your Windows partition and browse and use your Windows Documents. However, you can't do it the other way around. Windows can't access the Ubuntu partition.

L. D. James
  • 25,444
0

Since your Windows partition is in the SSD, by choosing "Install Ubuntu alongside Windows 10", Ubuntu will probably be installed also in the SSD. However, since your /dev/sda3 partition takes up too many space, there is no space left for Ubuntu to be installed. My suggestion is to back up your files in Windows (those on /dev/sda3) to the 1TB HDD, and try to shrink the partition with tools like EaseUS Partition Manager. After resizing, create another partition large enough to hold Ubuntu. As quoted from official manual:

minimum is 8 GB. It is recommended to make it at least 15 GB.

You shall be able to install Ubuntu to the SSD after doing all these. It'd be safe to let Ubuntu installer do the installation fully automatically.

0

There are many ways to do this... each with its pros and cons... here's my 2 cents.

First, IF you're going to modify your Windows partition, it's best done from WITHIN Windows using the Disk Management app. Any other way and you risk damaging your Windows installation. Personally, I'd boot Windows, defrag first, then resize to make room for Ubuntu.

Second, because your SSD is smallish, and reducing the Windows partition to make room for full Ubuntu will squeeze you, I'm going to suggest that you put a minimal Ubuntu root-only installation on the SSD (say a 40GB partition), and then put /home and /swap (16GB) on the HDD. This way, Ubuntu can install its GRUB boot manager such that you can dual-boot Windows or Ubuntu, and the bulk of your Ubuntu files will be on the HDD. It's good to have swap on the HDD, to increase the life of the SSD.

In any case, disable fast boot in the power control panel in Windows, and disable hibernation (powercfg /h off). This will reduce the chance of file corruption on Windows.

If you're wanting to share files between Windows and Ubuntu, you can create a NTFS partition on the HDD for your pictures/music/etc. and then mount that partition on both OS.

Cheers, Al

heynnema
  • 73,649