Preseed: Remove purge_lvm_from_device

This option is no longer available (since Debian Lenny…) [partman-auto
sources].
The LVM configuration need to be manually removed with :
vgremove VG_NAME

[partman-auto sources]: https://salsa.debian.org/installer-team/partman-auto/-/blob/master/debian/partman-auto.templates
This commit is contained in:
Jeremy Gardais 2021-11-02 15:21:14 +01:00
parent fb5f414572
commit 150e198ae8
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
14 changed files with 19 additions and 14 deletions

View File

@ -100,7 +100,7 @@ Provide PXE entries for:
### Preseed ### Preseed
A preseed file can be loaded by the Debian-Installer to answer all questions A preseed file can be loaded by the Debian-Installer to answer all questions
Preseeding provides a way to set answers to questions asked by the Debian-Installer, without having to manually enter the answers. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations. More informations on [Debian wiki][preseed informations] and in [Debian sources][debian sources]. Preseeding provides a way to set answers to questions asked by the Debian-Installer, without having to manually enter the answers. This makes it possible to fully automate most types of installation and even offers some features not available during normal installations. More informations on [Debian wiki][preseed informations] and in [Debian sources][debian sources] (search for partman-auto, partman-lvm,… packages).
#### Commons configurations #### Commons configurations
* Localization: * Localization:
@ -167,6 +167,19 @@ Preseeding provides a way to set answers to questions asked by the Debian-Instal
#### Informations #### Informations
* You can use the command: `mkpasswd -m sha-512` to generate a SHA-512 hash for a password. * You can use the command: `mkpasswd -m sha-512` to generate a SHA-512 hash for a password.
#### Known issues
##### Volume group name already in use
Despite some preseed's options, these error might occur if a VG_NAME is :
* present on a "first" hard disk
* expected to be created on another hard disk
To fix this :
* Double check the hard disk that should be use for the operating system.
* Manually remove the "previous" VG : `vgremove VG_NAME` and restart the installer.
### Scripts ### Scripts
See the [scripts's README.md][scripts readme.md] file for more informations. See the [scripts's README.md][scripts readme.md] file for more informations.

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
d-i partman-md/device_remove_md boolean true d-i partman-md/device_remove_md boolean true

View File

@ -164,7 +164,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true

View File

@ -155,7 +155,7 @@ d-i partman-auto-lvm/no_boot boolean false
# Remove old LVM configuration # Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
# Remove old RAID configuration # Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true
# Confirm to write the LVM partitions # Confirm to write the LVM partitions

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
d-i partman-md/device_remove_md boolean true d-i partman-md/device_remove_md boolean true

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true

View File

@ -154,7 +154,7 @@ d-i partman-auto-lvm/no_boot boolean false
# Remove old LVM configuration # Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
# Remove old RAID configuration # Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true
# Confirm to write the LVM partitions # Confirm to write the LVM partitions

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
d-i partman-md/device_remove_md boolean true d-i partman-md/device_remove_md boolean true

View File

@ -151,7 +151,7 @@ d-i partman-auto-lvm/no_boot boolean false
# Remove old LVM configuration # Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
# Remove old RAID configuration # Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true
# Confirm to write the LVM partitions # Confirm to write the LVM partitions

View File

@ -156,7 +156,7 @@ d-i partman-auto-lvm/no_boot boolean false
# Remove old LVM configuration # Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
# Remove old RAID configuration # Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true
# Confirm to write the LVM partitions # Confirm to write the LVM partitions

View File

@ -152,7 +152,6 @@ d-i partman-auto-lvm/no_boot boolean false
## Remove old LVM configuration ## Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
## Remove old RAID configuration ## Remove old RAID configuration
d-i partman-md/device_remove_md boolean true d-i partman-md/device_remove_md boolean true

View File

@ -154,7 +154,7 @@ d-i partman-auto-lvm/no_boot boolean false
# Remove old LVM configuration # Remove old LVM configuration
d-i partman-lvm/device_remove_lvm boolean true d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
# Remove old RAID configuration # Remove old RAID configuration
#d-i partman-md/device_remove_md boolean true #d-i partman-md/device_remove_md boolean true
# Confirm to write the LVM partitions # Confirm to write the LVM partitions