LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2011, 09:55 AM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,678
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
plan for a new boot loader


I'm thinking through plans for a new boot loader, initially for x86 systems. The motivation for this is simplicity. If what you want in a boot loader is a fancy graphical menu to choose from several systems to boot up, then look elsewhere. If you want to be able to hunt around your filesystem for various old kernels to boot, then look elsewhere. My goal for this is simple, quick, and reliable booting of mainly one system, although alternate systems will be part of the capability.

I will leave out any filesystem capability. Instead, the plan is to put kernel images, as well as separate initrd/initramfs images, directly in disk partitions. To update a kernel, you just write the replacement kernel directly into the partition. Same for an initrd/initramfs image. Support for alternate images in other partitions will be the backup mechanism in case writing that new image fails half way through.

The fact that the new GPT partition table supports 128 partitions was the big motivation to do this. I had wanted to make a boot loader for a number of years, but the limited number of partitions in the DOS partition table was a factor that was suggesting I needed to include support for at least one filesystem. But my feeling is that with GPT, I can keep the code simple and it will still be easy to have a dozen kernel images around.

I might still support the DOS partition table, too, or at least the primary partitions of it.

This is by no means a "one solution for everything". It is not intended as a replacement for GRUB or LILO or any other boot loader project. It is intended as a niche alternative for those who happen to find it better suits their needs than the others do. It will be, for me, that choice I wish had been there.

Any thoughts, ideas, or suggestions? If GRUB or LILO are not optimal for your needs, can you envision something else that would be?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
My FC6 / XP dual boot to FC10 / XP dual boot upgrade plan... is this sane? rylan76 Fedora - Installation 6 02-03-2009 07:31 AM
I have a WIN XP SP3 notebook 32-bit PC well I plan Dual Boot with Linux (same PC) lse123 Linux - Newbie 16 12-08-2008 08:27 AM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:47 AM.

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
Open Source Consulting | Domain Registration