LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2012, 02:52 PM   #1
charging-ibis
Member
 
Registered: Dec 2011
Location: Columbus, OH
Distribution: Slackware 13.37
Posts: 38

Rep: Reputation: 0
Question 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.
 
Old 09-20-2012, 04:25 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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:
1.10. EFI boot support link
This release introduces an EFI boot stub that allows an x86 bzImage to be loaded and executed directly by EFI firmware. The bzImage appears to the firmware as an EFI application. Both BIOS and EFI boot loaders can still load and run the same bzImage, thereby allowing a single kernel image to work in any boot environment.
Still you will want to read this: UEFI Secure Boot: Big Hassle, Questionable Benefit

Regards
 
1 members found this post helpful.
Old 09-20-2012, 04:28 PM   #3
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 09-20-2012, 04:36 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
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.
 
2 members found this post helpful.
Old 09-20-2012, 08:01 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,897

Rep: Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313Reputation: 2313
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

Last edited by jefro; 09-20-2012 at 08:04 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Loader question gn00kie Linux - General 3 02-09-2006 02:20 AM
A Boot loader question rdabra General 4 09-30-2005 10:21 AM
Boot Loader question Tavy *BSD 3 11-07-2004 01:08 PM
Boot loader question - keep the same one? claudius753 Linux - Newbie 1 02-22-2004 08:14 AM
Boot Loader Question ? hamoksh Linux - Newbie 6 09-02-2003 04:53 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration