All of lore.kernel.org
 help / color / mirror / Atom feed
* Console Resolution with GRUB2
@ 2013-02-05  4:35 D.J.J. Ring, Jr.
  2013-02-05  5:32 ` Chris Murphy
  2013-02-05  6:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-05  4:35 UTC (permalink / raw)
  To: grub-devel

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

Hello everyone,

I thought I'd post here as my post is not exactly help, but that also will
be welcome.

Prior to GRUB2 it was quite easy to change virtual console resolution.

There are some of us who still use console without  X windows.  One such
group is older persons who cannot see at anything except 640x480 resolution.

Those of us who are developing www.vinuxproject.org have a nice Debian
version (Vinux 2.0) that is CLI only and has a nice 640x480 screen.

I have tried some of the examples I have found on the Internet and they all
worked until recently.

But couldn't the boot command just be modified to be what it was once in
GRUB?  it was so simple to modify then update grub and the user had a
bigger size font.

Also could someone tell me now what I must do in the current version of
grub2 to get 640x480 resolution kept when the OS boots?

Thanks for any responses I will receive.

David J. Ring, Jr., N1EA <http://www.qsl.net/n1ea/>  Radio-Officers
Group<http://groups.google.com/group/radio-officers?hl=en>-- Join
CW email list <http://mailman.qth.net/mailman/listinfo/cw%20> -- Historic
Morse Recordings <http://tiny.cc/n1ea>
*Gopher Hole:*  gopher://sdf.org/1/users/djringjr/ (native or with
Firefox's Overbite extension) or via http to gopher
gateway<http://gopher.floodgap.com/gopher/gw?gopher://sdf.org/1/users/djringjr/>
*C**hat* Skype: djringjr MSN: djringjr@msn.com AIM: N1EA icq: 27380609

=30=

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

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

* Re: Console Resolution with GRUB2
  2013-02-05  4:35 Console Resolution with GRUB2 D.J.J. Ring, Jr.
@ 2013-02-05  5:32 ` Chris Murphy
  2013-02-05  7:36   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-02-05  6:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
  1 sibling, 1 reply; 36+ messages in thread
From: Chris Murphy @ 2013-02-05  5:32 UTC (permalink / raw)
  To: The development of GNU GRUB


On Feb 4, 2013, at 9:35 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:

> Hello everyone,
> 
> I thought I'd post here as my post is not exactly help, but that also will be welcome.
> 
> Prior to GRUB2 it was quite easy to change virtual console resolution.
> 
> There are some of us who still use console without  X windows.  One such group is older persons who cannot see at anything except 640x480 resolution.

Well technically that's a terrible resolution for reading due to pixelization. The better way to deal with this is setting a larger font size for the higher resolution of the display. I can't even think of any laptop or desktop LCD's with a native resolution of 640x480. So to force it to a lower, and thus non-native resolution, makes the problem worse.

Chris Murphy

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

* Re: Console Resolution with GRUB2
  2013-02-05  4:35 Console Resolution with GRUB2 D.J.J. Ring, Jr.
  2013-02-05  5:32 ` Chris Murphy
@ 2013-02-05  6:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-02-05  7:29   ` David J. J. Ring, Jr.
  1 sibling, 1 reply; 36+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-02-05  6:47 UTC (permalink / raw)
  To: grub-devel

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

Use GRUB_TERMINAL=console in /etc/default/grub and rerun update-grub.
Also note that there is WIP for supporting braille in GRUB.
On 05.02.2013 05:35, D.J.J. Ring, Jr. wrote:

> Hello everyone,
> 
> I thought I'd post here as my post is not exactly help, but that also
> will be welcome.
> 
> Prior to GRUB2 it was quite easy to change virtual console resolution.
> 
> There are some of us who still use console without  X windows.  One such
> group is older persons who cannot see at anything except 640x480 resolution.
> 
> Those of us who are developing www.vinuxproject.org
> <http://www.vinuxproject.org> have a nice Debian version (Vinux 2.0)
> that is CLI only and has a nice 640x480 screen.
> 
> I have tried some of the examples I have found on the Internet and they
> all worked until recently.
> 
> But couldn't the boot command just be modified to be what it was once in
> GRUB?  it was so simple to modify then update grub and the user had a
> bigger size font.
> 
> Also could someone tell me now what I must do in the current version of
> grub2 to get 640x480 resolution kept when the OS boots?
> 
> Thanks for any responses I will receive.
> 
> David J. Ring, Jr., N1EA <http://www.qsl.net/n1ea/>  Radio-Officers
> Group <http://groups.google.com/group/radio-officers?hl=en> -- Join CW
> email list <http://mailman.qth.net/mailman/listinfo/cw%20> -- Historic
> Morse Recordings <http://tiny.cc/n1ea> 
> *Gopher Hole:*  gopher://sdf.org/1/users/djringjr/
> <gopher://sdf.org/1/users/djringjr/> (native or with Firefox's
> Overbite extension) or via http to gopher gateway
> <http://gopher.floodgap.com/gopher/gw?gopher://sdf.org/1/users/djringjr/>
> *C**hat* Skype: djringjrMSN: djringjr@msn.com
> <mailto:djringjr@msn.com>AIM: N1EAicq: 27380609
> 
> =30=
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Console Resolution with GRUB2
  2013-02-05  6:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-02-05  7:29   ` David J. J. Ring, Jr.
  2013-02-05  7:32     ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-02-05  7:35     ` Chris Murphy
  0 siblings, 2 replies; 36+ messages in thread
From: David J. J. Ring, Jr. @ 2013-02-05  7:29 UTC (permalink / raw)
  To: The development of GNU GRUB

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Can a line be included in default /etc/default/grub to automatically impliment this in the next release of GRUB2?

It would help many.

Thank you,

David Ring

- --
Sent from my Android nook color
with K-9 Mail. Please excuse my brevity.

"Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com> wrote:

>Use GRUB_TERMINAL=console in /etc/default/grub and rerun update-grub.
>Also note that there is WIP for supporting braille in GRUB.
>On 05.02.2013 05:35, D.J.J. Ring, Jr. wrote:
>
>> Hello everyone,
>>
>> I thought I'd post here as my post is not exactly help, but that also
>> will be welcome.
>>
>> Prior to GRUB2 it was quite easy to change virtual console
>resolution.
>>
>> There are some of us who still use console without  X windows.  One
>such
>> group is older persons who cannot see at anything except 640x480
>resolution.
>>
>> Those of us who are developing www.vinuxproject.org
>> <http://www.vinuxproject.org> have a nice Debian version (Vinux 2.0)
>> that is CLI only and has a nice 640x480 screen.
>>
>> I have tried some of the examples I have found on the Internet and
>they
>> all worked until recently.
>>
>> But couldn't the boot command just be modified to be what it was once
>in
>> GRUB?  it was so simple to modify then update grub and the user had a
>> bigger size font.
>>
>> Also could someone tell me now what I must do in the current version
>of
>> grub2 to get 640x480 resolution kept when the OS boots?
>>
>> Thanks for any responses I will receive.
>>
>> David J. Ring, Jr., N1EA <http://www.qsl.net/n1ea/>  Radio-Officers
>> Group <http://groups.google.com/group/radio-officers?hl=en> -- Join
>CW
>> email list <http://mailman.qth.net/mailman/listinfo/cw%20> --
>Historic
>> Morse Recordings <http://tiny.cc/n1ea>
>> *Gopher Hole:*  gopher://sdf.org/1/users/djringjr/
>> <gopher://sdf.org/1/users/djringjr/> (native or with Firefox's
>> Overbite extension) or via http to gopher gateway
>>
><http://gopher.floodgap.com/gopher/gw?gopher://sdf.org/1/users/djringjr/>
>> *C**hat* Skype: djringjrMSN: djringjr@msn.com
>> <mailto:djringjr@msn.com>AIM: N1EAicq: 27380609
>>
>> =30=
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>
>
>--
>Regards
>Vladimir 'φ-coder/phcoder' Serbinenko
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Grub-devel mailing list
>Grub-devel@gnu.org
>https://lists.gnu.org/mailman/listinfo/grub-devel
-----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8

iMIEAQEIACwFAlEQtMMlHERhdmlkIEouSi4gUmluZywgSnIuIDxuMWVhQGFycmwu
bmV0PgAKCRCBtPi/K/7Ga1/IA/0Z0zD1Hiox1JvIEYtSV4UsUzB6a2uA18sKS0xe
jDAgup5/c05GD7fQsatm4oqjkCinUd0XlExvVg0RxVnaFleYnIRx0fd+0QiVZJcY
FZTEI8XiQHYulkLuL964jb/wsDFKLT6LbSlpUP/0c3m+ewh5x/E5bvxnEFRbH1wc
oCGGmA==
=ntAg
-----END PGP SIGNATURE-----



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

* Re: Console Resolution with GRUB2
  2013-02-05  7:29   ` David J. J. Ring, Jr.
@ 2013-02-05  7:32     ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-02-05  7:35     ` Chris Murphy
  1 sibling, 0 replies; 36+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-02-05  7:32 UTC (permalink / raw)
  To: The development of GNU GRUB

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

On 05.02.2013 08:29, David J. J. Ring, Jr. wrote:

> Can a line be included in default /etc/default/grub to automatically impliment this in the next release of GRUB2?
> 
> It would help many.
> 

I don't see what you mean? Do you mean to change the defaults? This
sounds more like downstream issue.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Console Resolution with GRUB2
  2013-02-05  7:29   ` David J. J. Ring, Jr.
  2013-02-05  7:32     ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-02-05  7:35     ` Chris Murphy
  1 sibling, 0 replies; 36+ messages in thread
From: Chris Murphy @ 2013-02-05  7:35 UTC (permalink / raw)
  To: The development of GNU GRUB


On Feb 5, 2013, at 12:29 AM, "David J. J. Ring, Jr." <n1ea@arrl.net> wrote:

> Can a line be included in default /etc/default/grub to automatically impliment this in the next release of GRUB2?
> 
> It would help many.

It would hurt more. This is a file distributions are expected to write to for customization for their target market.


Chris Murphy

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

* Re: Console Resolution with GRUB2
  2013-02-05  5:32 ` Chris Murphy
@ 2013-02-05  7:36   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2013-02-05 15:10     ` D.J.J. Ring, Jr.
  0 siblings, 1 reply; 36+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-02-05  7:36 UTC (permalink / raw)
  To: The development of GNU GRUB

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

On 05.02.2013 06:32, Chris Murphy wrote:

> 
> On Feb 4, 2013, at 9:35 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
> 
>> Hello everyone,
>>
>> I thought I'd post here as my post is not exactly help, but that also will be welcome.
>>
>> Prior to GRUB2 it was quite easy to change virtual console resolution.
>>
>> There are some of us who still use console without  X windows.  One such group is older persons who cannot see at anything except 640x480 resolution.
> 
> Well technically that's a terrible resolution for reading due to pixelization. The better way to deal with this is setting a larger font size for the higher resolution of the display. I can't even think of any laptop or desktop LCD's with a native resolution of 640x480. So to force it to a lower, and thus non-native resolution, makes the problem worse.
> 

Agreed. To increase font size regenerate unicode.pf2 using grub-mkfont with appropriate -s option. E.g.
grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz

Put resulting file in /boot/grub/unicode_24.pf2 and add
GRUB_FONT_PATH=/boot/grub/unicode_24.pf2
to /etc/default/grub

> Chris Murphy
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: Console Resolution with GRUB2
  2013-02-05  7:36   ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-02-05 15:10     ` D.J.J. Ring, Jr.
  2013-02-05 15:18       ` D.J.J. Ring, Jr.
  0 siblings, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-05 15:10 UTC (permalink / raw)
  To: The development of GNU GRUB

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

I understand now.  The config files are up to the Distibution.

I tried what you advised, Chris, but I have no such directory:

 ls /usr/share/fonts/X11/
100dpi/    75dpi/     encodings/ misc/      Type1/     util/

So the command:

grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz

fails on me.
# can't open file /usr/share/fonts/X11/mis/unifont.pcf.gz, index 0: error
1: cannot open resource

Furthermore, I have no such file unifont.pcf.gz on the system.

Can you be of further help, I very much appreciate your help.

David J. Ring, Jr.

=30=


On Tue, Feb 5, 2013 at 2:36 AM, Vladimir 'φ-coder/phcoder' Serbinenko <
phcoder@gmail.com> wrote:

> On 05.02.2013 06:32, Chris Murphy wrote:
>
> >
> > On Feb 4, 2013, at 9:35 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
> >
> >> Hello everyone,
> >>
> >> I thought I'd post here as my post is not exactly help, but that also
> will be welcome.
> >>
> >> Prior to GRUB2 it was quite easy to change virtual console resolution.
> >>
> >> There are some of us who still use console without  X windows.  One
> such group is older persons who cannot see at anything except 640x480
> resolution.
> >
> > Well technically that's a terrible resolution for reading due to
> pixelization. The better way to deal with this is setting a larger font
> size for the higher resolution of the display. I can't even think of any
> laptop or desktop LCD's with a native resolution of 640x480. So to force it
> to a lower, and thus non-native resolution, makes the problem worse.
> >
>
> Agreed. To increase font size regenerate unicode.pf2 using grub-mkfont
> with appropriate -s option. E.g.
> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>
> Put resulting file in /boot/grub/unicode_24.pf2 and add
> GRUB_FONT_PATH=/boot/grub/unicode_24.pf2
> to /etc/default/grub
>
> > Chris Murphy
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
>
>
> --
> Regards
> Vladimir 'φ-coder/phcoder' Serbinenko
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>

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

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

* Re: Console Resolution with GRUB2
  2013-02-05 15:10     ` D.J.J. Ring, Jr.
@ 2013-02-05 15:18       ` D.J.J. Ring, Jr.
  2013-02-06  4:02         ` D.J.J. Ring, Jr.
  2013-02-06 15:27         ` D.J.J. Ring, Jr.
  0 siblings, 2 replies; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-05 15:18 UTC (permalink / raw)
  To: The development of GNU GRUB

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

I understand that Chris typed the wrong directory.  Instead of mis it
should have been misc.

I also found I did not have the package unifont installed.

I installed unifont, and now I have the file in the misc folder:

 locate unifont.pcf.gz
/usr/share/fonts/X11/misc/unifont.pcf.gz

However when I run this command I receive an error that I cannot generate
24x24 font size.

# grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/misc/unifont.pcf.gz
grub-mkfont: error: can't set 24x24 font size.

Do I need a package to generate these font sizes, if so, which ones?

Thanks,

DR

On Tue, Feb 5, 2013 at 10:10 AM, D.J.J. Ring, Jr. <n1ea@arrl.net> wrote:

> I understand now.  The config files are up to the Distibution.
>
> I tried what you advised, Chris, but I have no such directory:
>
>  ls /usr/share/fonts/X11/
> 100dpi/    75dpi/     encodings/ misc/      Type1/     util/
>
> So the command:
>
>
> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>
> fails on me.
> # can't open file /usr/share/fonts/X11/mis/unifont.pcf.gz, index 0: error
> 1: cannot open resource
>
> Furthermore, I have no such file unifont.pcf.gz on the system.
>
> Can you be of further help, I very much appreciate your help.
>
> David J. Ring, Jr.
>
> =30=
>
>
> On Tue, Feb 5, 2013 at 2:36 AM, Vladimir 'φ-coder/phcoder' Serbinenko <
> phcoder@gmail.com> wrote:
>
>> On 05.02.2013 06:32, Chris Murphy wrote:
>>
>> >
>> > On Feb 4, 2013, at 9:35 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
>> >
>> >> Hello everyone,
>> >>
>> >> I thought I'd post here as my post is not exactly help, but that also
>> will be welcome.
>> >>
>> >> Prior to GRUB2 it was quite easy to change virtual console resolution.
>> >>
>> >> There are some of us who still use console without  X windows.  One
>> such group is older persons who cannot see at anything except 640x480
>> resolution.
>> >
>> > Well technically that's a terrible resolution for reading due to
>> pixelization. The better way to deal with this is setting a larger font
>> size for the higher resolution of the display. I can't even think of any
>> laptop or desktop LCD's with a native resolution of 640x480. So to force it
>> to a lower, and thus non-native resolution, makes the problem worse.
>> >
>>
>> Agreed. To increase font size regenerate unicode.pf2 using grub-mkfont
>> with appropriate -s option. E.g.
>> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>>
>> Put resulting file in /boot/grub/unicode_24.pf2 and add
>> GRUB_FONT_PATH=/boot/grub/unicode_24.pf2
>> to /etc/default/grub
>>
>> > Chris Murphy
>> > _______________________________________________
>> > Grub-devel mailing list
>> > Grub-devel@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/grub-devel
>> >
>>
>>
>>
>> --
>> Regards
>> Vladimir 'φ-coder/phcoder' Serbinenko
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>

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

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

* Re: Console Resolution with GRUB2
  2013-02-05 15:18       ` D.J.J. Ring, Jr.
@ 2013-02-06  4:02         ` D.J.J. Ring, Jr.
  2013-02-06  5:28           ` Chris Murphy
  2013-02-06 15:27         ` D.J.J. Ring, Jr.
  1 sibling, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-06  4:02 UTC (permalink / raw)
  To: The development of GNU GRUB

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

I don't know if this message was seen  by the list.

DR
 On Feb 5, 2013 10:18 AM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:

> I understand that Chris typed the wrong directory.  Instead of mis it
> should have been misc.
>
> I also found I did not have the package unifont installed.
>
> I installed unifont, and now I have the file in the misc folder:
>
>  locate unifont.pcf.gz
> /usr/share/fonts/X11/misc/unifont.pcf.gz
>
> However when I run this command I receive an error that I cannot generate
> 24x24 font size.
>
> # grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/misc/unifont.pcf.gz
> grub-mkfont: error: can't set 24x24 font size.
>
> Do I need a package to generate these font sizes, if so, which ones?
>
> Thanks,
>
> DR
>
> On Tue, Feb 5, 2013 at 10:10 AM, D.J.J. Ring, Jr. <n1ea@arrl.net> wrote:
>
>> I understand now.  The config files are up to the Distibution.
>>
>> I tried what you advised, Chris, but I have no such directory:
>>
>>  ls /usr/share/fonts/X11/
>> 100dpi/    75dpi/     encodings/ misc/      Type1/     util/
>>
>> So the command:
>>
>>
>> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>>
>> fails on me.
>> # can't open file /usr/share/fonts/X11/mis/unifont.pcf.gz, index 0: error
>> 1: cannot open resource
>>
>> Furthermore, I have no such file unifont.pcf.gz on the system.
>>
>> Can you be of further help, I very much appreciate your help.
>>
>> David J. Ring, Jr.
>>
>> =30=
>>
>>
>> On Tue, Feb 5, 2013 at 2:36 AM, Vladimir 'φ-coder/phcoder' Serbinenko <
>> phcoder@gmail.com> wrote:
>>
>>> On 05.02.2013 06:32, Chris Murphy wrote:
>>>
>>> >
>>> > On Feb 4, 2013, at 9:35 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
>>> >
>>> >> Hello everyone,
>>> >>
>>> >> I thought I'd post here as my post is not exactly help, but that also
>>> will be welcome.
>>> >>
>>> >> Prior to GRUB2 it was quite easy to change virtual console resolution.
>>> >>
>>> >> There are some of us who still use console without  X windows.  One
>>> such group is older persons who cannot see at anything except 640x480
>>> resolution.
>>> >
>>> > Well technically that's a terrible resolution for reading due to
>>> pixelization. The better way to deal with this is setting a larger font
>>> size for the higher resolution of the display. I can't even think of any
>>> laptop or desktop LCD's with a native resolution of 640x480. So to force it
>>> to a lower, and thus non-native resolution, makes the problem worse.
>>> >
>>>
>>> Agreed. To increase font size regenerate unicode.pf2 using grub-mkfont
>>> with appropriate -s option. E.g.
>>> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>>>
>>> Put resulting file in /boot/grub/unicode_24.pf2 and add
>>> GRUB_FONT_PATH=/boot/grub/unicode_24.pf2
>>> to /etc/default/grub
>>>
>>> > Chris Murphy
>>> > _______________________________________________
>>> > Grub-devel mailing list
>>> > Grub-devel@gnu.org
>>> > https://lists.gnu.org/mailman/listinfo/grub-devel
>>> >
>>>
>>>
>>>
>>> --
>>> Regards
>>> Vladimir 'φ-coder/phcoder' Serbinenko
>>>
>>>
>>> _______________________________________________
>>> Grub-devel mailing list
>>> Grub-devel@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>>
>>>
>>
>

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

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

* Re: Console Resolution with GRUB2
  2013-02-06  4:02         ` D.J.J. Ring, Jr.
@ 2013-02-06  5:28           ` Chris Murphy
  0 siblings, 0 replies; 36+ messages in thread
From: Chris Murphy @ 2013-02-06  5:28 UTC (permalink / raw)
  To: The development of GNU GRUB


On Feb 5, 2013, at 9:02 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:

> I don't know if this message was seen  by the list.
> 
> DR
> 
> 
> On Tue, Feb 5, 2013 at 2:36 AM, Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> wrote:
> 
> Agreed. To increase font size regenerate unicode.pf2 using grub-mkfont with appropriate -s option. E.g.
> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
> 
> Put resulting file in /boot/grub/unicode_24.pf2 and add
> GRUB_FONT_PATH=/boot/grub/unicode_24.pf2
> to /etc/default/grub

Vladimir replied to my comment inline, with the above. It wasn't supplied by me, hence I haven't commented further.

Chris Murphy

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

* Re: Console Resolution with GRUB2
  2013-02-05 15:18       ` D.J.J. Ring, Jr.
  2013-02-06  4:02         ` D.J.J. Ring, Jr.
@ 2013-02-06 15:27         ` D.J.J. Ring, Jr.
  2013-02-06 22:44           ` Pete Appleton
  1 sibling, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-06 15:27 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Hello Chris and Vlad,

I sent this in again and Chris responded, but for some reason he did not
see my question below.  I am copying my question to the top (here) and then
I am sending the rest of the email.

I have made the important parts *bold* so you can find the problem quickly.

Here it is:

However *when I run this command I receive an error *that I cannot generate
> 24x24 font size.
>
> # grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/misc/

unifont.pcf.gz
grub-mkfont: error: can't set 24x24 font size.

*Do I need a package to generate these font sizes, if so, which ones?*

The entire message is below.

Thanks kindly for the help, and I will forward this to the
www.vinuxproject.org devl group because being able to do this will greatly
help our target audience - the visually impaired.

Best wishes and again my thanks,

David


I understand that Chris typed the wrong directory.  Instead of mis it
should have been misc.

I also found I did not have the package unifont installed.

I installed unifont, and now I have the file in the misc folder:

 locate unifont.pcf.gz
/usr/share/fonts/X11/misc/unifont.pcf.gz

However when I run this command I receive an error that I cannot generate
24x24 font size.

# grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/misc/unifont.pcf.gz
grub-mkfont: error: can't set 24x24 font size.

Do I need a package to generate these font sizes, if so, which ones?

Thanks,

DR


On Tue, Feb 5, 2013 at 10:10 AM, D.J.J. Ring, Jr. <n1ea@arrl.net> wrote:

> I understand now.  The config files are up to the Distibution.
>
> I tried what you advised, Chris, but I have no such directory:
>
>  ls /usr/share/fonts/X11/
> 100dpi/    75dpi/     encodings/ misc/      Type1/     util/
>
> So the command:
>
>
> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>
> fails on me.
> # can't open file /usr/share/fonts/X11/mis/unifont.pcf.gz, index 0: error
> 1: cannot open resource
>
> Furthermore, I have no such file unifont.pcf.gz on the system.
>
> Can you be of further help, I very much appreciate your help.
>
> David J. Ring, Jr.
>
> =30=
>
>
> On Tue, Feb 5, 2013 at 2:36 AM, Vladimir 'φ-coder/phcoder' Serbinenko <
> phcoder@gmail.com> wrote:
>
>> On 05.02.2013 06:32, Chris Murphy wrote:
>>
>> >
>> > On Feb 4, 2013, at 9:35 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
>> >
>> >> Hello everyone,
>> >>
>> >> I thought I'd post here as my post is not exactly help, but that also
>> will be welcome.
>> >>
>> >> Prior to GRUB2 it was quite easy to change virtual console resolution.
>> >>
>> >> There are some of us who still use console without  X windows.  One
>> such group is older persons who cannot see at anything except 640x480
>> resolution.
>> >
>> > Well technically that's a terrible resolution for reading due to
>> pixelization. The better way to deal with this is setting a larger font
>> size for the higher resolution of the display. I can't even think of any
>> laptop or desktop LCD's with a native resolution of 640x480. So to force it
>> to a lower, and thus non-native resolution, makes the problem worse.
>> >
>>
>> Agreed. To increase font size regenerate unicode.pf2 using grub-mkfont
>> with appropriate -s option. E.g.
>> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/mis/unifont.pcf.gz
>>
>> Put resulting file in /boot/grub/unicode_24.pf2 and add
>> GRUB_FONT_PATH=/boot/grub/unicode_24.pf2
>> to /etc/default/grub
>>
>> > Chris Murphy
>> > _______________________________________________
>> > Grub-devel mailing list
>> > Grub-devel@gnu.org
>> > https://lists.gnu.org/mailman/listinfo/grub-devel
>> >
>>
>>
>>
>> --
>> Regards
>> Vladimir 'φ-coder/phcoder' Serbinenko
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>

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

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

* Re: Console Resolution with GRUB2
  2013-02-06 15:27         ` D.J.J. Ring, Jr.
@ 2013-02-06 22:44           ` Pete Appleton
  2013-02-07 21:49             ` D.J.J. Ring, Jr.
  0 siblings, 1 reply; 36+ messages in thread
From: Pete Appleton @ 2013-02-06 22:44 UTC (permalink / raw)
  To: The development of GNU GRUB

Hi,

Please excuse the personal reply, which is purely an attempt to help, 
and off-list because I think the questions you're asking aren't 
appropriate for the development mailing list but are really user 
questions.  I'd like to apply the following disclaimers and then supply 
the knowledge I posess:

1.  I am not affiliated with, or a developer for, GRUB2 in any sense - 
just somebody who happens to subscribe to the grub-devel mailing list
2.  I don't use Ubuntu regularly, but do have a couple of machines 
running v12.04 that I've used as a testbed
3.  I'm quite drunk at the moment

That said, this email is really offered in "good faith" because I've 
read the Vinux site and respect what you're doing, and would like to 
help if possible!!

The potentially useful information follows:

1.  /usr/share/fonts/X11/misc/unifont.pcf.gz is owned by the package 
"xfonts-unifont".
2.  Installing this package did not allow the command 'grub-mkfont -s24 
-o unicode.pf2 /usr/share/fonts/X11/misc/unifont.pcf.gz' to succeed; 
this still failed with the error you reported.  I believe that this is 
because the PCF font in xfonts-unicode is a bitmap font (i.e. fixed 
size), whereas you need a vector flavour to be able to generate the GRUB 
version

You may wish to try the following (I emphasize that I have not done so, 
and am purely guessing as to whether it might help):

1.  sudo apt-get install ttf-unifont
2.  sudo grub-mkfont -s24 -o /usr/share/grub/unicode.pf2 
/usr/share/fonts/truetype/unifont/unifont.ttf ;#Works On My Machine

Theoretically, this will install the TTF version of GNU unifont and 
generate a "size 24" GRUB fontfile in the correct location - exactly 
what the GRUB size means is not documented, I'm afraid.

If this is of any help, it would be appreciated if you'd let me know 
that it was useful; if not, then I apologise for wasting your time.

Regards,

Pete Appleton [who is a professional programmer, FWIW]






On 06/02/13 15:27, D.J.J. Ring, Jr. wrote:
> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/misc/



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

* Re: Console Resolution with GRUB2
  2013-02-06 22:44           ` Pete Appleton
@ 2013-02-07 21:49             ` D.J.J. Ring, Jr.
  2013-02-21 21:59               ` D.J.J. Ring, Jr.
  0 siblings, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-07 21:49 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Thank you Peter, if others have replied and I have not seen the reply,
thanks also.

The replies were surprisingly quiet.

No, I am not using Ubuntu, I am using arch linux but I did install the
unicode package but I just executed the command shown.

I just thought I happened to be missing some libraries or dependencies to
make the command work.

If some thought the small question off topic, I apologize, to me it seems
right on target and I found the response to my last question surprising
even to a mention of "that's off topic, bring it to grub2 fonts".

I now at work, under the Windows kingdom, freedom resides at home where I
have Linux.

Best wishes,

David J. Ring, Jr., N1EA <http://www.qsl.net/n1ea/>  Radio-Officers
Group<http://groups.google.com/group/radio-officers?hl=en>-- Join
CW email list <http://mailman.qth.net/mailman/listinfo/cw%20> -- Historic
Morse Recordings <http://tiny.cc/n1ea>
*Gopher Hole:*  gopher://sdf.org/1/users/djringjr/ (native or with
Firefox's Overbite extension) or via http to gopher
gateway<http://gopher.floodgap.com/gopher/gw?gopher://sdf.org/1/users/djringjr/>
*C**hat* Skype: djringjr MSN: djringjr@msn.com AIM: N1EA icq: 27380609

=30=


On Wed, Feb 6, 2013 at 5:44 PM, Pete Appleton
<grub2-pma@catcity.dyndns.org>wrote:

> Hi,
>
> Please excuse the personal reply, which is purely an attempt to help, and
> off-list because I think the questions you're asking aren't appropriate for
> the development mailing list but are really user questions.  I'd like to
> apply the following disclaimers and then supply the knowledge I posess:
>
> 1.  I am not affiliated with, or a developer for, GRUB2 in any sense -
> just somebody who happens to subscribe to the grub-devel mailing list
> 2.  I don't use Ubuntu regularly, but do have a couple of machines running
> v12.04 that I've used as a testbed
> 3.  I'm quite drunk at the moment
>
> That said, this email is really offered in "good faith" because I've read
> the Vinux site and respect what you're doing, and would like to help if
> possible!!
>
> The potentially useful information follows:
>
> 1.  /usr/share/fonts/X11/misc/**unifont.pcf.gz is owned by the package
> "xfonts-unifont".
> 2.  Installing this package did not allow the command 'grub-mkfont -s24 -o
> unicode.pf2 /usr/share/fonts/X11/misc/**unifont.pcf.gz' to succeed; this
> still failed with the error you reported.  I believe that this is because
> the PCF font in xfonts-unicode is a bitmap font (i.e. fixed size), whereas
> you need a vector flavour to be able to generate the GRUB version
>
> You may wish to try the following (I emphasize that I have not done so,
> and am purely guessing as to whether it might help):
>
> 1.  sudo apt-get install ttf-unifont
> 2.  sudo grub-mkfont -s24 -o /usr/share/grub/unicode.pf2
> /usr/share/fonts/truetype/**unifont/unifont.ttf ;#Works On My Machine
>
> Theoretically, this will install the TTF version of GNU unifont and
> generate a "size 24" GRUB fontfile in the correct location - exactly what
> the GRUB size means is not documented, I'm afraid.
>
> If this is of any help, it would be appreciated if you'd let me know that
> it was useful; if not, then I apologise for wasting your time.
>
> Regards,
>
> Pete Appleton [who is a professional programmer, FWIW]
>
>
>
>
>
>
>
> On 06/02/13 15:27, D.J.J. Ring, Jr. wrote:
>
>> grub-mkfont -s 24 -o unicode.pf2 /usr/share/fonts/X11/misc/
>>
>
>
> ______________________________**_________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/**listinfo/grub-devel<https://lists.gnu.org/mailman/listinfo/grub-devel>
>

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

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

* Re: Console Resolution with GRUB2
  2013-02-07 21:49             ` D.J.J. Ring, Jr.
@ 2013-02-21 21:59               ` D.J.J. Ring, Jr.
  2013-02-21 22:19                 ` Bruce Dubbs
  0 siblings, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-21 21:59 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Hello Peter and the rest of the group.

I appreciate Peter's efforts to help.

However, nothing so far works as needed.

With the old grub users who needed larger size characters simply added a
vga= line to the boot code.  It was simple.

Now it seems to be very complex.

In fact all the answers I can find on the various newsgroups no longer
work.  Also there is no one answer, but many answers, and then there are
comments like "this no longer works".
font
Would someone make it so that users can make large fonts in the console?
There are those of us who are nearly blind but still like to see the
characters on the screen.  We are comfortable using 640 x 480 configuration.

Completely blind people of course have no need to change the font size.  I
understand and have changed the font size in the grub menu, but unless I
can keep that resolution in the console, it is not what I want and need.

If I could keep that character size in console while running the screen at
high resolution it would be perfect.

However, the problem still remains:  It is very difficult to do for a new
user who wishes to use a console only system as many blind users wish to.

I am disappointed that I cannot find an answer to this question, if there
is a better place to ask, I would be most happy to know of it, and I will
ask there.

Thank you for your work.

David
One of the www.vinuxproject.org team

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

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

* Re: Console Resolution with GRUB2
  2013-02-21 21:59               ` D.J.J. Ring, Jr.
@ 2013-02-21 22:19                 ` Bruce Dubbs
  2013-02-28 23:44                   ` D.J.J. Ring, Jr.
  0 siblings, 1 reply; 36+ messages in thread
From: Bruce Dubbs @ 2013-02-21 22:19 UTC (permalink / raw)
  To: The development of GNU GRUB

D.J.J. Ring, Jr. wrote:
> Hello Peter and the rest of the group.
>
> I appreciate Peter's efforts to help.
>
> However, nothing so far works as needed.
>
> With the old grub users who needed larger size characters simply added a
> vga= line to the boot code.  It was simple.
>
> Now it seems to be very complex.
>
> In fact all the answers I can find on the various newsgroups no longer
> work.  Also there is no one answer, but many answers, and then there are
> comments like "this no longer works".
> font
> Would someone make it so that users can make large fonts in the console?
> There are those of us who are nearly blind but still like to see the
> characters on the screen.  We are comfortable using 640 x 480 configuration.
>
> Completely blind people of course have no need to change the font size.  I
> understand and have changed the font size in the grub menu, but unless I
> can keep that resolution in the console, it is not what I want and need.
>
> If I could keep that character size in console while running the screen at
> high resolution it would be perfect.
>
> However, the problem still remains:  It is very difficult to do for a new
> user who wishes to use a console only system as many blind users wish to.
>
> I am disappointed that I cannot find an answer to this question, if there
> is a better place to ask, I would be most happy to know of it, and I will
> ask there.

I don't know what others may say, but I just use a custom grub.cfg file. 
  Avoid the scripts in /etc/grub.d.  After all the only thing really 
needed in grub.cfg is:

### grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd0,1)

menuentry "entry1" {}
menuentry "entry2" {}

etc.  Adjust values to need.

Using this simple configuration, grub never changes the screen 
resolution.  Any other changes are OS specific.

   -- Bruce


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

* Re: Console Resolution with GRUB2
  2013-02-21 22:19                 ` Bruce Dubbs
@ 2013-02-28 23:44                   ` D.J.J. Ring, Jr.
  2013-03-01  0:13                     ` Bruce Dubbs
                                       ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-02-28 23:44 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Hello Bruce,

The "problem" with this is that grub.cfg says "Do Not Edit this File".

Why cannot grub2 have an easy way to change console resolution?

When I open console programs, the display is tiny.  Also console programs
with ncurses graphics are tiny.  These would be full screen if I could make
console mode 640x480.

Grub had an easy way to do this.  I haven't tried Bruce's method because it
says not to edit the file.

Also when I upgrade a kernel and regenerate the grub menu, the settings
will be overwritten.

Any suggestions?

David

On Thu, Feb 21, 2013 at 5:19 PM, Bruce Dubbs <bruce.dubbs@gmail.com> wrote:

> D.J.J. Ring, Jr. wrote:
>
>> Hello Peter and the rest of the group.
>>
>> I appreciate Peter's efforts to help.
>>
>> However, nothing so far works as needed.
>>
>> With the old grub users who needed larger size characters simply added a
>> vga= line to the boot code.  It was simple.
>>
>> Now it seems to be very complex.
>>
>> In fact all the answers I can find on the various newsgroups no longer
>> work.  Also there is no one answer, but many answers, and then there are
>> comments like "this no longer works".
>> font
>> Would someone make it so that users can make large fonts in the console?
>> There are those of us who are nearly blind but still like to see the
>> characters on the screen.  We are comfortable using 640 x 480
>> configuration.
>>
>> Completely blind people of course have no need to change the font size.  I
>> understand and have changed the font size in the grub menu, but unless I
>> can keep that resolution in the console, it is not what I want and need.
>>
>> If I could keep that character size in console while running the screen at
>> high resolution it would be perfect.
>>
>> However, the problem still remains:  It is very difficult to do for a new
>> user who wishes to use a console only system as many blind users wish to.
>>
>> I am disappointed that I cannot find an answer to this question, if there
>> is a better place to ask, I would be most happy to know of it, and I will
>> ask there.
>>
>
> I don't know what others may say, but I just use a custom grub.cfg file.
>  Avoid the scripts in /etc/grub.d.  After all the only thing really needed
> in grub.cfg is:
>
> ### grub.cfg
> set default=0
> set timeout=5
>
> insmod ext2
> set root=(hd0,1)
>
> menuentry "entry1" {}
> menuentry "entry2" {}
>
> etc.  Adjust values to need.
>
> Using this simple configuration, grub never changes the screen resolution.
>  Any other changes are OS specific.
>
>   -- Bruce
>
>
> ______________________________**_________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/**listinfo/grub-devel<https://lists.gnu.org/mailman/listinfo/grub-devel>
>

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

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

* Re: Console Resolution with GRUB2
  2013-02-28 23:44                   ` D.J.J. Ring, Jr.
@ 2013-03-01  0:13                     ` Bruce Dubbs
  2013-03-01  1:31                       ` D.J.J. Ring, Jr.
  2013-03-01  2:42                       ` Andrey Borzenkov
  2013-03-01  2:42                     ` Andrey Borzenkov
  2013-03-01 18:25                     ` Chris Murphy
  2 siblings, 2 replies; 36+ messages in thread
From: Bruce Dubbs @ 2013-03-01  0:13 UTC (permalink / raw)
  To: The development of GNU GRUB

D.J.J. Ring, Jr. wrote:
> Hello Bruce,
>
> The "problem" with this is that grub.cfg says "Do Not Edit this File".

The reason it says this is that it is embedded in the script 
grub-mkconfig.  It overwrites the grub.cfg, but if you don't run that 
and only do manual edits, then it's not there.  The problem is that many 
distros think they know more than the user (usually true, but not 
always) and always run grub-mkconfig every time the they update the 
kernel whether you want that or not.

> Why cannot grub2 have an easy way to change console resolution?

I believe that's hardware dependent.

> When I open console programs, the display is tiny.  Also console programs
> with ncurses graphics are tiny.  These would be full screen if I could make
> console mode 640x480.

That's probably because the kernel is configured to use a framebuffer by 
default.  It's not a grub issue at that point.

To disable the freamebuffer, see the advice in 
https://wiki.ubuntu.com/FrameBuffer

> Grub had an easy way to do this.  I haven't tried Bruce's method because it
> says not to edit the file.
>
> Also when I upgrade a kernel and regenerate the grub menu, the settings
> will be overwritten.

Keep a backup of /boot/grub/grub.cfg and restore it after upgrading the 
kernel.  Then edit the file to add the new kernel.

   -- Bruce


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

* Re: Console Resolution with GRUB2
  2013-03-01  0:13                     ` Bruce Dubbs
@ 2013-03-01  1:31                       ` D.J.J. Ring, Jr.
  2013-03-01  1:48                         ` Bruce Dubbs
  2013-03-01  2:42                       ` Andrey Borzenkov
  1 sibling, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-03-01  1:31 UTC (permalink / raw)
  To: The development of GNU GRUB

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

This is way too complicated for the average user.

Also some distro's don't have menu.list - I have none for example with Arch
Linux.

GRUB used to have a way of just adding at the grub menu the vga mode.  It
was simple.

Can't that be done with GRUB2?

David

On Thu, Feb 28, 2013 at 7:13 PM, Bruce Dubbs <bruce.dubbs@gmail.com> wrote:

> D.J.J. Ring, Jr. wrote:
>
>> Hello Bruce,
>>
>> The "problem" with this is that grub.cfg says "Do Not Edit this File".
>>
>
> The reason it says this is that it is embedded in the script
> grub-mkconfig.  It overwrites the grub.cfg, but if you don't run that and
> only do manual edits, then it's not there.  The problem is that many
> distros think they know more than the user (usually true, but not always)
> and always run grub-mkconfig every time the they update the kernel whether
> you want that or not.
>
>
>  Why cannot grub2 have an easy way to change console resolution?
>>
>
> I believe that's hardware dependent.
>
>
>  When I open console programs, the display is tiny.  Also console programs
>> with ncurses graphics are tiny.  These would be full screen if I could
>> make
>> console mode 640x480.
>>
>
> That's probably because the kernel is configured to use a framebuffer by
> default.  It's not a grub issue at that point.
>
> To disable the freamebuffer, see the advice in https://wiki.ubuntu.com/**
> FrameBuffer <https://wiki.ubuntu.com/FrameBuffer>
>
>
>  Grub had an easy way to do this.  I haven't tried Bruce's method because
>> it
>> says not to edit the file.
>>
>> Also when I upgrade a kernel and regenerate the grub menu, the settings
>> will be overwritten.
>>
>
> Keep a backup of /boot/grub/grub.cfg and restore it after upgrading the
> kernel.  Then edit the file to add the new kernel.
>
>
>   -- Bruce
>
> ______________________________**_________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/**listinfo/grub-devel<https://lists.gnu.org/mailman/listinfo/grub-devel>
>

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

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

* Re: Console Resolution with GRUB2
  2013-03-01  1:31                       ` D.J.J. Ring, Jr.
@ 2013-03-01  1:48                         ` Bruce Dubbs
  2013-03-01  2:30                           ` Gerard Butler
  0 siblings, 1 reply; 36+ messages in thread
From: Bruce Dubbs @ 2013-03-01  1:48 UTC (permalink / raw)
  To: The development of GNU GRUB

D.J.J. Ring, Jr. wrote:
> This is way too complicated for the average user.

Yes.  I have to agree with that.  My comments were directed at advanced 
users.

> Also some distro's don't have menu.list - I have none for example with Arch
> Linux.

menu.lst was the configuration file for Grub Legacy.  GRUB2 uses grub.cfg.

> GRUB used to have a way of just adding at the grub menu the vga mode.  It
> was simple.
>
> Can't that be done with GRUB2?

I believe that's a distro issue.  They all do the grub configuration a 
little differently.  You either do a custom configuration file or use 
the distro's method of building it.

    -- Bruce

> On Thu, Feb 28, 2013 at 7:13 PM, Bruce Dubbs <bruce.dubbs@gmail.com> wrote:
>
>> D.J.J. Ring, Jr. wrote:
>>
>>> Hello Bruce,
>>>
>>> The "problem" with this is that grub.cfg says "Do Not Edit this File".
>>>
>>
>> The reason it says this is that it is embedded in the script
>> grub-mkconfig.  It overwrites the grub.cfg, but if you don't run that and
>> only do manual edits, then it's not there.  The problem is that many
>> distros think they know more than the user (usually true, but not always)
>> and always run grub-mkconfig every time the they update the kernel whether
>> you want that or not.
>>
>>
>>   Why cannot grub2 have an easy way to change console resolution?
>>>
>>
>> I believe that's hardware dependent.
>>
>>
>>   When I open console programs, the display is tiny.  Also console programs
>>> with ncurses graphics are tiny.  These would be full screen if I could
>>> make
>>> console mode 640x480.
>>>
>>
>> That's probably because the kernel is configured to use a framebuffer by
>> default.  It's not a grub issue at that point.
>>
>> To disable the freamebuffer, see the advice in https://wiki.ubuntu.com/**
>> FrameBuffer <https://wiki.ubuntu.com/FrameBuffer>
>>
>>
>>   Grub had an easy way to do this.  I haven't tried Bruce's method because
>>> it
>>> says not to edit the file.
>>>
>>> Also when I upgrade a kernel and regenerate the grub menu, the settings
>>> will be overwritten.
>>>
>>
>> Keep a backup of /boot/grub/grub.cfg and restore it after upgrading the
>> kernel.  Then edit the file to add the new kernel.
>>
>>
>>    -- Bruce
>>
>> ______________________________**_________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/**listinfo/grub-devel<https://lists.gnu.org/mailman/listinfo/grub-devel>
>>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>




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

* RE: Console Resolution with GRUB2
  2013-03-01  1:48                         ` Bruce Dubbs
@ 2013-03-01  2:30                           ` Gerard Butler
  0 siblings, 0 replies; 36+ messages in thread
From: Gerard Butler @ 2013-03-01  2:30 UTC (permalink / raw)
  To: grub-devel

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

Wasn't there a graphical application that let you select the resolution for grub? I know KDE had it built into the system settings.

> Date: Thu, 28 Feb 2013 19:48:45 -0600
> From: bruce.dubbs@gmail.com
> To: grub-devel@gnu.org
> Subject: Re: Console Resolution with GRUB2
> 
> D.J.J. Ring, Jr. wrote:
> > This is way too complicated for the average user.
> 
> Yes.  I have to agree with that.  My comments were directed at advanced 
> users.
> 
> > Also some distro's don't have menu.list - I have none for example with Arch
> > Linux.
> 
> menu.lst was the configuration file for Grub Legacy.  GRUB2 uses grub.cfg.
> 
> > GRUB used to have a way of just adding at the grub menu the vga mode.  It
> > was simple.
> >
> > Can't that be done with GRUB2?
> 
> I believe that's a distro issue.  They all do the grub configuration a 
> little differently.  You either do a custom configuration file or use 
> the distro's method of building it.
> 
>     -- Bruce
> 
> > On Thu, Feb 28, 2013 at 7:13 PM, Bruce Dubbs <bruce.dubbs@gmail.com> wrote:
> >
> >> D.J.J. Ring, Jr. wrote:
> >>
> >>> Hello Bruce,
> >>>
> >>> The "problem" with this is that grub.cfg says "Do Not Edit this File".
> >>>
> >>
> >> The reason it says this is that it is embedded in the script
> >> grub-mkconfig.  It overwrites the grub.cfg, but if you don't run that and
> >> only do manual edits, then it's not there.  The problem is that many
> >> distros think they know more than the user (usually true, but not always)
> >> and always run grub-mkconfig every time the they update the kernel whether
> >> you want that or not.
> >>
> >>
> >>   Why cannot grub2 have an easy way to change console resolution?
> >>>
> >>
> >> I believe that's hardware dependent.
> >>
> >>
> >>   When I open console programs, the display is tiny.  Also console programs
> >>> with ncurses graphics are tiny.  These would be full screen if I could
> >>> make
> >>> console mode 640x480.
> >>>
> >>
> >> That's probably because the kernel is configured to use a framebuffer by
> >> default.  It's not a grub issue at that point.
> >>
> >> To disable the freamebuffer, see the advice in https://wiki.ubuntu.com/**
> >> FrameBuffer <https://wiki.ubuntu.com/FrameBuffer>
> >>
> >>
> >>   Grub had an easy way to do this.  I haven't tried Bruce's method because
> >>> it
> >>> says not to edit the file.
> >>>
> >>> Also when I upgrade a kernel and regenerate the grub menu, the settings
> >>> will be overwritten.
> >>>
> >>
> >> Keep a backup of /boot/grub/grub.cfg and restore it after upgrading the
> >> kernel.  Then edit the file to add the new kernel.
> >>
> >>
> >>    -- Bruce
> >>
> >> ______________________________**_________________
> >> Grub-devel mailing list
> >> Grub-devel@gnu.org
> >> https://lists.gnu.org/mailman/**listinfo/grub-devel<https://lists.gnu.org/mailman/listinfo/grub-devel>
> >>
> >
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
 		 	   		  

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

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

* Re: Console Resolution with GRUB2
  2013-02-28 23:44                   ` D.J.J. Ring, Jr.
  2013-03-01  0:13                     ` Bruce Dubbs
@ 2013-03-01  2:42                     ` Andrey Borzenkov
  2013-03-01 18:25                     ` Chris Murphy
  2 siblings, 0 replies; 36+ messages in thread
From: Andrey Borzenkov @ 2013-03-01  2:42 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: n1ea

В Thu, 28 Feb 2013 18:44:05 -0500
"D.J.J. Ring, Jr." <n1ea@arrl.net> пишет:

> Hello Bruce,
> 
> The "problem" with this is that grub.cfg says "Do Not Edit this File".
> 
> Why cannot grub2 have an easy way to change console resolution?
> 

info grub2 > Configuration > Simple configuration

`GRUB_GFXMODE'
     Set the resolution used on the `gfxterm' graphical terminal.  Note
     that you can only use modes which your graphics card supports via
     VESA BIOS Extensions (VBE), so for example native LCD panel
     resolutions may not be available.  The default is `auto', which
     tries to select a preferred resolution.  *Note gfxmode::.


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

* Re: Console Resolution with GRUB2
  2013-03-01  0:13                     ` Bruce Dubbs
  2013-03-01  1:31                       ` D.J.J. Ring, Jr.
@ 2013-03-01  2:42                       ` Andrey Borzenkov
  1 sibling, 0 replies; 36+ messages in thread
From: Andrey Borzenkov @ 2013-03-01  2:42 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: bruce.dubbs

В Thu, 28 Feb 2013 18:13:47 -0600
Bruce Dubbs <bruce.dubbs@gmail.com> пишет:

> D.J.J. Ring, Jr. wrote:
> > Hello Bruce,
> >
> > The "problem" with this is that grub.cfg says "Do Not Edit this File".
> 
> The reason it says this is that it is embedded in the script 
> grub-mkconfig.  It overwrites the grub.cfg, but if you don't run that 
> and only do manual edits, then it's not there.  The problem is that many 
> distros think they know more than the user (usually true, but not 
> always) and always run grub-mkconfig every time the they update the 
> kernel whether you want that or not.
> 

How are you going to add new kernel to grub.cfg without recreating
grub.cfg?


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

* Re: Console Resolution with GRUB2
  2013-02-28 23:44                   ` D.J.J. Ring, Jr.
  2013-03-01  0:13                     ` Bruce Dubbs
  2013-03-01  2:42                     ` Andrey Borzenkov
@ 2013-03-01 18:25                     ` Chris Murphy
  2013-03-01 18:47                       ` D.J.J. Ring, Jr.
  2 siblings, 1 reply; 36+ messages in thread
From: Chris Murphy @ 2013-03-01 18:25 UTC (permalink / raw)
  To: The development of GNU GRUB


On Feb 28, 2013, at 4:44 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:

> Hello Bruce,
> 
> The "problem" with this is that grub.cfg says "Do Not Edit this File".
> 
> Why cannot grub2 have an easy way to change console resolution?
> 
> When I open console programs, the display is tiny.  Also console programs with ncurses graphics are tiny.  These would be full screen if I could make console mode 640x480.

This sounds familiar. I can't remember if it's in help or devel, but changing the console resolution is the wrong way to fix this because invariably that makes LCDs (and most any non-CRT display technology) look like crap because in fact you can't change their resolution like you could with a CRT. Maybe the simplest thing to do is replace the default fonts, with rebuilt larger ones. There is a grub font utility, I'm spacing the name of it at the moment.

If you need a simpler boot loader, with a simpler scripting language, check out extlinux. But I'm not sure if it supports variable font sizes.


Chris Murphy

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

* Re: Console Resolution with GRUB2
  2013-03-01 18:25                     ` Chris Murphy
@ 2013-03-01 18:47                       ` D.J.J. Ring, Jr.
  2013-03-02  0:43                         ` Jordan Uggla
  0 siblings, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-03-01 18:47 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Hello Chris,

Thanks for your kind and excellent answer.

Is there some way that the GRUB install script (or other) could incorporate
something that would allow 640x480 resolution?

I understand about making a larger font, but this does not allow programs
such as aptitude ncurses and other programs with ncurses like ceni
(network, wifi network manager) or tlf (amateur radio logging program) or
any of the hundreds of console games and screen savers to be used.

Unfortunately we will no longer have the ability to go to original GRUB
(grub-legacy) as the development has stopped and perhaps will no longer
be comparable with the various libs as they update.

I know this is a small percentage of users, but even X Windows users
sometimes like to show what *Nix used to look like :-)

I use framebuffer in my Lenovo N500 notebook and it is beautiful.  I use
links2 -g to get 640x480 resolution to browser the web in color in
framebuffer (or vga).  Also I use mplayer to view DVD movies - all in
console.

Many disabled and blind people have little money, often this means using
old Windows XP computers which will run current *Nix distros without Xorg
Windows running.

There is an amazing amount of console programs out there that use graphics,
like wordgrinder - word processing, games and everything.

All these are unusable as they only occupy a very small area on the screen.
 If the resolution were put at 640x480 or 800x600 they would be full screen.

It used to be easy to just add the line vga=640x480x32 or whatever it was
to the boot command line.  Most blind people could figure out how to do
that.

Right now the various methods of changing different lines in grub sometimes
work and now (most recently) do not work.

This is why I came to this group.  All the methods that previously worked
to get the new GRUB to give us 640x480 or 800x600 now are failing.  I have
found no solution and the solutions of the past (work arounds) no longer
work.

If there is another group to whom I should go to ask if this could be done
to help blind people (and others) who want what is regular console
resolution, please tell me (any of the members of the list).

I would not come here if I had not exhausted all the resources.
 Vinuxproject.org had mantained a wiki with instructions on what to do to
get those resolutions.  None of those instructions now works with the
current GRUB although they worked with earlier versions of GRUB and of
course, grub-legacy had the other method which always worked.

Could it be done that it would be as easy to change GRUB resolution in
console when booting (this still is easy to do) but when the OS if fully
booted, the resolution changes to the 1024 x 768 or higher which makes
ncurses applications very small in about 1/4 of the screen and regular
characters very very small.

Thanks for your consideration and patience,

Respectfully yours,

DJ Ring, Jr.
Green Harbor, MA


On Fri, Mar 1, 2013 at 1:25 PM, Chris Murphy <lists@colorremedies.com>wrote:

>
> On Feb 28, 2013, at 4:44 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
>
> > Hello Bruce,
> >
> > The "problem" with this is that grub.cfg says "Do Not Edit this File".
> >
> > Why cannot grub2 have an easy way to change console resolution?
> >
> > When I open console programs, the display is tiny.  Also console
> programs with ncurses graphics are tiny.  These would be full screen if I
> could make console mode 640x480.
>
> This sounds familiar. I can't remember if it's in help or devel, but
> changing the console resolution is the wrong way to fix this because
> invariably that makes LCDs (and most any non-CRT display technology) look
> like crap because in fact you can't change their resolution like you could
> with a CRT. Maybe the simplest thing to do is replace the default fonts,
> with rebuilt larger ones. There is a grub font utility, I'm spacing the
> name of it at the moment.
>
> If you need a simpler boot loader, with a simpler scripting language,
> check out extlinux. But I'm not sure if it supports variable font sizes.
>
>
> Chris Murphy
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>

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

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

* Re: Console Resolution with GRUB2
  2013-03-01 18:47                       ` D.J.J. Ring, Jr.
@ 2013-03-02  0:43                         ` Jordan Uggla
  2013-03-02  4:03                           ` Andrey Borzenkov
  0 siblings, 1 reply; 36+ messages in thread
From: Jordan Uggla @ 2013-03-02  0:43 UTC (permalink / raw)
  To: The development of GNU GRUB

Frankly this entire thread is absurd, confusing the situation immensely.

All that you need to know is that GRUB_GFXMODE in /etc/default/grub
specifies the resolution for grub's menu, and that (unless
GRUB_GFXPAYLOAD is set explicitly to something else) this same mode is
passed on to the kernel.

So if GRUB_GFXMODE=640x480 is not getting you what you want, then
you're not seeing a difference between grub legacy and grub2, you're
seeing a difference between older *kernels* and newer *kernels* with
technology like Kernel Mode Setting. Grub doesn't control what the
linux kernel does for its ttys beyond the mode it hands off and the
kernel parameters that it passes. Check with your distribution to see
the best way to get a lower resolution (or larger fonts) for your
ttys.

All this discussion of writing a grub.cfg by hand and everything else
is tangental to the actual problem that you're having, which is that
the linux kernel and the way that distributions configure things has
changed, not grub.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)


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

* Re: Console Resolution with GRUB2
  2013-03-02  0:43                         ` Jordan Uggla
@ 2013-03-02  4:03                           ` Andrey Borzenkov
  0 siblings, 0 replies; 36+ messages in thread
From: Andrey Borzenkov @ 2013-03-02  4:03 UTC (permalink / raw)
  To: grub-devel

В Fri, 1 Mar 2013 16:43:10 -0800
Jordan Uggla <jordan.uggla@gmail.com> пишет:

> 
> So if GRUB_GFXMODE=640x480 is not getting you what you want, then
> you're not seeing a difference between grub legacy and grub2, you're
> seeing a difference between older *kernels* and newer *kernels* with
> technology like Kernel Mode Setting. 

One more difference is 16 bit vs. 32 bit boot protocol; grub legacy is
using 16 bit, grub2 is using 32 bit by default. To compare apples with
apples one need to use linux16 in grub2.


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

* Re: Console Resolution with GRUB2
  2013-03-06 20:00         ` D.J.J. Ring, Jr.
@ 2013-03-07  9:38           ` Jordan Uggla
  0 siblings, 0 replies; 36+ messages in thread
From: Jordan Uggla @ 2013-03-07  9:38 UTC (permalink / raw)
  To: The development of GNU GRUB, n1ea

On Wed, Mar 6, 2013 at 8:00 PM, D.J.J. Ring, Jr. <n1ea@arrl.net> wrote:
>
> Hello Jordan,
>
> Thanks for your kind help.
>
> Unfortunately I was in terrible pain due to illness and I'm blaming it for
> overlooking a dependency or step I needed to follow when installing
> grub-legacy.
>
> It failed and I can no longer boot  my computer.  Since the program
> doesn't seem to have set up correctly SuperGrub and the other Grub fixing
> CDs won't work.  Also since I have no native driver for either eth0 or wifi

If all that's missing is a proper grub installation, then Super GRUB2
Disk should be able to boot your system without any issues (if not,
then I'd like to know why so that I can fix it) . Please start a
thread on help-grub@gnu.org or supergrub-english@mail.berlios.de, or
join #grub or #sgrub on irc.freenode.net and I should be able to get
you running again one way or another without too much trouble (I'd
personally recommend IRC, this type of thing is usually most easily
solved with real time questions and discussion).

> on the computer, I cannot just reinstall the system.  I need to but the hard
> drive on another computer and install the kernel modules then pop it in my
> computer, but this takes time and another computer. I hope I can borrow my
> friend's computer where I write this.
>
> I saved grub and grub-install --version from GRUB2 on my gmail account in
> case I had problems putting Grub Legacy back on this computer.
>
> I should have tried Andrey Borzenkov's suggeston about vga= line now
> working.  Has it worked for the start, we would not have had such trouble.

vga= has always worked exactly the same way in grub2 as it did in grub
legacy, it just gives a deprecation warning with grub2.

> The command line community has been hacking up keep gfxpayload and other
> parameters.   Hopefully the developers of GRUB will put in a line # To Keep
> GRUB console resolution in virtual consoles uncomment the next line by
> removing #.  Would solve the problem for us.

GFXPAYLOAD=keep is the default, so you shouldn't need to uncomment
anything to get what you're asking for *from grub*, but that doesn't
prevent the kernel from discarding the mode that grub hands off to it
and setting its own (as is the default with newer kernels and KMS).
I've said this many times now, and I still stand by it: I think that
what you're noticing is *NOT* a change in grub, but a change in the
linux kernel with the advent of kernel mode setting. Please at least
entertain the possibility that that is the case and stop stating the
contrary as if it were fact.

>
> More later.
>
> Thanks again to all.

You're welcome, and I hope you are able to get your system working again soon.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)


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

* Re: Console Resolution with GRUB2
  2013-03-02  8:14       ` Jordan Uggla
@ 2013-03-06 20:00         ` D.J.J. Ring, Jr.
  2013-03-07  9:38           ` Jordan Uggla
  0 siblings, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-03-06 20:00 UTC (permalink / raw)
  To: The development of GNU GRUB


[-- Attachment #1.1: Type: text/plain, Size: 3792 bytes --]

Hello Jordan,

Thanks for your kind help.

Unfortunately I was in terrible pain due to illness and I'm blaming it for
overlooking a dependency or step I needed to follow when installing
grub-legacy.

It failed and I can no longer boot  my computer.  Since the program doesn't
seem to have set up correctly SuperGrub and the other Grub fixing CDs won't
work.  Also since I have no native driver for either eth0 or wifi on the
computer, I cannot just reinstall the system.  I need to but the hard drive
on another computer and install the kernel modules then pop it in my
computer, but this takes time and another computer. I hope I can borrow my
friend's computer where I write this.

I saved grub and grub-install --version from GRUB2 on my gmail account in
case I had problems putting Grub Legacy back on this computer.

I should have tried Andrey Borzenkov's suggeston about vga= line now
working.  Has it worked for the start, we would not have had such trouble.
 The command line community has been hacking up keep gfxpayload and other
parameters.   Hopefully the developers of GRUB will put in a line # To Keep
GRUB console resolution in virtual consoles uncomment the next line by
removing #.  Would solve the problem for us.

More later.

Thanks again to all.

David J. Ring, Jr., N1EA <http://www.qsl.net/n1ea/>  Radio-Officers
Group<http://groups.google.com/group/radio-officers?hl=en>-- Join
CW email list <http://mailman.qth.net/mailman/listinfo/cw%20> -- Historic
Morse Recordings <http://tiny.cc/n1ea>
*Gopher Hole:*  gopher://sdf.org/1/users/djringjr/ (native or with
Firefox's Overbite extension) or via http to gopher
gateway<http://gopher.floodgap.com/gopher/gw?gopher://sdf.org/1/users/djringjr/>
*C**hat* Skype: djringjr MSN: djringjr@msn.com AIM: N1EA icq: 27380609

=30=


On Sat, Mar 2, 2013 at 3:14 AM, Jordan Uggla <jordan.uggla@gmail.com> wrote:

> On Fri, Mar 1, 2013 at 10:56 PM, D.J.J. Ring, Jr. <n1ea@arrl.net> wrote:
> > Chris,
> >
> > That doesn't explain why if I go back to grub-legacy everything works.  I
>
> My guess is that you simply didn't have the same mode configured in
> grub legacy as you do in grub2. If you don't think that's the case
> then please give us some data to work with to determine what the
> difference actually is.
>
> Assuming that you're currently using grub2, and that you want a
> console and grub menu resolution of 1024x768 please do the following,
> in the order given:
>
> 1: Ensure that GRUB_GFXMODE in /etc/default/grub is set to "1024x768",
> that GRUB_GFXPAYLOAD is either not set, set to "keep" or also set to
> "1024x768"
>
> 2: Run "grub-mkconfig -o /boot/grub/grub.cfg" to ensure that these
> settings have been applied to the grub.cfg in use.
>
> 3: Save the full contents of both /etc/default/grub and
> /boot/grub/grub.cfg so that you can include them in your reply email.
>
> 4: Save the output of "grub-install --version".
>
> 5: Reboot and confirm that your console resolution is not 1024x768.
>
> 6: Install grub legacy.
>
> 7: Configure grub legacy to hand off a mode of 1024x768.
>
> 8: Save the full contents of your /boot/grub/menu.lst .
>
> 9: Save the output of "grub-install --version" again.
>
> 10: Reboot and confirm that your console resolution *is* 1024x768.
>
> Then reply with the two saved outputs of "grub-install --version" and
> the full contents of /etc/default/grub, /boot/grub/grub.cfg, and
> /boot/grub/menu.lst .
>
> Please do not reply with any other unrelated discussion for now, I
> would like to stick to one thing at a time to prevent this thread from
> getting more chaotic.
>
> --
> Jordan Uggla (Jordan_U on irc.freenode.net)
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>

[-- Attachment #1.2: Type: text/html, Size: 7912 bytes --]

[-- Attachment #2: grub --]
[-- Type: application/octet-stream, Size: 1509 bytes --]

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=640x480

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=640x480

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter 
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" 
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper 
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

#GRUB_SAVEDEFAULT="true"

[-- Attachment #3: grub-install-version --]
[-- Type: application/octet-stream, Size: 25 bytes --]

grub-install (GRUB) 2.00

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

* Re: Console Resolution with GRUB2
  2013-03-02  6:56     ` D.J.J. Ring, Jr.
  2013-03-02  8:14       ` Jordan Uggla
@ 2013-03-02  8:34       ` Andrey Borzenkov
  1 sibling, 0 replies; 36+ messages in thread
From: Andrey Borzenkov @ 2013-03-02  8:34 UTC (permalink / raw)
  To: The development of GNU GRUB; +Cc: n1ea

В Sat, 2 Mar 2013 01:56:32 -0500
"D.J.J. Ring, Jr." <n1ea@arrl.net> пишет:

> Replacing the old linux kernel boot arg vga=791 (for example), 

kernel boot arg vga=791 still works as intended with grub2 so I am not
sure what exactly you complain about.


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

* Re: Console Resolution with GRUB2
  2013-03-02  6:56     ` D.J.J. Ring, Jr.
@ 2013-03-02  8:14       ` Jordan Uggla
  2013-03-06 20:00         ` D.J.J. Ring, Jr.
  2013-03-02  8:34       ` Andrey Borzenkov
  1 sibling, 1 reply; 36+ messages in thread
From: Jordan Uggla @ 2013-03-02  8:14 UTC (permalink / raw)
  To: The development of GNU GRUB

On Fri, Mar 1, 2013 at 10:56 PM, D.J.J. Ring, Jr. <n1ea@arrl.net> wrote:
> Chris,
>
> That doesn't explain why if I go back to grub-legacy everything works.  I

My guess is that you simply didn't have the same mode configured in
grub legacy as you do in grub2. If you don't think that's the case
then please give us some data to work with to determine what the
difference actually is.

Assuming that you're currently using grub2, and that you want a
console and grub menu resolution of 1024x768 please do the following,
in the order given:

1: Ensure that GRUB_GFXMODE in /etc/default/grub is set to "1024x768",
that GRUB_GFXPAYLOAD is either not set, set to "keep" or also set to
"1024x768"

2: Run "grub-mkconfig -o /boot/grub/grub.cfg" to ensure that these
settings have been applied to the grub.cfg in use.

3: Save the full contents of both /etc/default/grub and
/boot/grub/grub.cfg so that you can include them in your reply email.

4: Save the output of "grub-install --version".

5: Reboot and confirm that your console resolution is not 1024x768.

6: Install grub legacy.

7: Configure grub legacy to hand off a mode of 1024x768.

8: Save the full contents of your /boot/grub/menu.lst .

9: Save the output of "grub-install --version" again.

10: Reboot and confirm that your console resolution *is* 1024x768.

Then reply with the two saved outputs of "grub-install --version" and
the full contents of /etc/default/grub, /boot/grub/grub.cfg, and
/boot/grub/menu.lst .

Please do not reply with any other unrelated discussion for now, I
would like to stick to one thing at a time to prevent this thread from
getting more chaotic.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)


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

* Re: Console Resolution with GRUB2
  2013-03-02  6:41   ` Chris Murphy
@ 2013-03-02  6:56     ` D.J.J. Ring, Jr.
  2013-03-02  8:14       ` Jordan Uggla
  2013-03-02  8:34       ` Andrey Borzenkov
  0 siblings, 2 replies; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-03-02  6:56 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Chris,

That doesn't explain why if I go back to grub-legacy everything works.  I
would agree with you if it were so, but everything else is the same.  But
with grub-legacy being discontinued we need to have grub2 have this feature.

To the group:

In addition to thanking you all for your patience and cooperation, I want
to ask you to do one little search and you will see the problem.

Open up your favorite web browser, go to http://www.google.com and search
for:

change console resolution grub2

You will find many results and most of them have the word "problem" in the
results.

Here is a typical result and it talks about grub2.

As usual, everything in grub is just a bit harder than it should be.

Replacing the old linux kernel boot arg vga=791 (for example), which is
grub/console gfx resolution: 1024x768
with the new harder and less user friendly grub2 method is done like this

src 1: forums.debian.net/viewtopic.php?f=5&t=41881
src 2:
harrison3001.blogspot.com/2009/09/grub-2-graphical-boot-tips-to-set.html

http://techpatterns.com/forums/about1795.html

As I said these methods no longer work, and why are they so complex?
Certainly if grub could do it easily, why can't grub2 do so also?

Thank you very much!

DR

On Sat, Mar 2, 2013 at 1:41 AM, Chris Murphy <lists@colorremedies.com>wrote:

>
> On Mar 1, 2013, at 11:20 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:
>
> We need grub to set console resolution, show the grub menu in that
> resolution, keep that resolution while the computer boots up, then when I
> type startx I have high resolution in X gui.
>
> GRUB is responsible only for GRUB. As soon as the kernel and initramfs are
> loaded and executed, the console resolution is up to that distribution's
> behavior (init for most, and systemd for others including Fedora, not sure
> about Debian). Once those are running, GRUB is totally dropped and has no
> say in the matter and as far as I know it never has.
>
> There is a limited time inheritance of GRUB's setting, but the OS itself
> can override this early on in the boot process. I see that turning text
> only boot with at least Fedora, CentOS, and SUSE, so I'm guessing that what
> you attribute to GRUB2 is actually a concomitant change in behavior of your
> distribution's init process.
>
> Chris Murphy
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>

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

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

* Re: Console Resolution with GRUB2
  2013-03-02  6:20 ` D.J.J. Ring, Jr.
@ 2013-03-02  6:41   ` Chris Murphy
  2013-03-02  6:56     ` D.J.J. Ring, Jr.
  0 siblings, 1 reply; 36+ messages in thread
From: Chris Murphy @ 2013-03-02  6:41 UTC (permalink / raw)
  To: The development of GNU GRUB

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


On Mar 1, 2013, at 11:20 PM, "D.J.J. Ring, Jr." <n1ea@arrl.net> wrote:

> We need grub to set console resolution, show the grub menu in that resolution, keep that resolution while the computer boots up, then when I type startx I have high resolution in X gui.
> 
GRUB is responsible only for GRUB. As soon as the kernel and initramfs are loaded and executed, the console resolution is up to that distribution's behavior (init for most, and systemd for others including Fedora, not sure about Debian). Once those are running, GRUB is totally dropped and has no say in the matter and as far as I know it never has.

There is a limited time inheritance of GRUB's setting, but the OS itself can override this early on in the boot process. I see that turning text only boot with at least Fedora, CentOS, and SUSE, so I'm guessing that what you attribute to GRUB2 is actually a concomitant change in behavior of your distribution's init process.

Chris Murphy

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

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

* RE: Console Resolution with GRUB2
  2013-03-02  4:07 Gerard Butler
  2013-03-02  6:08 ` D.J.J. Ring, Jr.
@ 2013-03-02  6:20 ` D.J.J. Ring, Jr.
  2013-03-02  6:41   ` Chris Murphy
  1 sibling, 1 reply; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-03-02  6:20 UTC (permalink / raw)
  To: The development of GNU GRUB

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

GB,

Yes, I need grub to have an easy and consistant way to keep low resolution
in the console just as grub-legacy allows.

grub-legacy allowed is to have 640x480 in console while having the X
Desktop running at 1200 resolution at the same time.

We need grub to set console resolution, show the grub menu in that
resolution, keep that resolution while the computer boots up, then when I
type startx I have high resolution in X gui.  If I shell out of X gui with
ctrl, alt, F2, I will see the log in prompt in low resolution.

All the console programs with ncurses and ASCII graphics come out so small
if the console is in high resolution, often taking up only the top left
quarter of the screen.

Bring back the feature that you dropped!

David
On Mar 1, 2013 11:07 PM, "Gerard Butler" <legendary_bibo@hotmail.com> wrote:

> A few things, you can lower the resolution of grub to make the console
> look bigger I guess, or you can use grub-mkfont to generate a larger font
> and set that as your grub font. From the sounds of it you're also having
> issue with the tty font which I googled and found that yjou could
> reconfigure the font size (I don't know what distro you're using, but
> there's stuff on Ask Ubuntu).
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>

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

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

* RE: Console Resolution with GRUB2
  2013-03-02  4:07 Gerard Butler
@ 2013-03-02  6:08 ` D.J.J. Ring, Jr.
  2013-03-02  6:20 ` D.J.J. Ring, Jr.
  1 sibling, 0 replies; 36+ messages in thread
From: D.J.J. Ring, Jr. @ 2013-03-02  6:08 UTC (permalink / raw)
  To: The development of GNU GRUB

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

Yes but making a large font still does not cange the resolution down to
640x480 as needed by ncurses programs like Debian's aptitude.

Why cannot GRUB put back the easy to use command to change the boot screen.

I am not looking to make large fonts in high resolution, I am trying to get
console resolution to what ncurses and ASCII graphics use.

I am using a kernel from kernel.org, there was a eay to do this by
modifying gfxpayload=keep and such lines but with the latest version of
grub even this difficult system no longer works.

Also if I install Grub-legacy, I can change the boot parameters to specify
resolution.  Everything is the same except those files  that were removed
by purging grub and installing grub-legacy.

Why can't this feature be kept?  It ensures compatability for those users
who wish to have a console only system.

If I can get what I want by removing grub and installing grub legacy, what
is changing is just grub.  Grub generates grub.cfg and that is the
problem:  tell Grub to allow an easy to enter resolution parameter like
grub-legacy allows.  Just bring back that feature for us console users.
Some day you wont be able to see the high resolution console with the tiny
letters :-)

Can you do this for us.

David
On Mar 1, 2013 11:07 PM, "Gerard Butler" <legendary_bibo@hotmail.com> wrote:

> A few things, you can lower the resolution of grub to make the console
> look bigger I guess, or you can use grub-mkfont to generate a larger font
> and set that as your grub font. From the sounds of it you're also having
> issue with the tty font which I googled and found that yjou could
> reconfigure the font size (I don't know what distro you're using, but
> there's stuff on Ask Ubuntu).
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
>

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

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

* RE: Console Resolution with GRUB2
@ 2013-03-02  4:07 Gerard Butler
  2013-03-02  6:08 ` D.J.J. Ring, Jr.
  2013-03-02  6:20 ` D.J.J. Ring, Jr.
  0 siblings, 2 replies; 36+ messages in thread
From: Gerard Butler @ 2013-03-02  4:07 UTC (permalink / raw)
  To: grub-devel

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

A few things, you can lower the resolution of grub to make the console look bigger I guess, or you can use grub-mkfont to generate a larger font and set that as your grub font. From the sounds of it you're also having issue with the tty font which I googled and found that yjou could reconfigure the font size (I don't know what distro you're using, but there's stuff on Ask Ubuntu).
 		 	   		  

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

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

end of thread, other threads:[~2013-03-07  9:39 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-05  4:35 Console Resolution with GRUB2 D.J.J. Ring, Jr.
2013-02-05  5:32 ` Chris Murphy
2013-02-05  7:36   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-02-05 15:10     ` D.J.J. Ring, Jr.
2013-02-05 15:18       ` D.J.J. Ring, Jr.
2013-02-06  4:02         ` D.J.J. Ring, Jr.
2013-02-06  5:28           ` Chris Murphy
2013-02-06 15:27         ` D.J.J. Ring, Jr.
2013-02-06 22:44           ` Pete Appleton
2013-02-07 21:49             ` D.J.J. Ring, Jr.
2013-02-21 21:59               ` D.J.J. Ring, Jr.
2013-02-21 22:19                 ` Bruce Dubbs
2013-02-28 23:44                   ` D.J.J. Ring, Jr.
2013-03-01  0:13                     ` Bruce Dubbs
2013-03-01  1:31                       ` D.J.J. Ring, Jr.
2013-03-01  1:48                         ` Bruce Dubbs
2013-03-01  2:30                           ` Gerard Butler
2013-03-01  2:42                       ` Andrey Borzenkov
2013-03-01  2:42                     ` Andrey Borzenkov
2013-03-01 18:25                     ` Chris Murphy
2013-03-01 18:47                       ` D.J.J. Ring, Jr.
2013-03-02  0:43                         ` Jordan Uggla
2013-03-02  4:03                           ` Andrey Borzenkov
2013-02-05  6:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-02-05  7:29   ` David J. J. Ring, Jr.
2013-02-05  7:32     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-02-05  7:35     ` Chris Murphy
2013-03-02  4:07 Gerard Butler
2013-03-02  6:08 ` D.J.J. Ring, Jr.
2013-03-02  6:20 ` D.J.J. Ring, Jr.
2013-03-02  6:41   ` Chris Murphy
2013-03-02  6:56     ` D.J.J. Ring, Jr.
2013-03-02  8:14       ` Jordan Uggla
2013-03-06 20:00         ` D.J.J. Ring, Jr.
2013-03-07  9:38           ` Jordan Uggla
2013-03-02  8:34       ` Andrey Borzenkov

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.