Delete the extra partition for free space with the late_command #2

Closed
opened 2020-11-19 09:57:12 +01:00 by jegardai · 3 comments
Owner

Créée le Fri, 29 Jul 2016 15:28:30

Debian's preseed need an extra partition to avoid to give all free space to the last partition. So i create a logical volume (lv_free).

It can be destroy by the late_command or by the script (cleaner).

Créée le Fri, 29 Jul 2016 15:28:30 Debian's preseed need an extra partition to avoid to give all free space to the last partition. So i create a logical volume (lv_free). It can be destroy by the late_command or by the script (cleaner).
Author
Owner

Ajouté le Mon, 19 Sep 2016 10:12:30

64 128 8192 ext4 $lvmok{ } lv_name{ tobedeleted } method{ keep }

d-i preseed/late_command string \ 
lvremove -f /dev/vg00/tobedeleted;
Ajouté le Mon, 19 Sep 2016 10:12:30 ``` 64 128 8192 ext4 $lvmok{ } lv_name{ tobedeleted } method{ keep } d-i preseed/late_command string \ lvremove -f /dev/vg00/tobedeleted; ```
Author
Owner

Ajouté le Tue, 20 Sep 2016 11:23:03

  • With :
64 128 8192 ext4 $lvmok{ } lv_name{ tobedeleted } method{ keep }
  • The Debian-Installer ask for a physical volume…

  • If i add a the vg_name it's ok, but the D-I ask the question about a filesystem for this LV…

  • If i set a filesystem, D-I ask for a mountpoint for this LV, even if i set :

# Allow partition without any mountpoint
d-i partman-basicfilesystems/no_mount_point     boolean true

mountpoint{}
Ajouté le Tue, 20 Sep 2016 11:23:03 * With : ``` 64 128 8192 ext4 $lvmok{ } lv_name{ tobedeleted } method{ keep } ``` * The Debian-Installer ask for a physical volume… * If i add a the **vg_name** it's ok, but the D-I ask the question about a filesystem for this LV… * If i set a filesystem, D-I ask for a mountpoint for this LV, even if i set : ``` # Allow partition without any mountpoint d-i partman-basicfilesystems/no_mount_point boolean true mountpoint{} ```
Author
Owner

Closed with commit e17d700fc0

Closed with commit e17d700fc0
jegardai added the
enhancement
label 2020-11-19 10:02:18 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cellinfo/tftpboot#2
No description provided.