On 2021/04/13 16:30, L A Walsh wrote:
On 2021/04/12 17:57, Carlos E. R. wrote:
On 12/04/2021 23.37, L A Walsh wrote:
How does Windows boot supporting all the different hardware it does without a ramdisk, and why does linux need one?
One reason is that Windows filesystem can flag a file "system", which means "do not move it". Don't touch it. Don't relocate it.
---- Doesn't the immutable bit on linux accomplish much the same?
So linux could do the same thing?
Actually, thinking about this -- Windows also has the benefit of only having to read 1 filesystem type for the OS (NTFS). Still, effectively, one could have a system that boots from the BIOS to read the system disk for a kernel ...er, oh wait, isn't that what the linux bootloader did by default on PC Hardware for ages? Now I think the UEFI bios has similar capabilities to allow it to load the OS from the boot disk. In one scenario, you put the kernel+drivers+a copy of the OS on a boot disk that then boots the main OS. Vs. loading the kernel+drivers directly and booting directly from the hard disk as it reads the system-boot process from disk to continue booting. I still remember the original systemd page recommending booting directly from disk to speed up the boot process.