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

Linux

48668 readers
433 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
 

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!

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 1 year ago

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

[–] [email protected] 17 points 1 year ago (2 children)

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

[–] [email protected] 5 points 1 year ago (1 children)

dood, moving a partition takes a gazillion years

[–] [email protected] 10 points 1 year ago

Yup, not much you can do about that

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

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?

[–] [email protected] 5 points 1 year ago (1 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

Okay that worked, thank you

[–] [email protected] 1 points 1 year ago

Nice πŸ‘

[–] [email protected] 6 points 1 year ago* (last edited 1 year 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

[–] [email protected] 5 points 1 year 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

[–] [email protected] 1 points 1 year ago

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