Hi,
I recently wrote a simple program that parses a linux-device string and returns another string translated on how grub use it. That is, given a /dev/disk -partition string returns a string that it's grub-readable.
For instance, if you call the program with /dev/sda3, the program will print out (hd0,2).
Most users get confused at the beggining with linux and grub on how grub uses 0s and /dev uses letters and numbers. So, this is a simple, very simple program that make the job for those users (and for free!).





