Does Fedora support installation to logical partitions?
It seems to me that Fedora 22 does not support installation to logical partitions. By logical partitions, I mean logical partitions... ones found in extended partitions on MBR disks. Not logical volumes or LVM things. I have attempted to install Fedora 22 alongside Ubuntu 15.04 (and Windows 10 preview) on the same disk, but without much luck. In fact, it has caused me a great deal of pain. (In fact, I believe this may be related to my previous question about the Dracut rescue shell I kept running into.)
I have just finished installing Fedora 22 now, and I finished installing Ubuntu 15.04 before that. I have started all over again. (I don't have Windows 10 preview installed this time.) Ubuntu boots normally, and Fedora boots as well. But I notice immediately that Ubuntu is installed in a logical partition, and Fedora is installed in a primary partition.
parted:
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1048kB 66.0GB 66.0GB extended
5 1049kB 50.0GB 50.0GB logical ext4
6 50.0GB 66.0GB 16.0GB logical linux-swap(v1)
2 66.0GB 120GB 53.7GB primary ext4 boot
3 120GB 137GB 17.2GB primary linux-swap(v1)
fdisk:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc46b802b
Device Boot Start End Sectors Size Id Type
/dev/sda1 2046 128907263 128905218 61.5G 5 Extended
/dev/sda2 * 128907264 233764863 104857600 50G 83 Linux
/dev/sda3 233764864 267319295 33554432 16G 82 Linux swap / Solaris
/dev/sda5 2048 97656831 97654784 46.6G 83 Linux
/dev/sda6 97658880 128907263 31248384 14.9G 82 Linux swap / Solaris
Partition table entries are not in disk order.
The Fedora installer doesn't seem to have any option for choosing between primary and logical partitions. The Ubuntu installer on the other hand does have such option. So I am wondering... does Fedora support installing to logical partitions at all? Perhaps via command line, if not via the graphical interface? Or is the LVM method the only way to install Fedora to logical... volumes/partitions?
The way I see it, I should be given the option to select what kind of partition I want (primary or logical), instead of just "standard partitioning" (what the hell is standard partitioning anyway?). And! The partition that Fedora gets installed to should be given the partition number 7, followed by 8 for the swap partition (sda7, and sda8). Not to mention that they should be placed at an offset beginning after the Ubuntu partitions, or I should at least be given the option to do so myself. If I am not mistaken, the Fedora partitioning process moves my Ubuntu partitions to make room for the Fedora partitions.
I take back that last part about moving partitions. I jumped to conclusion without looking ...
From what I've observed, you are more likely to create a poor/unsupported configuration if the installer gives you the option to. Your original partition layout is a case in point. For most all use cases, you're better off letting the installer figure out that side of things.
Just to clarify, by poor or unsupported configuration you mean partition layout? And by letting the installer figure it out, you mean letting the installer (setup program) partition the disk automatically? I know there is an option for that, and it is set to that by default. But how would it know how big partitions to create? I mean in case you plan on installing a second (like in my case) or a third OS for a multi-boot configuration? Wouldn't that add some extra work of having to shrink the auto-created partitions, or even change their type to something else for compatibility?
@randomuser I will take your advice with me as I continue to explore the world of Linux. :-) I'm afraid I don't have that kind of experience under my belt (yet) to be able to foresee problems like that. But this one sure was interesting.
Yes, I'm talking about the partition layout. The installer deals with mount points, not partitions, and you can set their size. There are a handful of questions on here like yours, or cases where someone has created four primary partitions, more... There's been a lot of discussion and usability testing around the storage functionality, and it seems most end users have a better experience if they don't have to worry about low level partitioning. The exception are cases like yours, where an unconventional and imcompatible layout has been deliberately created.