You are not logged in.

#1 2021-11-17 05:19:27

0xff01
Member
Registered: 2021-11-16
Posts: 2

[SOLVED]Increase Partition Size

                                                                          Disk: /dev/nvme0n1
                                                       Size: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
                                                     Label: gpt, identifier: 1EFAB918-E95A-441D-9300-14BB9F2A30A6

    Device                                         Start                      End                Sectors                Size Type
    /dev/nvme0n1p1                                  2048                   534527                 532480                260M EFI System
    /dev/nvme0n1p2                                534528                   567295                  32768                 16M Microsoft reserved
>>  Free space                                    567296                281468927              280901632              133.9G
    /dev/nvme0n1p4                             281468928                910614527              629145600                300G Linux filesystem
    /dev/nvme0n1p5                             910614528                944168959               33554432                 16G Linux swap
    Free space                                 944168960                998268927               54099968               25.8G
    /dev/nvme0n1p6                             998268928                999804927                1536000                750M Windows recovery environment
    /dev/nvme0n1p7                             999804928               1000214527                 409600                200M Windows recovery environment

I wanted to try out Arch, i had a dual boot with windows 10 and Arch, and after using it for some time Ive decided to remove windows because my root partition is filling up pretty quickly, but i guess ive f-ed up the partition scheme and now I cant add the
133.9G of Free Space to my root partition (/dev/nvme0n1p4), so is there any way I can bring the 133.9G downwards or any other way to add the space to the root?

Thanks

Last edited by 0xff01 (2021-11-18 15:06:07)

Offline

#2 2021-11-17 06:01:29

auscyber
Member
Registered: 2021-11-17
Posts: 2

Re: [SOLVED]Increase Partition Size

you can sometimes you use gparted on an external usb, it could stuff up your install, but i havent had any problem with it

Offline

#3 2021-11-17 07:41:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: [SOLVED]Increase Partition Size

See the blue note in https://wiki.archlinux.org/title/Parted … partitions and the red warning in https://wiki.archlinux.org/title/Fdisk# … partitions
You could also opt to make the 133.9GB space your root partition and use /dev/nvme0n1p4 for /home

In any event, it is a VERY good idea to have backups of your personal data when moving partitions.

Offline

#4 2021-11-18 03:10:37

lfitzgerald
Member
Registered: 2021-07-16
Posts: 175

Re: [SOLVED]Increase Partition Size

If you boot from the Arch ISO, you can use your choice of tool (such as what's listed on https://wiki.archlinux.org/title/Partit … ing_tools) to resize it. Most partitioning tools support growing partitions, it's just a question of which one will minimize your chance of making a mistake.

If you want to cheat, you can also boot from the live ISO of something like Debian or Manjaro. Since they come with a desktop environment (as opposed to Arch, where you would have to install Xorg on the live OS first), you can then use gparted, which is a very powerful partition program as far as GUIs go. Many DEs also include their own partition manager, for example Gnome Disks (often shows up as just "Disks") also supports resizes and is pretty easy to use.

Offline

#5 2021-11-18 15:05:04

0xff01
Member
Registered: 2021-11-16
Posts: 2

Re: [SOLVED]Increase Partition Size

Thanks for all the replies,

auscyber wrote:

you can sometimes you use gparted on an external usb, it could stuff up your install, but i havent had any problem with it

 
this worked for me, marking the thread as solved now

Offline

Board footer

Powered by FluxBB