Ubuntu: How do I partition correctly on a dual-boot Win8.1/Ubuntu sytem?



Question:

I am dual-booting my system with Ubuntu 14.04(LTS) and win8.1

(followed this guide step-by-step:https://www.youtube.com/watch?v=hOz66FC0pWU)

And now i noticed i only have 20gb to store my data including some steam games which I tried to install.

So I figured i had to partition my Hard drive again but do not know how to do it the right way. On the Launcher I am informed on that HD icon that I have 728 GB Volume of space but it seems I cannot use it.

enter image description here


Solution:1

You can extend your Ubuntu partition this way.

  1. Move left side of /dev/sda2 partition left. This will shrink your Windows partition.

  2. Extend left side of /dev/sda3 partition left.

  3. Move /dev/sda5 left and format it as swap

  4. You will be able to extend /dev/sda6 Ubuntu partition left.

  5. Do not forget to press "Apply" button in gparted.

But after you move Ubuntu boot partition, you will have to re-install grub. It can be done this way. Run from LiveCD

sudo mount /dev/sda6 /mnt  sudo grub-install --root-directory=/mnt /dev/sda  sudo chroot /mnt && sudo update-grub && exit  

You will also need to add UUID of your swap partition to /mnt/etc/fstab file like this

UUID=ccd2f497-5d8f-48c7-9102-c339c2689ff8 none swap sw 0 0  

You will need to run sudo -H gedit /mnt/etc/fstab and add a line there.

But use UUID of your /dev/sda5 partition. You can find it by clicking it in gparted and selecting properties.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »