You are not logged in.

#1 2016-08-03 19:45:54

jchen0022
Member
Registered: 2016-02-06
Posts: 7

Increasing Partition Size when Dual-Booting

Hi, I'm relatively new to Arch. I'm currently dual-booting on a computer that came with Windows 8, and after using it for a couple months, I realized that I prefer it a lot more over Windows. However, I allocated only 64 Gigs for the partition and now I want to expand. However, after looking over tutorials and previous posts, nothing comes up on how to do this if the partition is two spaces to the right of the Windows partition. The tutorial I was following can be accessed here: http://joejanuszk.com/blog/increasing-u … t-windows/
Unfortunately, the author does not explain what to do if the partitions are not adjacent, only that you have to do additional work with GParted.

I was wondering if someone could help me out, link me to a tutorial I may have missed, or tell me it's impossible. Thanks! c:

Edit: Sorry, I just realized I did not post a picture. This is the structure currently using Window's Partioning Tool
C drive is my Window's partition, the 489Mb is my EFI partition, the 4.18Gb is my swap partition, and the 62.95Gb is my Linux partition:
http://i.imgur.com/b7MScaT.png
I want to merge the unallocated with the Linux Partition. Is it possible?

Last edited by jasonwryan (2016-08-03 20:39:11)

Offline

#2 2016-08-03 20:26:18

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Increasing Partition Size when Dual-Booting

Share your current partition layout with 'fdisk -l <device>' and perhaps also 'lsblk --fs <device>' so we have some idea what we're dealing with.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2016-08-03 20:39:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Increasing Partition Size when Dual-Booting

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-08-03 20:42:13

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: Increasing Partition Size when Dual-Booting

You can move the two partititions before the 64G partition, to the beginning of unallocated space. After that, the free space will be right before the 64G partition and you can just resize. All this should be possible with gparted.

Remember to make sure your backups are up to date before doing anything.

Offline

#5 2016-08-04 01:49:07

jchen0022
Member
Registered: 2016-02-06
Posts: 7

Re: Increasing Partition Size when Dual-Booting

Sorry for the late-ish reply; I just finished with classes.

@alphaniner:
Output of fdisk -l:
Device          Start        End              Sectors   Size              Type
/dev/sda1        2048    1026047    1024000   500M           Microsoft basic data
/dev/sda2     1026048    1107967      81920    40M           unknown
/dev/sda3     1107968    1370111     262144   128M         Microsoft reserved
/dev/sda4     1370112    2906111    1536000   750M        Windows recovery environment
/dev/sda5     2906112 1178566655 1175660544 560.6G Microsoft basic data
/dev/sda6  1934751744 1935673343     921600   450M   Windows recovery environment
/dev/sda7  1935673344 1953523119   17849776   8.5G   Windows recovery environment
/dev/sda8  1792968704 1793970175    1001472   489M   EFI System
/dev/sda9  1793970176 1802733567    8763392   4.2G    Linux swap
/dev/sda10 1802733568 1934751743  132018176    63G Linux filesystem

Output of fdisk -l /dev/sda10
Disk /dev/sda10: 63 GiB, 67593306112 bytes, 132018176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Output of lsblk --fs
sda                                                           
├─sda1  vfat   ESP                B407-343F                           
├─sda2  vfat   DIAGS            12FE-DE92                           
├─sda3                                                         
├─sda4  ntfs   WINRETOOLS A824006724003B38                     
├─sda5  ntfs   OS                 DE7CEA2D7CEA005F                     
├─sda6  ntfs                        8A2A998D2A997743                     
├─sda7  ntfs   PBR Image     2CE8A2EAE8A2B20E                     
├─sda8  vfat                        9F73-1544                            /boot
├─sda9  swap                      677150ff-3220-49a4-b6b2-9c18e6b0d2fd [SWAP]
└─sda10 ext4                      1fa68e24-4515-425a-baff-42b68cdd25a2 /
sr0           

Output of lsblk --fs /dev/sda10
NAME  FSTYPE LABEL UUID                                                        MOUNTPOINT
sda10 ext4                1fa68e24-4515-425a-baff-42b68cdd25a2 /

@ooo
Do you think you could post a guide to doing this? I'd really like to learn, but also to be sure I don't accidentally mess anything up.

Last edited by jchen0022 (2016-08-04 02:05:50)

Offline

#6 2016-08-04 04:25:47

zerophase
Member
Registered: 2015-09-03
Posts: 228

Re: Increasing Partition Size when Dual-Booting

Look into the gparted live cd. Just toss that on a usb drive, and you'll be able to move partitions around.

Offline

#7 2016-08-04 06:26:47

daviddavo
Member
Registered: 2015-12-30
Posts: 64

Re: Increasing Partition Size when Dual-Booting

Use gparted, you don't need a tutorial, is just rightclick in the partition an click on "move partition". Then move the partition after/before sda10 and redimensionate sda10 with the available space.

Offline

#8 2016-08-04 13:06:48

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: Increasing Partition Size when Dual-Booting

jchen0022 wrote:

@ooo
Do you think you could post a guide to doing this? I'd really like to learn, but also to be sure I don't accidentally mess anything up.

as zerophase and daviddavo already explained:

boot from live cd/usb that includes gparted.
In gparted, right click the first partition you want to move, select resize/move.
Set "free space preceding" to 0, and the partition will be moved to the beginning of the unallocated space.

It's really not that complicated.

Again, even if you're absolutely sure of what you're doing, make sure you have up to date backups of everything important on your disk! Resizing partitions will always risk your data.

Offline

#9 2016-08-05 01:57:05

sherrellbc
Member
Registered: 2014-05-26
Posts: 112

Re: Increasing Partition Size when Dual-Booting

zerophase wrote:

Look into the gparted live cd. Just toss that on a usb drive, and you'll be able to move partitions around.

daviddavo wrote:

Use gparted, you don't need a tutorial, is just rightclick in the partition an click on "move partition". Then move the partition after/before sda10 and redimensionate sda10 with the available space.

ooo wrote:

as zerophase and daviddavo already explained:

boot from live cd/usb that includes gparted.
In gparted, right click the first partition you want to move, select resize/move.
Set "free space preceding" to 0, and the partition will be moved to the beginning of the unallocated space.

Shouldn't this be caveated with the the usual "be careful if you are going to move a boot partition"? I have heard that statement many times but do not have enough insight into why that may be true. It seems as long as the partition table is kept up to date then move a boot partition around should be of no consequence.

Maybe it was just moving Windows boot partitions around was dangerous.

Offline

#10 2016-08-05 02:26:39

jchen0022
Member
Registered: 2016-02-06
Posts: 7

Re: Increasing Partition Size when Dual-Booting

Thanks everyone! Everything went well. I guess I was just overly scared about something simple. smile

Offline

#11 2016-08-05 06:38:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Increasing Partition Size when Dual-Booting

Don't forget to mark as solved by editing the title of your initial post

@sherrellbc
This should mostly not be a problem with GPT and UEFI partitions, they will still be identified by the same PARTUUID if the partitions haven't been deleted

Offline

Board footer

Powered by FluxBB