2

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

16
  • Please boot from LiveCD and give a link to gparted screenshot.
    – Pilot6
    Commented Jul 8, 2015 at 15:57
  • Do you mean the bootable USB with the Ubuntu installer? Also do I replace the content with this Gparted program? Commented Jul 8, 2015 at 20:17
  • Just boot from Ubuntu installer, run gparted and make a screenshot of it. Then post the picture to some hosting site and post a link here.
    – Pilot6
    Commented Jul 8, 2015 at 20:18
  • Hope i got it right postimg.org/image/oy6eqf15l Commented Jul 8, 2015 at 20:34
  • Yes, you did it right. The question is what is sda5 partition. Did you create it?
    – Pilot6
    Commented Jul 8, 2015 at 20:40

1 Answer 1

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.

26
  • I think he should need a swap partition as well? Commented Jul 8, 2015 at 20:47
  • It depends on RAM size.
    – Pilot6
    Commented Jul 8, 2015 at 20:48
  • He says he has only 4gigs of ram which I think indicates that a swap would benefit him. Commented Jul 8, 2015 at 20:51
  • Apparently the sda5 partition is supposed to be a swap partition. Commented Jul 8, 2015 at 20:51
  • @VictorMoraes But you did not format it right. You need to format it as swap.
    – Pilot6
    Commented Jul 8, 2015 at 20:53

You must log in to answer this question.

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