public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Grub2 and use-flags
@ 2010-06-18 15:17 Kevin O'Gorman
  2010-06-18 16:17 ` Bill Longman
  2010-06-18 16:46 ` [gentoo-user] Grub2 and use-flags Peter Humphrey
  0 siblings, 2 replies; 7+ messages in thread
From: Kevin O'Gorman @ 2010-06-18 15:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

I'm running grub 2 it seems.  I don't know when that started, or what
difference it makes compared to legacy grub.  I guess I don't need to know.
But a recent post had me looking at use-flags, and I was a bit surprised to
find (ncurses -static).  If this refers to the part of grub that I run when
setting up or tweaking while Linux is already running, I guess that's
sensible.  But does it have any effect on the boot sequence (because both of
those would strike me as badly broken).

I also wonder what -custom-cflags would be used for, and I don't get any
sensible answer from flagedit(1).

Just an inquiring mind...

[I] sys-boot/grub
     Available versions:  0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3 ~0.97
0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9 **1.98 **9999
{custom-cflags debug multislot ncurses netboot static truetype}
     Installed versions:  0.97-r9(06:16:18 AM 03/03/2010)(ncurses
-custom-cflags -netboot -static)
     Homepage:            http://www.gnu.org/software/grub/
     Description:         GNU GRUB 2 boot loader

-- 
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 1221 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Grub2 and use-flags
  2010-06-18 15:17 [gentoo-user] Grub2 and use-flags Kevin O'Gorman
@ 2010-06-18 16:17 ` Bill Longman
  2010-06-23  6:53   ` [gentoo-user] Legacy GRUB vs GRUB2 Stroller
  2010-06-18 16:46 ` [gentoo-user] Grub2 and use-flags Peter Humphrey
  1 sibling, 1 reply; 7+ messages in thread
From: Bill Longman @ 2010-06-18 16:17 UTC (permalink / raw
  To: gentoo-user

On 06/18/2010 08:17 AM, Kevin O'Gorman wrote:
> I'm running grub 2 it seems.  I don't know when that started, or what
> difference it makes compared to legacy grub.  I guess I don't need to
> know.  But a recent post had me looking at use-flags, and I was a bit
> surprised to find (ncurses -static).  If this refers to the part of grub
> that I run when setting up or tweaking while Linux is already running, I
> guess that's sensible.  But does it have any effect on the boot sequence
> (because both of those would strike me as badly broken).
> 
> I also wonder what -custom-cflags would be used for, and I don't get any
> sensible answer from flagedit(1).
> 
> Just an inquiring mind... 
> 
> [I] sys-boot/grub
>      Available versions:  0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3 ~0.97
> 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9 **1.98 **9999
> {custom-cflags debug multislot ncurses netboot static truetype}
>      Installed versions:  0.97-r9(06:16:18 AM 03/03/2010)(ncurses
> -custom-cflags -netboot -static)
>      Homepage:            http://www.gnu.org/software/grub/
>      Description:         GNU GRUB 2 boot loader

I think it's used in both places, Kevin. You certainly see ncurses when
you're in grub and doing a setup for instance, but you'd need ncurses at
boottime in order to highlight which grub record you wanted to edit and
all the fancy stuff it does out there before the OS begins.

My hunch about -custom-cflags is that, by default, grub would want to
make its binary as generic as possible. But if you want to see your grub
menus that many nanoseconds sooner, you could always apply your own über
mega hyper powered extra special smokin' grub.

And finally, don't even mention how braindead the "new" improved grub
is. I wonder how anyone can feel that having to write six paragraphs in
some one-off bash-like language, which needs to be debugged, is better
than four lines in a config file.

Bill



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Grub2 and use-flags
  2010-06-18 15:17 [gentoo-user] Grub2 and use-flags Kevin O'Gorman
  2010-06-18 16:17 ` Bill Longman
@ 2010-06-18 16:46 ` Peter Humphrey
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Humphrey @ 2010-06-18 16:46 UTC (permalink / raw
  To: gentoo-user

On Friday 18 June 2010 16:17:12 Kevin O'Gorman wrote:
> I'm running grub 2 it seems.  I don't know when that started, or what
> difference it makes compared to legacy grub.  I guess I don't need to
> know. But a recent post had me looking at use-flags, and I was a bit
> surprised to find (ncurses -static).  If this refers to the part of
> grub that I run when setting up or tweaking while Linux is already
> running, I guess that's sensible.  But does it have any effect on
> the boot sequence (because both of those would strike me as badly
> broken).
> 
> I also wonder what -custom-cflags would be used for, and I don't get
> any sensible answer from flagedit(1).
> 
> Just an inquiring mind...
> 
> [I] sys-boot/grub
>      Available versions:  0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3
> ~0.97 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9
> **1.98 **9999 {custom-cflags debug multislot ncurses netboot static
> truetype} Installed versions:  0.97-r9(06:16:18 AM
> 03/03/2010)(ncurses -custom-cflags -netboot -static)
>      Homepage:            http://www.gnu.org/software/grub/
>      Description:         GNU GRUB 2 boot loader

I see the same version availability on my box, but I'm running grub-
static 0.97-r9. The reason is that, months and years ago, the dynamic 
version did not interpret TAB but just moved the cursor. I don't know 
whether that's been fixed.

The fact that grub-static says it's the legacy boot loader, and that 
it's at the same version as you quote, makes me wonder whether the 
dynamically linked version really is grub 2 - it seems to be lacking 
several files that are in the grub 2 in (I think) Ubuntu.

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Grub2 and use-flags
       [not found] <eWLwl-5xX-3@gated-at.bofh.it>
@ 2010-06-18 18:05 ` Vaeth
  2010-06-18 23:00   ` Peter Humphrey
  0 siblings, 1 reply; 7+ messages in thread
From: Vaeth @ 2010-06-18 18:05 UTC (permalink / raw
  To: gentoo-user


> I'm running grub 2 it seems

No. You are running grub 0.97-r9 (which is a legacy grub):
Don't be confused by the description in eix:
eix knows only one description per package (not one per version),
and it takes this description from the version with the highest
version number (which is grub 2).

> [I] sys-boot/grub
>      Available versions:  0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3 ~0.97
> 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9 **1.98 **9999
> {custom-cflags debug multislot ncurses netboot static truetype}
>      Installed versions:  0.97-r9(06:16:18 AM 03/03/2010)(ncurses
> -custom-cflags -netboot -static)
>      Homepage:            http://www.gnu.org/software/grub/
>      Description:         GNU GRUB 2 boot loader



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Grub2 and use-flags
  2010-06-18 18:05 ` Vaeth
@ 2010-06-18 23:00   ` Peter Humphrey
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Humphrey @ 2010-06-18 23:00 UTC (permalink / raw
  To: gentoo-user

On Friday 18 June 2010 19:05:17 Vaeth wrote:
> > I'm running grub 2 it seems
> 
> No. You are running grub 0.97-r9 (which is a legacy grub):
> Don't be confused by the description in eix:
> eix knows only one description per package (not one per version),
> and it takes this description from the version with the highest
> version number (which is grub 2).
> 
> > [I] sys-boot/grub
> > 
> >      Available versions:  0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3
> >      ~0.97
> > 
> > 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9 **1.98
> > **9999 {custom-cflags debug multislot ncurses netboot static
> > truetype}
> > 
> >      Installed versions:  0.97-r9(06:16:18 AM 03/03/2010)(ncurses
> > 
> > -custom-cflags -netboot -static)
> > 
> >      Homepage:            http://www.gnu.org/software/grub/
> >      Description:         GNU GRUB 2 boot loader

I'm puzzled. This is a reply to the OP, but you've cast it as a reply to 
me. Why?

-- 
Rgds
Peter.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Legacy GRUB vs GRUB2
  2010-06-18 16:17 ` Bill Longman
@ 2010-06-23  6:53   ` Stroller
  2010-06-23  8:16     ` Maximilian Bräutigam
  0 siblings, 1 reply; 7+ messages in thread
From: Stroller @ 2010-06-23  6:53 UTC (permalink / raw
  To: gentoo-user


On 18 Jun 2010, at 17:17, Bill Longman wrote:
> ...
> And finally, don't even mention how braindead the "new" improved grub
> is. I wonder how anyone can feel that having to write six paragraphs  
> in
> some one-off bash-like language, which needs to be debugged, is better
> than four lines in a config file.


Can someone possibly explain exactly what's wrong with GRUB2?

I've just taken a look at the wiki guide link posted by Max Bräutigam,  
and it all looks exactly the same as current GRUB and no more  
complicated, apart from optional sections to change the resolution and  
font at the top of the config file.

Stroller.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Legacy GRUB vs GRUB2
  2010-06-23  6:53   ` [gentoo-user] Legacy GRUB vs GRUB2 Stroller
@ 2010-06-23  8:16     ` Maximilian Bräutigam
  0 siblings, 0 replies; 7+ messages in thread
From: Maximilian Bräutigam @ 2010-06-23  8:16 UTC (permalink / raw
  To: gentoo-user

Am 23.06.2010 08:53, schrieb Stroller:
> 
> On 18 Jun 2010, at 17:17, Bill Longman wrote:
>> ...
>> And finally, don't even mention how braindead the "new" improved grub
>> is. I wonder how anyone can feel that having to write six paragraphs in
>> some one-off bash-like language, which needs to be debugged, is better
>> than four lines in a config file.
> 
> 
> Can someone possibly explain exactly what's wrong with GRUB2?
> 
> I've just taken a look at the wiki guide link posted by Max Bräutigam,
> and it all looks exactly the same as current GRUB and no more
> complicated, apart from optional sections to change the resolution and
> font at the top of the config file.
> 
> Stroller.
> 

Hi Stroller,

there is nothing complicated, the only thing you should take care of is,
that you run grub-mkconfig to get an initial grub.cfg and grub-install
and you should in case of system failure know, how to boot with a
livecd, chroot your environment and switch back to your old grub/config.
Help with chroot you'll find here:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6

So, be brave!
der Max



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-06-23  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18 15:17 [gentoo-user] Grub2 and use-flags Kevin O'Gorman
2010-06-18 16:17 ` Bill Longman
2010-06-23  6:53   ` [gentoo-user] Legacy GRUB vs GRUB2 Stroller
2010-06-23  8:16     ` Maximilian Bräutigam
2010-06-18 16:46 ` [gentoo-user] Grub2 and use-flags Peter Humphrey
     [not found] <eWLwl-5xX-3@gated-at.bofh.it>
2010-06-18 18:05 ` Vaeth
2010-06-18 23:00   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox