I have a Dell Inspiron 8000, with a suspend to disk feature. When the suspend is activated, it writes the memory contents into a special partition, marks the partition as active, and shuts off the machine. To resume, the machine boots from the s2d partition, and makes the OS partition active.

In order to be able to resume, I have the following commands in my grub.lst:

title=Linux
root (hd0,1)
kernel /boot/bzImage root=/dev/hda2
...
title=Resume from Disk
chainloader (hd0,0)+1

This works, but is awkward because I have to remember which option to choose. Is there any to make this more automatic? What I would like is to be able to conditionally modify the menu based on whether the active partition is hd0,0 or hd0,1, and only present the Resume from Disk option as the default when hd0,0 is active. Are there any plans to support this kind of feature? I think that conditional menu modification is a fairly generic feature that could find a lot of applications and expand the utility of Grub.

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to