https://bugzilla.novell.com/show_bug.cgi?id=223722 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO|230005 | nThis| | Status|NEW |ASSIGNED ------- Comment #19 from seife@novell.com 2006-12-20 10:49 MST ------- I went for this solution in pm-utils (the first part is even cosmetic): --- old/pm-utils-suse/hooks/99Zgrub 2006-11-08 13:55:49.000000000 +0100 +++ new/pm-utils-suse/hooks/99Zgrub 2006-12-20 18:36:36.000000000 +0100 @@ -27,10 +27,14 @@ # DEBUG "Found grub menu entry #${J}: '${LINE}'" INFO ;; default*) - DUMMY=($LINE) # "default 0 #maybe a comment" + DUMMY=($LINE) # "default 0 #maybe a comment" echo "DEFAULT_BOOT=${DUMMY[1]}" # ^^[0]^^ 1 ^^[2]^ 3 ^^[4]^^ # DEBUG "Default boot entry is '${DUMMY[1]}'" INFO ;; + kernel*noresume*) + # we probably found the "failsafe" kernel that won't resume... + echo " Skipping grub entry #${J}, because it has the noresume option" >&2 + ;; kernel*) DUMMY=($LINE) # kernel (hd0,1)/boot/vmlinuz-ABC root=/dev/hda2 echo "KERNELS[$I]='${DUMMY[1]##*/}'" # vmlinuz-ABC ------ because it makes no sense to select a kernel that has "noresume" set for suspend. Fortunately, the failsafe entry also has "noresume" set, so this is good as a workaround. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.