On Thu, Mar 5, 2009 at 10:18 AM, Felix Zielcke <fziel...@z-51.de> wrote:
> Am Donnerstag, den 05.03.2009, 10:12 -0500 schrieb Harvey Chapman: > > Is there a way to always select the last partition on a disk? I'd like > > to boot the same menu.lst on different machines and I know that I > > always want the last partition on the first disk. > > > > Is there a way to do this? > > No there isn't. > Would it be possible to do it in code kind of like how the "find" command works? That is, use the drive specified and keep calling next_partition() until the last partition is reached? I saw a comment in the code that next_partition() may not be reliable. I'm perfectly willing to modify my local copy of grub to do this, but I wanted to sound the idea off of the existing developers to make sure it is possible. Perhaps I could add a special partition number, '$' (to borrow from regular expression syntax), which could mean last partition?
_______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub