Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

Grub install and GRUB_GFXMODE


digifuzzy

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?
 

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

×
×
  • Create New...