I am running the following command from my bash shell script:
/usr/sbin/grub --no-floppy --batch << EOF
Now I know that (manually doing this) GRUB's find command returns the following on bash prompt:
grub> find /sbin/init
All I want to do is grab the drive letter ("hd0" or whatever grub returns) into a variable in my shell script.