Final recipe is: d-i partman-auto/expert_recipe string physics-workstation :: \ 32 32 32 free \ $gptonly{ } \ $primary{ } \ $bios_boot{ } \ method{ biosgrub } \ . \ 1600 1000 1600 linux-swap \ $gptonly{ } \ $primary{ } \ method{ swap } format{ } \ . \ 25500 9000 25555 xfs \ $gptonly{ } \ $primary{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ xfs } \ mountpoint{ / } \ .
and the output: # gdisk -l /dev/vda GPT fdisk (gdisk) version 0.8.4 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/vda: 335544320 sectors, 160.0 GiB Logical sector size: 512 bytes Disk identifier (GUID): 2A256643-D59F-4B71-B796-9137E7241FE9 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 335544286 Partitions will be aligned on 1-sector boundaries Total free space is 0 sectors (0 bytes) Number Start (sector) End (sector) Size Code Name 1 34 62534 30.5 MiB EF02 2 62535 3187535 1.5 GiB 8200 3 3187536 52992223 23.7 GiB 0700 31.05.2012, 13:16, "Tom H" <tomh0...@gmail.com>: > On Wed, May 30, 2012 at 6:21 PM, Darren Baginski <kick...@yandex.com> wrote: > >> 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. >> >> 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 >> 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{ / } \ >> . > > You're welcome. It's good to know that a gpt label can be created via > preseed. :) > > What's the output of "parted -l /dev/sda" or "gdisk -l /dev/sda" after > this install? > > (BTW, you don't need the backslashes in the partitioning section - > although I think that you might need it after the "::".) -- 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/367031338685...@web7g.yandex.ru