ubuntu 12.04 desktop Error: unknown command 'gfxmode'. Pressing any key continues

Posted by Andy on Ask Ubuntu See other posts from Ask Ubuntu or by Andy
Published on 2012-05-05T22:06:35Z Indexed on 2012/07/01 3:23 UTC
Read the original article Hit count: 243

Filed under:
|

Premise: linux noobie here, I have the same issue as OP: fresh 12.04 desktop, changed grub with grub customizer, now I get a: unknown command 'gfxmode' press ...etc

was asked to "re-post" this question and link to this thread which I refer to above.

I have tried what Tarek said, and nothing seems to work, I find two lines with gfxmode:

function gfxmode {

gfxmode \$linux_gfx_mode

Note: not sure if it matter but in the error the two single quotes before gfxmode are not the same, the first is a slanted quote mark, the second (after gfxmode) is a straight one.

I commented out the whole line, I tried to add 'set' before gfxmode, neither did any difference.

I found another place that said to remove the line from another file 40_custom, but I checked and those files do not contain anything relating to the line we are looking for: gfxmode $linux_gfx_mode

Not sure what I am missing, but the file linux.save has recently appeared when searching for the line. Not sure if its just a temp file of some kind.

In any case I cannot seem to get it, what am I missing?

Thanks!

P.S. sorry for any messups in form :)

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about grub2