* grub2 vs. kexec
@ 2009-03-25 22:58 Michael Reichenbach
2009-03-26 4:22 ` Pavel Roskin
2009-03-28 13:35 ` Robert Millan
0 siblings, 2 replies; 3+ messages in thread
From: Michael Reichenbach @ 2009-03-25 22:58 UTC (permalink / raw)
To: grub-devel
With great interrest I was reading http://grub.enbug.org/GSoC/Ideas2009
the new ideas sound really innovative.
I see two possible approaches to implement such features. Either
- doing it the GRUB2 way or
- loading a linux kernel (which supports already all the stuff), loading
the needed drivers (bluetooth for menu, wlan and tcp/ip for network
booting) and use kexec to boot the the new kernel
I mean you are going to implement almost a complete operating system
again for booting another operating system. At the same time there is
already a complete operating system (linux) which is also able to boot
another operating system (kexec).
What is the advantage of the GRUB2 way?
-mr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: grub2 vs. kexec
2009-03-25 22:58 grub2 vs. kexec Michael Reichenbach
@ 2009-03-26 4:22 ` Pavel Roskin
2009-03-28 13:35 ` Robert Millan
1 sibling, 0 replies; 3+ messages in thread
From: Pavel Roskin @ 2009-03-26 4:22 UTC (permalink / raw)
To: grub-devel
Quoting Michael Reichenbach <michael_reichenbach@freenet.de>:
> With great interrest I was reading http://grub.enbug.org/GSoC/Ideas2009
> the new ideas sound really innovative.
>
> I see two possible approaches to implement such features. Either
> - doing it the GRUB2 way or
> - loading a linux kernel (which supports already all the stuff), loading
> the needed drivers (bluetooth for menu, wlan and tcp/ip for network
> booting) and use kexec to boot the the new kernel
>
> I mean you are going to implement almost a complete operating system
> again for booting another operating system. At the same time there is
> already a complete operating system (linux) which is also able to boot
> another operating system (kexec).
>
> What is the advantage of the GRUB2 way?
The advantage of the GRUB2 way is that GRUB2 exists already. I'm not
aware of a Linux based bootloader. It's not just a kernel. You'll
need a minimal loader for the kernel, some userspace for the menus,
scripts for modifying connfiguation files.
A Linux based bootloader could compete against GRUB2 for certain
tasks. Perhaps it would be bigger and slower, but with more features.
I'm not sure Linux kernel developers would be enthusiastic about
kexec support for Multiboot and FreeBSD kernels, but maybe it can be
done in userspace.
If you want a Linux based bootloader, make one.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: grub2 vs. kexec
2009-03-25 22:58 grub2 vs. kexec Michael Reichenbach
2009-03-26 4:22 ` Pavel Roskin
@ 2009-03-28 13:35 ` Robert Millan
1 sibling, 0 replies; 3+ messages in thread
From: Robert Millan @ 2009-03-28 13:35 UTC (permalink / raw)
To: The development of GRUB 2
On Wed, Mar 25, 2009 at 11:58:31PM +0100, Michael Reichenbach wrote:
> With great interrest I was reading http://grub.enbug.org/GSoC/Ideas2009
> the new ideas sound really innovative.
>
> I see two possible approaches to implement such features. Either
> - doing it the GRUB2 way or
> - loading a linux kernel (which supports already all the stuff), loading
> the needed drivers (bluetooth for menu, wlan and tcp/ip for network
> booting) and use kexec to boot the the new kernel
>
> I mean you are going to implement almost a complete operating system
> again for booting another operating system. At the same time there is
> already a complete operating system (linux) which is also able to boot
> another operating system (kexec).
>
> What is the advantage of the GRUB2 way?
Actually, it's the other way around. GRUB is designed from scratch to be
a bootloader. It can have many features, but that's not the important. When
it comes to a bootloader, other things, such as being small/fast and having
a reliable installation system are.
We do realize GRUB is not an OS kernel, and it doesn't intend to be anything
more than a temporary stage that can load kernels (Marco once joked about
adding context switching and a scheduler, but it was just a joke ;-)).
OTOH, this "kexec" idea strikes me as Linux trying to be a bootloader instead
of a kernel [1]. Sure, it can be a bootloader if someone implements the missing
things (a GUI, an installation system, etc), but it can't fit the purpose that
well, since every single line of its code is designed with another idea in
mind: "once we're running, we stay there".
This just means they aim at different things. Which is good because in the
end, the parts complement each other.
[1] It's funny, it reminds me of EFI in the exact opposite situation :-)
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-28 13:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-25 22:58 grub2 vs. kexec Michael Reichenbach
2009-03-26 4:22 ` Pavel Roskin
2009-03-28 13:35 ` Robert Millan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.