View previous topic :: View next topic |
Author |
Message |
mreff555 Apprentice
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Sat Feb 15, 2014 2:46 pm Post subject: built in kernel command line question |
|
|
I was reading a bit about the built i kernel command line. I'm actually somewhat confused about it's purpose. It seems like it would be useful if it allowed you to avoid using a boot loader entirely. Is that possible? If I'm not mistaken a system accesses the first sector on /dev/sda first. So unless the kernel resided there it wouldn't work.
I'm really curious what would have to be done to make this work. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54244 Location: 56N 3W
|
Posted: Sat Feb 15, 2014 3:50 pm Post subject: |
|
|
mreff555,
To not use a bootloader, you need an EFI BIOS and to make the kernel as an EFI compliant program so the EFI BIOS can load it.
Legacy BIOS does load LBA 0 and pass control to it.
All that is usually here is a better loader, which in turn loads a better still loader, which loads the operating system. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Sat Feb 15, 2014 4:03 pm Post subject: |
|
|
One of the motivations for the kernel built-in command line feature is to support platforms where the bootloader is too limited to pass arguments, but is otherwise capable of loading the kernel. This may be the case on some embedded systems. |
|
Back to top |
|
|
mreff555 Apprentice
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Sat Feb 15, 2014 4:45 pm Post subject: |
|
|
Hu wrote: | One of the motivations for the kernel built-in command line feature is to support platforms where the bootloader is too limited to pass arguments, but is otherwise capable of loading the kernel. This may be the case on some embedded systems. |
That makes sense. Thanks. |
|
Back to top |
|
|
|