Re: Console Resolution with GRUB2

2013-02-28 Thread D.J.J. Ring, Jr.
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  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
>
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: Console Resolution with GRUB2

2013-02-28 Thread Bruce Dubbs

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

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: Console Resolution with GRUB2

2013-02-28 Thread D.J.J. Ring, Jr.
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  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 
>
>
>  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
>
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: Console Resolution with GRUB2

2013-02-28 Thread Bruce Dubbs

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


  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





___
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


RE: Console Resolution with GRUB2

2013-02-28 Thread Gerard Butler
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.du...@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  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 
> >>
> >>
> >>   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
> >>
> >
> >
> >
> > ___
> > 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
  ___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: Console Resolution with GRUB2

2013-02-28 Thread Andrey Borzenkov
В Thu, 28 Feb 2013 18:44:05 -0500
"D.J.J. Ring, Jr."  пишет:

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

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel


Re: Console Resolution with GRUB2

2013-02-28 Thread Andrey Borzenkov
В Thu, 28 Feb 2013 18:13:47 -0600
Bruce Dubbs  пишет:

> 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?

___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel