LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-18-2023, 01:04 PM   #1
Nemesissparadise
Member
 
Registered: Nov 2007
Location: North Pole Alaska
Distribution: Fedora
Posts: 177

Rep: Reputation: 16
Partitions


OK I'm about to install a fresh install of Fedora on a new hard drive. It's been a while since I have not just used previous partitioned hard drives. My question is what is a good partition size? How much should I give to swap. I have 16gbs of ram.

My old hard drive was partitioned with 20 gbs for root 200mbs for /boot and the rest for /home.

Edit. I don't know If it matters but this is not for a server.
 
Old 04-18-2023, 02:51 PM   #2
thinknix
Member
 
Registered: Nov 2008
Distribution: Lots!
Posts: 178

Rep: Reputation: 58
The old guideline was swap should be equal to RAM, but that is seldom necessary anymore. 4GB of swap should be adequate for a desktop. But normally you can just choose automatic partitioning during the install and not worry about the partition sizes. If you really want to choose the sizes, depending on your needs 20GB might not be adequate for a root partition on a desktop once you start installing software. Maybe 30GB for root, 500MB for /boot and the rest for /home.
 
Old 04-18-2023, 03:05 PM   #3
Nemesissparadise
Member
 
Registered: Nov 2007
Location: North Pole Alaska
Distribution: Fedora
Posts: 177

Original Poster
Rep: Reputation: 16
Thank you.
 
Old 04-19-2023, 02:58 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Is the drive for Fedora only? Do you have other drives on the computer with other operating systems? I don't use Fedora but I believe the default is to use LVM? You may need a /boot partition larger than 200MB. Is this an EFI compatible machine? You will also need a separate EFI partition if it is. 16GB of RAM should be more than enough as stated above, hibernation often requires larger swap but I can't suggest anything as I don't hibernate anything. Also, as mentioned above, the size of partitions depends upon use and if you plan to install a lot of software, a larger / partition would be useful.
 
Old 04-19-2023, 11:59 PM   #5
Nemesissparadise
Member
 
Registered: Nov 2007
Location: North Pole Alaska
Distribution: Fedora
Posts: 177

Original Poster
Rep: Reputation: 16
Fedora only. Only one hard drive. I'm not sure what the default is however lvm sounds right. I remember using lvm in the past. I'm familiar with efi to an extent but to answer if it is compatible? Idk. Again I know what sleep/ hibernation is but as I don't use those I'm not familiar with the requirements there.
 
Old 04-20-2023, 05:19 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Any computer manufactured in the last 10 years should be UEFI capable. You can look in your BIOS firmware for any reference to UEFI.

As to hibernation, if Fedora is the only OS, it doesn't matter. It is only if you have windows 10 or later installed and want to access it from Fedora that it would be a problem.
 
Old 04-21-2023, 12:17 AM   #7
Nemesissparadise
Member
 
Registered: Nov 2007
Location: North Pole Alaska
Distribution: Fedora
Posts: 177

Original Poster
Rep: Reputation: 16
Interesting. I just learned something.
 
Old 04-21-2023, 03:49 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,524

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
To expand a bit on the hibernation problem if you have computers with both windows and Linux, the problem is that windows defaults to hibernation and in that case, Linux will not mount the partition due to the likelihood of data loss. The user will then not be able to access the windows partition from Linux. Hibernation in windows can be turned off in several ways but going into the Power Settings is simple to change. It is not a good idea to modify system files on windows from Linux but modifying, adding files on a data partition should not be a problem. Note that on some updates, windows will turn hibernation back on and the user will not be asked if s/he wants this nor will the user be notified.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
Extended partitions? Location of partitions? General Linux - Hardware 13 05-03-2006 02:01 PM
Partitions Gone, Partitions Gone PhuckFonix Linux - Newbie 8 05-22-2004 05:35 PM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
Partitions, partitions, partitions..... Clueless in VA Linux - Newbie 7 08-08-2001 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration