[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#567590: Reproducable



Frans,

I witnessed the same confusion myself; in retrospect, I should've mentioned it. I simply assumed that it was a graphical glitch of some kind. I was unable to set the "bootable flag" as well and had been setting the BIOS boot area flag (bios_grub) as well. I'm not clear as to the semantic of that flag, but that's what I have set at the moment and it seems to be booting my machine correctly. I'd be glad to provide more information at request, but I'm not terribly familiar with GPT, so I'm not sure what's relevant. :)

Thanks,

Zach
On Saturday 30 January 2010, Frans Pop wrote:
  │         Bootable flag:    off                                    │
  │         off                                                      │

Note the extra line with 'off' below the 'Bootable flag' line. That
could be caused by bootable flag, but possibly also a different flag.

OK, that was possibly an unrelated issue. The second line was for the 'BIOS boot area flag' for which the description is not correctly displayed.
I've committed a fix for that.

Toggling Bootable flag does not work (it remains 'off'), but toggling
the line below changes it from 'off' to 'on'.

Toggling the bootable flag still does not have any effect. It should be supported: VALID_FLAGS in the partman log has: boot, hidden, raid, lvm, hp-service, msftres, bios_grub. I can see the flag is getting set correctly, but when libparted reads the current flags again, it's not there.


Zacharay: is the problem really with the "bootable flag", or rather with that 'BIOS boot area' (bios_grub) flag?

It looks as if setting bios_grub may remove the raid flag. Could it be that a 'BIOS boot area' partition simply cannot be a RAID partition? That seems quite logical...

To test with that display issue corrected, you need to make the following change in /lib/partman/active-partition/67toggle_biosgrub/choices before you run partman:

-description=$(stralign -25 "$RET")
+description="$RET"

 if [ $biosgrub = yes ]; then
        db_metaget partman-partitioning/text/on description
-       printf "nobiosgrub\t%s%s\n" "$description" "${RET}"
+       printf "nobiosgrub\t%s\${!TAB}%s\n" "$description" "${RET}"
 else
        db_metaget partman-partitioning/text/off description
-       printf "biosgrub\t%s%s\n" "$description" "${RET}"
+       printf "biosgrub\t%s\${!TAB}%s\n" "$description" "${RET}"
 fi

I'll test a bit more myself too.

Cheers,
FJP





Reply to: