Re: Random kernel update breakage

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

 



JB <jb.1234abcd <at> gmail.com> writes:

> ...
Additional info.

$ cat /usr/lib/pm-utils/sleep.d/01grub
...
# Ensure grub will load the correct kernel on resume from hibernate,
...
        echo "savedefault --default=${current} --once" | \
                /sbin/grub --device-map=/boot/grub/device.map \
                --batch --no-floppy --no-curses >/dev/null
...

Let's see more.
# grub
grub> help savedefault
help savedefault
savedefault: savedefault [--stage2=STAGE2_FILE] [--default=DEFAULT] [--once]
    Save DEFAULT as the default boot entry in STAGE2_FILE. If
    '--once' is specified, the default is reset after the next reboot.
grub> quit

So, savedefault modifies stage2 file.
Could this be a source of grub random instability (grub trashing) ?
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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux