FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-18-2010, 03:17 PM
"Kevin O'Gorman"
 
Default Grub2 and use-flags

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
 
Old 06-18-2010, 04:17 PM
Bill Longman
 
Default Grub2 and use-flags

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
 
Old 06-18-2010, 04:46 PM
Peter Humphrey
 
Default Grub2 and use-flags

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.
 
Old 06-18-2010, 06:05 PM
Vaeth
 
Default Grub2 and use-flags

> 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
 
Old 06-18-2010, 11:00 PM
Peter Humphrey
 
Default Grub2 and use-flags

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.
 
Old 06-19-2010, 01:38 AM
walt
 
Default Grub2 and use-flags

On 06/18/2010 04:00 PM, Peter Humphrey wrote:

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):




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


Heh. I think both of you may be using broken newsreaders. Vaeth's reply
uses the wrong article number as a 'reference', so his post is actually an
orphan in this thread.

And your KMail should not be threading his post as a reply to yours because
it wasn't. It was a reply to an article number that doesn't belong in this
thread at all.

Computers are a mystery sometimes.
 

Thread Tools




All times are GMT. The time now is 11:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org