Boot Loader Question - Is it necessary?
I am currently installing Slackware 13.37. I come to a problem when it comes to installing LILO which is Slackware's default boot loader (NO GRUB). But my question is that, if you are only going to have just on distro on your hard drive and have absolutely no intention on dual booting MS-Windows or any other Linux Distros, is a boot loader still necessary? Can i just still boot Linux without one and go straight to the OS?
Thanks. |
It is possible, if you hack direct booting (ie a built-in bootloader) into the kernel source so it works more-or-less like floppy booting in the old days. Or with EFI/UEFI
Quote:
Regards |
I'm pretty sure linux needs a boot loader. At least on x86 systems, with just the standard BIOS I've worked with arm systems that didn't. The problem is that it needs to know where the kernel is located.
If you have a newer system with UEFI there may be a way to boot using that. It's still technically a boot loader though. https://wiki.archlinux.org/index.php/UEFI_Bootloaders |
Typical personal computer use BIOS to load first sector of boot hard drive. This is simple subroutine. It can do only that. Sectors are small. And also this sector store information about partition tables. Plainly, kernel would not fit into it. It need another program (GRUB, LILO) which can load kernel (or subsequent stages of boot loader) and do some more things, like recognize file system, search for configuration, mount raid partition, etc.
There are projects like coreboot, it will replace standard BIOS with more advanced version, which can optionally load Linux kernel without additional steps (if it fit on chip). Thus system load faster. It is difficul, because every motherboard need different threat. I have one compatible motherboard, but not tested this function yet. |
I don't even know if you could get a modern kernel to boot anymore except with maybe qemu.
Lilo used to be the only way to boot linux practically. There are some other loaders out there too from back in the day. Anything you substitute would have to load before linux. Might get syslinux to work or any of many new loaders. The guy who did BartsPE had a lot of loader stuff and maybe the pages on it are still online. Some of this stuff is still true. http://www.linuxjournal.com/article/2239 This is the modern linux kernels. http://duartes.org/gustavo/blog/post...puters-boot-up http://duartes.org/gustavo/blog/post...l-boot-process |
All times are GMT -5. The time now is 04:52 PM. |