Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Grub edits at boot not saved

302 views
Skip to first unread message

Thomas H. George

unread,
Mar 24, 2013, 8:00:02 PM3/24/13
to

Upon booting wheezy I get a message "vga=399 deprecated Enter set
gfxpayload=1600x1200x24,1600x1200 before linux"

Just before loading the boot file there is an option to press e to edit
the grub startup file. When this is chosen the file appears in a window
with instructions below the window which state minimum Emacs edit
enabled. I use the arrow keys to move to the line before the one
begining linux and add the line set gfxpayload=1600x1200x24,1600x1200.
Having done this I would like to save and exit with the Emacs command
Ctl-x Ctl-s. This doesn't work as in this screen Ctl-x is the command
to contine booting the system so the edits are not saved.

Wheezy is loaded and runs with no problems but I shut the system down
every night and when I boot the system in the morning the message
vga=399 deprecated is back.

Should I bother to try to fix this and, if so, how?

Tom


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2013032420...@tomgeorge.info

Bob Proulx

unread,
Mar 24, 2013, 8:30:02 PM3/24/13
to
Thomas H. George wrote:
> Upon booting wheezy I get a message "vga=399 deprecated Enter set
> gfxpayload=1600x1200x24,1600x1200 before linux"

I have no information on that problem.

> Just before loading the boot file there is an option to press e to edit
> the grub startup file. When this is chosen the file appears in a window
> with instructions below the window which state minimum Emacs edit
> enabled.

Yes. That is correct.

> I use the arrow keys to move to the line before the one
> begining linux and add the line set gfxpayload=1600x1200x24,1600x1200.

Okay.

> Having done this I would like to save and exit with the Emacs command
> Ctl-x Ctl-s. This doesn't work as in this screen Ctl-x is the command
> to contine booting the system so the edits are not saved.

There isn't any code in grub to save the file. You can only edit it
on the command line to boot that one time with it. There is nothing
in the docs that talk about saving the result. Only editing the
current booting command. It is "minimum Emacs-like screen editing"
but is not a full editor and does not support save. You are only
expected to get the system booted. If you want to modify the file
permanently then you must do it from the running system.

> Wheezy is loaded and runs with no problems but I shut the system down
> every night and when I boot the system in the morning the message
> vga=399 deprecated is back.
>
> Should I bother to try to fix this and, if so, how?

After you have booted then go edit the files and fix it. The file you
want to change is:

/etc/default/grub

Look for this section:

GRUB_CMDLINE_LINUX=""

Add in your new options there. Then save that file. Possibly you
want this one instead, not sure, you will need to research it:

GRUB_GFXMODE=1600x1200x24,1600x1200

In any case, after saving the file then run:

# update-grub

That will "compile" the result into the /boot/grub/grub.cfg file.
Double check the contents of the /boot/grub/grub.cfg file and verify
that the result is as you want it. If not then change the values and
run "update-grub" again. Repeat until it is as you want it. Then
reboot to test.

Bob
signature.asc

Andrei POPESCU

unread,
Mar 25, 2013, 4:10:01 AM3/25/13
to
On Du, 24 mar 13, 18:22:50, Bob Proulx wrote:
>
> After you have booted then go edit the files and fix it. The file you
> want to change is:
>
> /etc/default/grub
>
> Look for this section:
>
> GRUB_CMDLINE_LINUX=""
>
> Add in your new options there. Then save that file.

Doesn't work via linux command line options (this is what the message is
trying to tell the OP).

> Possibly you
> want this one instead, not sure, you will need to research it:
>
> GRUB_GFXMODE=1600x1200x24,1600x1200

This will set the mode for the grub menu. You can use this and then set

GRUB_GFXPAYLOAD_LINUX=keep

or, if you don't care about the menu (or need different resolutions) add
the definition here (instead of the 'keep').

> In any case, after saving the file then run:
>
> # update-grub

Definitely.

Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc
0 new messages