31
submitted 9 months ago by HughJanus@lemmy.ml to c/linux@lemmy.ml

Hi friends. I switched to Fedora and been using it for several months now. I am now using it 90% of the time but do occasionally have to boot into Windows.

I have run into a space limitation, so I want to reallocate some disk space from Windows to Fedora.

I was able to successfully unallocated space from the Windows partition but haven't been able to reallocate it to the Fedora partition.

Preferably using CLI as little as possible... 😫

Thanks in advance!

all 11 comments
sorted by: hot top controversial new old
[-] danielton@lemmy.frozeninferno.xyz 23 points 9 months ago

Boot from the gparted live CD/USB. Never modify the partitions while you're using them.

[-] christophski@feddit.uk 17 points 9 months ago

You can do this using gparted, however I would recommend you back everything up before you do it as this is very risky if you have not done it before, you can easily destroy all of your data.

Depending on the layout of your drive you would need to reduce the size of your windows partition. Be aware that you cannot increase the size of a partition from the start of the partition, only the end, so you may need to move your fedora partition to the left before your expand the partition to fill the available space

[-] HughJanus@lemmy.ml 3 points 9 months ago* (last edited 9 months ago)

I would recommend you back everything up before you do it

that's my secret: I'm always backed up.

you would need to reduce the size of your windows partition.

Already done

so you may need to move your fedora partition to the left

What does this mean?

[-] XLRV@lemmy.ml 5 points 9 months ago

A disk is shown as a bar, each partition is 1 segment of the bar, if your Windows partition is located before your Linux one you would have to move the partition to the left of the bar after reducing the Windows one, because the partitions can only be extended to the right, so it will need a full partition moving to the left to get all of the newly empty space available, and then after moving you just expand the Fedora one.

[-] HughJanus@lemmy.ml 3 points 9 months ago

Okay that worked, thank you

[-] XLRV@lemmy.ml 1 points 9 months ago
[-] junezephier@lemmy.sdf.org 6 points 9 months ago* (last edited 9 months ago)

i'm very new and don't know a lot, but i think gparted would let you accomplish this? and i think it'd work on fedora

[-] ElRenosaurusReg@hexbear.net 5 points 9 months ago

Try gparted on a liveUSB, you don't wanna modify the partitions you're actively using because it can(read: will) result in data loss.

If you're willing to spend a little bit of time on it and actually know what's happening behind the scenes, read the man-pages for fdisk and do it manually from a TTY, but for cereal, use a liveUSB and ffs do NOT mount the filesystems first

[-] Krtek@feddit.de 1 points 9 months ago

Do you use Btrfs? With that you could extend the Fedora partition even though the free space is not where it should be

this post was submitted on 21 Sep 2023
31 points (94.3% liked)

Linux

45457 readers
1393 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS