Hello guys! I have a problem with the installation of Fedora 40. I’m using two usb drives for this, 1 for bootable installation and other for the installation of Fedora. The problem is when trying to select the device on which I want to install Fedora, it says that I have only sda / 1023 KiB free. The drive has a capacity of 125 GB and was formatted before the installation in Windows 11 and on Windows it says that I have 100% free space on it. Tried to fix it with Reclaiming the space but that freed up only 1 MB.
Try this
Attach the usb device you are booting from (the live install media I assume) and boot to the live media.
Then run the command lsblk
to see what devices are attached. I would assume that you have a drive in the machine you are using plus the usb device used to boot.
Once you have a list of already attached devices then attach the second USB you intend to install fedora onto and repeat the lsblk
command so you get the name of the device you intend to install on. It may be something like /dev/sdb or /dev/sdc or ? but this way you can specifically identify the device.
Then you would use the command sudo gdisk <device name>
to open that device and write a new empty partition table on the device.
Once the existing partition table has been erased and replaced then you should be able to start the installer and select that device to install to with plenty of room.
Note that windows may have left the device unusable with ‘fast boot’ enabled and a windows partition on it. Windows seems to mark the device as dirty when shutdown with fast boot enabled, with the apparent intent that it cannot be used on a different system. This method should bypass the windows features and give you the full device to use.
That worked perfectly. Thank you so much!