Do not use partition for bootflag check but disk itself
authorMichael Prokop <mika@grml.org>
Wed, 9 Jan 2013 00:40:44 +0000 (01:40 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 10 Jan 2013 12:48:30 +0000 (13:48 +0100)
commit14e017caaec6e9e875023faf1b821ba232e6c35d
treee12aafb0e51f6c11089a45bf4e009a96830755c1
parentaff3fa9d73bacb546ae45b2c2822b369cad40a02
Do not use partition for bootflag check but disk itself

A device like /dev/sdX1 won't have a bootflag enabled, so instead
look for the bootflag on the corresponding /dev/sdX device instead.

Tested-by: Markus Rekkenbeil
grml2usb