3 ms·
Does this mean we can boot Windows and Linux from the same partition? Just point the EFI boot-loader at a different kernel image for each? Or does NTFS not supp
by phendrenad2 5y ago
Does this mean we can boot Windows and Linux from the same partition? Just point the EFI boot-loader at a different kernel image for each? Or does NTFS not support mixed NT-style and Unix-style file permissions on the same partition.
Or does the Linux kernel refuse to boot from NTFS, because Linux people hate anything with a Microsoft smell?
- mgbmtl 5y agoI think that, worst case, you could have a /boot partition on ext4, and then / could be NTFS. Although at that point maybe it's best to have just the /home running on NTFS. I'm not too familiar with how EFI handles it, but I think that grub would need some NTFS support? No need for hate. We just get grumpy when Microsoft enforces patents or calls Linux a virus, which they haven't done in a few years ;)
- deathanatos 5y ago> I'm not too familiar with how EFI handles it, but I think that grub would need some NTFS support? I use EFI, but I keep all of grub, the kernel, and the initramfs on the EFI partition. So grub wouldn't need to know anything at all about the partition for /, as it isn't loading anything from it.
- mappu 5y agoI think you can do this today with some other filesystems. e.g. WinBtrfs is (rightly!) very proud of being able to boot a full Windows OS.
- phendrenad2 5y agoOh wow, thanks for that, that's a cool project.
- gizmo686 5y agoIt's not really up to the kernel. The kernel and initial ramdisk are loaded into memory by the bootloader. Once you are in the ramdisk you can do pretty much whatever you want to mount the root partition; including using a user space file system. If you wanted to, you could skip switching to the "real" root filesystem, and run your system entirely out of the ramdisk. With EFI, you can even skip having a seperate boot-loader entirely, and combine the kernel, ramdisk, and an EFI shim into a single EFI executable.
- phendrenad2 5y agoI guess that makes sense. If the kernel can mount an NTFS system without any external requirements now, then I guess it could set the fs root to that mounted volume.