Ask Your Question
2

Cant install Fedora 20, not enough space

asked 2014-08-30 15:12:12 -0600

alex.s gravatar image

updated 2014-08-30 15:20:29 -0600

I need to install Fedora on sda6 its a 18gb ext4 partition, but when im adding the mount point / it gives me an error, not enough space.

fdisk /dev/sda

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0xa33b6c03
Partition 3 does not start on physical sector boundary.

Device    Boot     Start       End    Blocks  Id System
/dev/sda1 *         2048    718847    358400   7 HPFS/NTFS/exFAT
/dev/sda2         718848 326068223 162674688   7 HPFS/NTFS/exFAT
/dev/sda3      326070270 976766975 325348353   f W95 Ext'd (LBA)
/dev/sda5      326070272 938881023 306405376   7 HPFS/NTFS/exFAT
/dev/sda6      938883072 976766975  18941952   6 FAT16

df -hT

/dev/sda6 ext4 18G 44M 17G 1%

edit retag flag offensive close merge delete

Comments

976773168 total sectors - 976773168 sectors allocated = 6193 sectors unallocated

6193 sectors * 512 bytes/sector = 3170816 bytes ~= 3MB free space.

That's not enough free space.

randomuser gravatar imagerandomuser ( 2014-08-31 16:28:31 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2014-08-30 23:49:34 -0600

cgonz31 gravatar image

updated 2014-09-04 08:43:53 -0600

Your output of fdisk -l shows that /dev/sda6 is a FAT16 filesystem not an EXT4 as you said. Try formatting the partition before installing Fedora on it.

I had the same problem some time ago. Fedora tries to group the /, /home, and swap partitions on an extended partition and creates a separate primary partition for /boot. It might not install because you already have 3 primary partitions. It did not install for me. I had to switch the disk to GPT. Or you could erase the extended partition, install Fedora using all available space, and create as many logical partitions as you need inside the Fedora extended partition. Then copy your files in the original /dev/sda3 and /dev/sda5 to the new partitions.

I assumed your /dev/sda1 and /dev/sda2 have Windows installed on them.

EDIT:

Easiest way is just like "hedayat" suggested: Remove /dev/sda6 and let Fedora do the automatic partitioning on the newly unallocated space.

edit flag offensive delete link more
2

answered 2014-09-01 00:49:27 -0600

hedayat gravatar image

I'd suggest let Fedora automatically partition space for you (You can select 'standard partition' rather than 'LVM'). However, remove /dev/sda6 before that (or you can select it to be deleted in Fedora installer 'Reclaim Space' dialoge).

You can also do a custom manual partitioning: You might create a separate /boot, but not required. But, remove /dev/sda6 and create at least two partitions in it: one swap partition (formatted as swap) with sufficient size, and one / partition of type ext4 (which should become /dev/sda6 and /dev/sda7). If you are unsure about partition sizes, you'd better go with automatic partitioning as I said. Just delete /dev/sda6 and let Fedora do the partitioning for you.

edit flag offensive delete link more
0

answered 2017-03-04 08:14:13 -0600

rachix gravatar image

To install fedora 20, please keep at least 30GB disk space partition on ext4 filesystem format.

edit flag offensive delete link more

Comments

You do understand, don't you, that this is a question about Fedora 20, and hasn't been commented on in over 2.5 years? Also, I'm now running F25 from a flash drive, with a root partition of 10GB, of which only 5.2GB are in use.

sideburns gravatar imagesideburns ( 2017-03-04 17:07:07 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-08-30 15:12:12 -0600

Seen: 1,935 times

Last updated: Mar 04 '17