Grub menu shown after resuming from hibernate

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Grub menu shown after resuming from hibernate

Postby smh377 » Sep 9th, '13, 07:01

Hi all,

I've installed mga 3 on a new Dell Inspiron 14r, and everything works beautifully. Hardware is all supported, the thing suspends to ram and resumes in 1 second or less, it's all quite satisfying.

I've noticed that there seems to be an odd behavior in suspending to disk. Under mageia 2, when I'd suspect a computer to disk, when resuming it, there would be no grub menu--it'd just boot directly into the desktop and prompt me for a screensaver password. Now, however, when I suspend this machine to disk, when I wake it up it gives me a grub menu.

Selecting the same boot image as before does in fact resume the hibernated system, but it worries me that it's no longer automatically selected..that I might hit a key by mistake and lose a session.

Is this a change in behavior for mga3? Is it possible to get the old behavior back?

thanks!
smh377
 
Posts: 9
Joined: Sep 9th, '13, 01:18

Re: Grub menu shown after resuming from hibernate

Postby doktor5000 » Sep 9th, '13, 21:24

smh377 wrote:I've noticed that there seems to be an odd behavior in suspending to disk. Under mageia 2, when I'd suspect a computer to disk, when resuming it, there would be no grub menu--it'd just boot directly into the desktop and prompt me for a screensaver password.


Are you sure you didn't select suspend-to-ram aka suspend?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Grub menu shown after resuming from hibernate

Postby smh377 » Sep 9th, '13, 21:33

Yes.
smh377
 
Posts: 9
Joined: Sep 9th, '13, 01:18

Re: Grub menu shown after resuming from hibernate

Postby smh377 » Sep 9th, '13, 21:35

As I said, after waking the machine, I get a grub menu, as though the machine were booting normally. It's only after selecting the boot option that it then resumes from hibernation.

I have, in fact, never ever seen a grub menu on suspend-to-ram.
smh377
 
Posts: 9
Joined: Sep 9th, '13, 01:18

Re: Grub menu shown after resuming from hibernate

Postby David_Batson » Sep 10th, '13, 10:44

I see the same thing. Suspend to disk brings up the grub menu, and suspend to ram does not.

I suspect this is a grub issue, not a Mageia issue per se. In fact on my machine, I am using Arch Linux installed grub 2, with 3 other OS's installed. It doesn't matter which OS I suspend to disk, I always get the grub menu on power up.

See if adding this to /etc/default/grub will solve your issue.
Code: Select all
GRUB_DEFAULT=saved

Be sure and rebuild grub.cfg after you edit /etc/default/grub
Code: Select all
update-grub
David_Batson
 
Posts: 128
Joined: May 1st, '11, 05:19

Re: Grub menu shown after resuming from hibernate

Postby jkerr82508 » Sep 10th, '13, 11:18

You want to see the Grub menu if you are dual-booting with Windows. When you re-boot after logging out of Windows, your suspended Linux session is then restored. In fact, is it not possible to have several suspended Linux sessions, provided each of the Linux installs uses a different swap partition?

Jim
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: Grub menu shown after resuming from hibernate

Postby David_Batson » Sep 10th, '13, 13:50

AFAIK, if you select a timeout period, you will have the length of the timeout to hit the ESC key and bring up the grub menu. I use this for a hidden grub menu. I suspect you could do the same thing with a "grub default saved" option. If you reboot or power up, whatever was last booted is what will boot by default unless you press ESC during the timeout to bring up the grub menu.

The way I have my system set up, I have a default OS (that is always the same) that boots if I do not make a choice at the grub menu. I have a 5 second timeout for my hidden grub menu. If I don't press ESC during the 5 second timeout, I never see the grub menu.

That said, for all this to work as desired, you need to have the proper entries in /etc/default/grub
David_Batson
 
Posts: 128
Joined: May 1st, '11, 05:19


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest