PowerPC fixes and enchancements

This set of commits brings grub2 for powerpc images
imho we should be more generic with the case selection:

```
case $arch in
    i*386|x86_64)
    ....
    ;;
    *)
         echo "skiped writing MBR ID for $arch"
    ;;
esac
```