Re: grub menu is automatically skipped

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Konstam <akonstam <at> sbcglobal.net> writes:

> ... 
> I am glad you solved you problem but I am amazed that default worked.

Hi,
Aaron is right about his amazement.
info grub
...
 -- Command: default num
     Set the default entry to the entry number NUM. Numbering starts
     from 0, and the entry number 0 is the default if the command is not
     used.
...
So, the presence of default command is not required.

> Hibernate saves the state of the system at the time you tell it to
> hibernate.

$ less /var/log/pm-suspend.log
...
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
...
$ less /usr/lib/pm-utils/sleep.d/01grub
...
out=$(/sbin/grubby --info /boot/vmlinuz-$(uname -r) |grep index)
...
echo "savedefault --default=${current} --once" | \
...

In this case, the default entry is the entry saved with the command
`savedefault'.


> When you return you load back the system to the  state you
> had before hibernation.

GRUB will choose the entry booted previously as the default entry.

> Which means to me that if you hibernate while in
> Linux it should come back to Linux. And booting into Windows 7 should be
> impossible. Would someone who suggested the default solution explain why
> this works?

Yes, Aaron. Do not let them off the hook :-)

JB


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux