Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub beschreibung verdecken?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
R4miu5
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 263
Location: Mödling / Austria

PostPosted: Sun Jul 10, 2005 12:16 pm    Post subject: Grub beschreibung verdecken? Reply with quote

Hi, ich will bei meinem Grubloader die beschreibung unten ausblenden. dieses
"use the UP and DOWN keys to navigate..."
zu sehen hier:http://www.flashlinux.org.uk/screen-0.3/grub.jpg

ich hab schon das manual durchgearbeitet aber nichts gefunden. geht das überhaupt?

thx in advance
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Sun Jul 10, 2005 1:08 pm    Post subject: Reply with quote

Hi,

ich glaub nicht, dass man das via kommando ändern kann (hab' aber nicht gesucht :) )
als "dirty-hack" kannst du den patch anwenden:
Code:
--- stage2.c    2004-07-24 20:53:47.000000000 +0200
+++ stage2_mod.c        2005-07-10 14:54:00.000000000 +0200
@@ -303,30 +303,30 @@
        print_entries_raw (num_entries, first_entry, menu_entries);
       else
        print_border (3, 12);
-
-      grub_printf ("\n\
-      Use the %c and %c keys to select which entry is highlighted.\n",
-                  DISP_UP, DISP_DOWN);
+
+/*       grub_printf ("\n\ */
+/*       Use the %c and %c keys to select which entry is highlighted.\n", */
+/*                DISP_UP, DISP_DOWN); */
       
-      if (! auth && password)
-       {
-         printf ("\
-      Press enter to boot the selected OS or \'p\' to enter a\n\
-      password to unlock the next set of features.");
-       }
-      else
-       {
-         if (config_entries)
-           printf ("\
-      Press enter to boot the selected OS, \'e\' to edit the\n\
-      commands before booting, or \'c\' for a command-line.");
-         else
-           printf ("\
-      Press \'b\' to boot, \'e\' to edit the selected command in the\n\
-      boot sequence, \'c\' for a command-line, \'o\' to open a new line\n\
-      after (\'O\' for before) the selected line, \'d\' to remove the\n\
-      selected line, or escape to go back to the main menu.");
-       }
+/*       if (! auth && password) */
+/*     { */
+/*       printf ("\ */
+/*       Press enter to boot the selected OS or \'p\' to enter a\n\ */
+/*       password to unlock the next set of features."); */
+/*     } */
+/*       else */
+/*     { */
+/*       if (config_entries) */
+/*         printf ("\ */
+/*       Press enter to boot the selected OS, \'e\' to edit the\n\ */
+/*       commands before booting, or \'c\' for a command-line."); */
+/*       else */
+/*         printf ("\ */
+/*       Press \'b\' to boot, \'e\' to edit the selected command in the\n\ */
+/*       boot sequence, \'c\' for a command-line, \'o\' to open a new line\n\ */
+/*       after (\'O\' for before) the selected line, \'d\' to remove the\n\ */
+/*       selected line, or escape to go back to the main menu."); */
+/*     } */
 
       if (current_term->flags & TERM_DUMB)
        grub_printf ("\n\nThe selected entry is %d ", entryno);


indem du die grub-sourcen entpackst und im verzeichnis
Code:
grub-0.96/stage2

den patch mit
Code:
patch -p 0 < stage2.patch

anwendest.

ACHTUNG: KEINE Haftung für den Patch. Anwenden auf eigene Gefah!!!r

Gruss, R.
_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
R4miu5
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 263
Location: Mödling / Austria

PostPosted: Sun Jul 10, 2005 1:30 pm    Post subject: Reply with quote

*schluck* ist das der einzige weg, o_O...

beim patchen hab ich folgenden fehler:

Code:
patch -p 0 < stage2.patch
patching file stage2.c
Hunk #1 FAILED at 303.
1 out of 1 hunk FAILED -- saving rejects to file stage2.c.rej
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Sun Jul 10, 2005 3:29 pm    Post subject: Reply with quote

dieser funktioniert:
Code:
--- stage2.c    2005-07-10 17:24:23.000000000 +0200
+++ stage2.c.mod        2005-07-10 17:26:43.000000000 +0200
@@ -304,29 +304,29 @@
       else
        print_border (3, 12);
 
-      grub_printf ("\n\
-      Use the %c and %c keys to select which entry is highlighted.\n",
-                  DISP_UP, DISP_DOWN);
+/*       grub_printf ("\n\ */
+/*       Use the %c and %c keys to select which entry is highlighted.\n", */
+/*                DISP_UP, DISP_DOWN); */
       
-      if (! auth && password)
-       {
-         printf ("\
-      Press enter to boot the selected OS or \'p\' to enter a\n\
-      password to unlock the next set of features.");
-       }
-      else
-       {
-         if (config_entries)
-           printf ("\
-      Press enter to boot the selected OS, \'e\' to edit the\n\
-      commands before booting, or \'c\' for a command-line.");
-         else
-           printf ("\
-      Press \'b\' to boot, \'e\' to edit the selected command in the\n\
-      boot sequence, \'c\' for a command-line, \'o\' to open a new line\n\
-      after (\'O\' for before) the selected line, \'d\' to remove the\n\
-      selected line, or escape to go back to the main menu.");
-       }
+/*       if (! auth && password) */
+/*     { */
+/*       printf ("\ */
+/*       Press enter to boot the selected OS or \'p\' to enter a\n\ */
+/*       password to unlock the next set of features."); */
+/*     } */
+/*       else */
+/*     { */
+/*       if (config_entries) */
+/*         printf ("\ */
+/*       Press enter to boot the selected OS, \'e\' to edit the\n\ */
+/*       commands before booting, or \'c\' for a command-line."); */
+/*       else */
+/*         printf ("\ */
+/*       Press \'b\' to boot, \'e\' to edit the selected command in the\n\ */
+/*       boot sequence, \'c\' for a command-line, \'o\' to open a new line\n\ */
+/*       after (\'O\' for before) the selected line, \'d\' to remove the\n\ */
+/*       selected line, or escape to go back to the main menu."); */
+/*     } */
 
       if (current_term->flags & TERM_DUMB)
        grub_printf ("\n\nThe selected entry is %d ", entryno);


gruss, r.
_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
R4miu5
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 263
Location: Mödling / Austria

PostPosted: Sun Jul 10, 2005 5:18 pm    Post subject: Reply with quote

Code:
patch -p 0 < stage2.patch
patching file stage2.c
Hunk #1 FAILED at 304.
1 out of 1 hunk FAILED -- saving rejects to file stage2.c.rej


leider immer noch nicht :-(
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Sun Jul 10, 2005 5:22 pm    Post subject: Reply with quote

???
es sind die grub-0.96-sourcen ja?
du bist im verzeichnis <IRGENDWAS>/grub-0.96/stage2.

-->
Code:
raistlin: ~/test/grub-0.96/stage2>patch -p 0 < stage2.patch
patching file stage2.c

_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
R4miu5
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 263
Location: Mödling / Austria

PostPosted: Sun Jul 10, 2005 10:26 pm    Post subject: Reply with quote

argh!! sry es waren die 0.96-r2 sourcen :oops: ich probiers morgen noch mal
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Mon Jul 11, 2005 12:08 pm    Post subject: Reply with quote

:)

ich habe sowieso die vanilla-Sourcen von Grub, also direkt von der Homepage, ohne Gentoo-patches...

Gruss, R.
_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
Xylometer
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2004
Posts: 104
Location: Erlangen

PostPosted: Mon Jul 11, 2005 7:45 pm    Post subject: Reply with quote

Hallo,

kann man dann nicht direct Nägel mit Köpfen machen und Grub eine hübschere "GUI" verpassen, in etwa so wie Suse9.2 oder 9.3 die haben Grub nämlich ganz schön aufgebohrt.

Im übrigen das einzige Feature wo Suse besser ist :-P

Philipp
_________________
404 - No Signature found.
Back to top
View user's profile Send private message
Arudil
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jun 2004
Posts: 144

PostPosted: Mon Jul 11, 2005 8:00 pm    Post subject: Reply with quote

SuSE (eigentlich eine Redhat Entwicklung) hat grub wirklich im Design sehr verbessert. Bis jetzt hab ich das Patch aber nirgendwo gefunden, um vanilla-grub zu erweitern.
Back to top
View user's profile Send private message
R4miu5
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 263
Location: Mödling / Austria

PostPosted: Mon Jul 11, 2005 10:37 pm    Post subject: Reply with quote

kann man nicht einfach das suse paket nehmen? was haben die überhaupt anders
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum