Last active
May 8, 2024 13:43
-
-
Save lorin/5140029 to your computer and use it in GitHub Desktop.
Revisions
-
lorin revised this gist
Mar 14, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ d-i partman-lvm/confirm_nooverwrite boolean true # 2. Boot partition: 250 MB # 2. LVM, with the following logical volumes # - Root partition: 250 GB (256000 MB), ext4. # - Swap: 100% of RAM # - Data partition: remaining space, XFS d-i partman-auto/expert_recipe string \ boot-root :: \ -
lorin revised this gist
Mar 14, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Use LVM for partitioning d-i partman-auto/method string lvm # If one of the disks that are going to be automatically partitioned -
lorin renamed this gist
Mar 12, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
lorin created this gist
Mar 12, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,57 @@ # User LVM for partitioning d-i partman-auto/method string lvm # If one of the disks that are going to be automatically partitioned # contains an old LVM configuration, the user will normally receive a # warning. Preseed this away d-i partman-lvm/device_remove_lvm boolean true # And the same goes for the confirmation to write the lvm partitions. d-i partman-lvm/confirm boolean true # Really, please don't prompt me! d-i partman-lvm/confirm_nooverwrite boolean true # partitioning # Physical partitions: # 1. BIOS boot partition: 1 MB See https://wiki.archlinux.org/index.php/GRUB2#GUID_Partition_Table_.28GPT.29_specific_instructions # 2. Boot partition: 250 MB # 2. LVM, with the following logical volumes # - Root partition: 250 GB (256000 MB), ext4. # - Swap: 100% RAM of RAM # - Data partition: remaining space, XFS d-i partman-auto/expert_recipe string \ boot-root :: \ 1 1 1 free method{ biosgrub } . \ 250 250 250 ext2 \ $primary{ } $bootable{ } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext2 } \ mountpoint{ /boot } \ . \ 100% 2048 100% linux-swap \ lv_name{ swap } \ method{ swap } format{ } \ $lvmok{ } \ . \ 256000 256000 256000 ext4 \ lv_name{ root } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } \ $lvmok{ } \ . \ 1024 1024 -1 xfs \ lv_name{ data } \ method{ lvm } format{ } \ use_filesystem{ } filesystem{ xfs } \ mountpoint{ /data } \ $lvmok{ } \ . # This makes partman automatically partition without confirmation, provided # that you told it what to do using one of the methods above. d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true