Ask Your Question
0

Windows 10 dual boot /w Fedora

asked 2018-02-25 05:34:42 -0500

Hi guys, I got a problem with my Fedora + Windows 10 dual-boot installation. I tried to install it automatically, but I got an error that there is 0 empty space on the disk I selected (there was 40GB unalocatted). I thought it is a bug so I tried to do a "custom" installation, but I got an empty error... I realized that I already have 3 partitions (of which 2 primary) like here:

image description

I think that Fedora can't be installed on 2 partitions only. Is it true? How can I do a dual-boot setup on this system?

edit retag flag offensive close merge delete

Comments

Select "I will configure partitioning". The installer should recognize the other partitions. Click create them automatically and several partitions will be created (/boot, /, /home, swap).

Is your Windows an EFI install? Make sure fedora installer doesn't format the efi partition and uses it at mount point /boot/efi. If your Windows is BIOS install, make sure your Fedora is as well.

Always be sure to have a backup of all important data before doing this!

florian gravatar imageflorian ( 2018-02-26 15:06:29 -0500 )edit
1

Actually, you can install all of Fedora into one partition, but it's not recommended. At the least you should have a partition for your root file system (/) and another one for your personal files, /home. That way, if you ever need to reinstall, you can reuse that second partition without reformatting it and have everything set up the way you want.

sideburns gravatar imagesideburns ( 2018-02-26 15:34:45 -0500 )edit

5 Answers

Sort by ยป oldest newest most voted
1

answered 2018-02-27 07:33:27 -0500

fedoration gravatar image

I did install Fedora 27 + Win10 in the legacy mode successfully after installing failed several times in UEFI mode on my single SSD on MoBo-ASRock-H110m early Feb. It runs well and that will work.

But I do recommend that you install the Operating System in UEFI mode and buy one more hard disk, each one goes for an Operating System. Because you will take a chance to Hackintosh(especially in the EFI folder) your PC sooner or later in UEFI, too.

edit flag offensive delete link more
1

answered 2018-02-26 16:03:45 -0500

hedayat gravatar image

updated 2018-02-26 16:22:06 -0500

The best I can suggest is to resize your extended partition, so that it contains the unallocated space. Unless Windows allows you to do so as @4li said, you can't do it with its Disk Management.

If you are familiar with command line and fdisk, it can be easily done with fdisk in Fedora live session with some care. All you need to do is to:

  1. List your current partitions (p command) and remember the start & end numbers for your last partition (write them down somewhere)
  2. Remove the extended partition (with d)(yes! it'll remove your logical partition too!)
  3. Create a new extended partition using all free space (with n)(which will be around 87GiB)
  4. Re-create the deleted logical partition with exactly the same start and end numbers (with n)(actually, the end number can be even greater than the original one if there is a few free space at the end).
  5. List your partitions again with p. All your 4 partitions should exist at original positions, specially the logical one. The only change should be the start position of your extended partition
  6. If anything seems wrong, simply quit fdisk without saving using q. It won't do anything. If everything is OK, you can save your modifications with w.
  7. If for whatever reason you did something wrong (don't!), don't panic. You can repeat the above. Even if you remove your logical partition completely, and can't restore it (e.g. the start and end numbers are lost!), testdisk should be able to easily recover it for you.

If not, I'd suggest using an advanced graphical patition management tool which lets you change the start of your extended partition. I'm not sure, but GParted might be able to do so, which is either available in Fedora live media, or can be installed. It is a trivial task, so it should be easy to find a tool which is able to do so.

When you did it, you'll have the 40GiB free space will reside in your extended partition, and so Fedora can create 2 or more partitions there.

edit flag offensive delete link more

Comments

Wow, thanks I'll try this, command line is fine so I'll try it with fdisk. My data on the logical partition will not be removed, yes?

TramSK gravatar imageTramSK ( 2018-02-28 08:06:51 -0500 )edit

Yes. If the data was not important, you could just remove the logical partition and let Fedora create its partitions and a new empty logical partition to replace the old one.

hedayat gravatar imagehedayat ( 2018-03-01 16:43:05 -0500 )edit
0

answered 2018-02-26 13:04:35 -0500

4li gravatar image

Select the 39,06 GB Unallocated volume and make logical partition in Advanced setup mode

edit flag offensive delete link more

Comments

How to do it? I don't see that option there...

TramSK gravatar imageTramSK ( 2018-02-26 13:40:59 -0500 )edit
0

answered 2018-02-25 23:07:34 -0500

bob323 gravatar image

Fedora can be installed on however many partitions you want to mount. Be sure you select the unallocated space to create the partition scheme in during installation. During the custom disk partitioning section, you should be able to select whichever device is your Disk 0 in the picture here and click a button that says something along the lines of "automatically create partitions." Fedora should create a root, home, and swap partition in the unallocated space.

edit flag offensive delete link more

Comments

Duh, it is written in my question that I have 2 primary partitions now. I can't add 3 more. (4 primary partitions is max due to 2-bit signalization)

TramSK gravatar imageTramSK ( 2018-02-26 09:02:22 -0500 )edit

You add one more primary partition and one extended partition. Then, you can create as many logical partitions inside the extended partition as you need.

sideburns gravatar imagesideburns ( 2018-02-26 15:35:49 -0500 )edit

@sideburns I have 1 extended partition already, can't create 2nd one

TramSK gravatar imageTramSK ( 2018-02-28 08:10:08 -0500 )edit

In that case, use a LiveUSB to get to GParted and enlarge that extended partition.

sideburns gravatar imagesideburns ( 2018-02-28 12:40:26 -0500 )edit
-1

answered 2018-02-26 12:11:51 -0500

Did you use AHCI? Linux won't see your SSD if you use RAID.

edit flag offensive delete link more

Comments

I use AHCI of course

TramSK gravatar imageTramSK ( 2018-02-26 13:46:39 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-02-25 05:34:42 -0500

Seen: 1,703 times

Last updated: Feb 26 '18