30.05.2012, 20:41, "Tom H" <tomh0...@gmail.com>:
> > I'd collected some info on creating a gpt label last August for future > use but I never tested it; and I thought that the above was enough > when answering your initial post; sorry. (Didn't the reply on the > second link help?) Looking through the stuff that I'd put together > from the net and from logs, there are also these possible settings: > > partman-basicfilesystems/choose_label string gpt > partman-basicfilesystems/default_label string gpt > partman-partitioning/choose_label string gpt > partman-partitioning/default_label string gpt > partman/choose_label string gpt > partman/default_label string gpt > > I don't know which one or ones will do the trick (if at all) or > whether you have to prepend "d-i", "partman", or > "partman-partitioning" to those that do work; but you'll, I'm sure, > need at least one of them. > > There was also another biosgrub recipe fragment in my notes that's > different from the one in the debian-boot thread (without "$bios_boot{ > }" and "$gptonly{ }"; the latter must be dependent on one of the above > in an auto-recipe situation rather than a requirement if you set the > correct gpt label debconf value before the recipe {guessing!}): > > 1 1 1 free > $primary{ } > method{ biosgrub } . > > If there's one thing that I don't like in Debian, it's preseed. Its > syntax is convoluted and very badly documented... :( > I've added lines below and got GPT on a empty 160GB hard drive. Thanks Tom! Need to understand which of them really needed. Will use your debugging hint for keymap selection. #################################################################### # Disk Partitioning/Boot loader #################################################################### d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular ###gpt d-i partman-basicfilesystems/choose_label string gpt d-i partman-basicfilesystems/default_label string gpt d-i partman-partitioning/choose_label string gpt d-i partman-partitioning/default_label string gpt d-i partman/choose_label string gpt d-i partman/default_label string gpt partman-partitioning partman-partitioning/choose_label select gpt #gpt d-i partman-auto/expert_recipe string physics-workstation :: \ 32 32 32 free \ $gptonly{ } \ $primary{ } \ $bios_boot{ } \ method{ biosgrub } \ . \ 16000 1000 16000 linux-swap \ $gptonly{ } \ $primary{ } \ method{ swap } format{ } \ . \ 500 1000 -1 xfs \ $gptonly{ } \ $primary{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ xfs } \ mountpoint{ / } \ . d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select Finish partitioning and write changes to disk d-i partman/confirm boolean true d-i partman-partitioning/confirm_copy boolean true d-i partman/confirm_new_label boolean true # This one makes grub-installer install to the MBR even if finds some other OS # too, which is less safe as it might not be able to boot that other OS. d-i grub-installer/with_other_os boolean true #################################################################### -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/217811338416...@web25g.yandex.ru