0

i have a dual-boot laptop with both Windows 7 and Ubuntu 16.04.

Currently, the Windows side has too much disk space, and I want to resize things so that the Ubuntu side has more.

I have actually 100Gb unallocated space got from the D partition, and i want to add to my Ubuntu partition, like shown in the picture below, the problem is that Ubuntu partition and it's Swap part are in the middle of my Windows partitions:

My laptop Partitions

Can I expand the Linux partition from Windows or do I need to be in Ubuntu or do I need to create a boot disk and do it that way?

Or do I need third party software?

Any help gratefully received.

Adelov
  • 103

2 Answers2

2

The general rule is to use Windows to change the Windows partitions, and Ubuntu to change the Ubuntu partitions.

In this specific case, you are altering your root partition, and this cannot be done while that partition is active. You will need to boot from a live USB, and run gparted from that USB to change the ext4 partition that you have for Linux.

Since the 33 GB linux partition is contiguous with a 100 GB unallocated space, you can expand the 33 GB partition to include some or all of that unallocated space.

Charles Green
  • 21,859
1

Easy...

Note: Your NTFS partitions for your C:, D:, and E: are full. F: is fine. Consider backing up and deleting some stuff to make more room.

Make sure that you have a good backup of your important Ubuntu files, as this procedure can corrupt or loose data.

Keep these things in mind:

  • always start the entire procedure with issuing a swapoff on any mounted swap partitions, and end the entire procedure with issuing a swapon on that same swap partition

  • a move is done by pointing the mouse pointer at the center of a partition and dragging it left/right with the hand cursor

  • a resize is done by dragging the left/right side of a partition to the left/right with the directional arrow cursor

  • if any partition can't be moved/resized graphically, you may have to manually enter the specific required numeric data (don't do this unless I instruct you to)

  • you begin any move/resize by right-clicking on the partition in the lower pane of the main window, and selecting the desired action from the popup menu, then finishing that action in the new move/resize window

Do the following...

Note: if the procedure doesn't work exactly as I outline, STOP immediately and DO NOT continue.

  • boot to a Ubuntu Live DVD/USB
  • start gparted
  • move /dev/sda4 all the way left # Since you didn't show us a gparted screenshot, check that this is the correct partition number for the Ubuntu ext4 partition
  • resize /dev/sda4 all the way to the right
  • click the Apply button
  • reboot
heynnema
  • 73,649