Jump to content
funtoo forums
  • 0
digifuzzy

Grub install and GRUB_GFXMODE

Question

Doing a fresh install of Funtoo into a virtualbox environment. Instructions followed carefully and subsequent install works well. Xorg has not been installed yet.

From online search, grub2 has deprecated the use of 'vga=x' to change the console size. Recommended practice is to use the 'GRUB_GFXMODE=Horz X Vert' in the file /etc/default/grub.
Change was mode locally to /etc/default/grub. Video mode was tested successfully from grub command line, 'videotest HorzXVert' as set in GRUB_GFXMODE.

Neither 'boot update' nor the command, new that appeared in the install instructions, 'ego boot update' appears to affect whether GRUB_GFXMODE is being written.
Is there some other action that needs to be taken?
 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Okay... that worked. <blink><blink>

Added a 'display' section to /etc/boot.conf

display {
	gfxmode 1024x768
}

Executed `ego boot update`. Produced the desired result.

@cardinal - just to clarify somethings in my head:

a) /etc/boot.conf file surplants the /etc/default/grub file? Or rather, `boot-update` , or now `ego boot update` doesn't take settings from the /etc/default/grub file?
(this would explain why changes to /etc/default/grub were not made to /boot/grub/grub.cfg and why grub-mkconfig made a mess of things but produced desired graphical output)
b) This seems Funtoo specific...am I wrong?
https://github.com/funtoo/boot-update/blob/master/doc/boot-update.8 answered this.
 

Very much appreciate the insight you have given.

Share this post


Link to post
Share on other sites
  • 1
53 minutes ago, cardinal said:

Hi digifuzzy,

Please reference:

https://github.com/funtoo/boot-update/blob/master/doc/boot.conf.5.rst#parameters 

https://github.com/funtoo/boot-update/blob/master/doc/boot.conf.5.rst#display--gfxmode

Verify the kernel boot command line from within running system:


cat /proc/cmdline

 

Wow! That's a really helpful tidbit! That never came up in Google searching. I must try this. News to follow.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...