How do you use method “keep” in partman-auto?

I have a preseed configuration with specific requirements for disk layout, including partition sizes. partman-auto does not respect the maximum partition size for the last partition on the disk. https://wikitech.wikimedia.org/wiki/PartMan/Auto explains this along with a supposed workaround: 5. LIMITATIONS ————– Due to limitation of the algorithms in partman-auto, there must be at least one partition … Read more

How can I add a kernel argument to a debian preseed file?

I’ve been using Debian preseed files for a while now doing netinstalls of Debian and Ubuntu. Ubuntu 20.04 has a weird video problem even on the text terminal. After install, sometimes you can’t see anything. The host is working over the network properly but nothing on vga output. Adding nomodeset to the kernel commmandline list … Read more

Debian installer won’t exit after preseeded installation

I’m doing a preseeded installation that involves displaying debconf INFO messages right inside the debian installer. At the end of the late_command, I’m expecting the system to eject the installation cdrom, and reboot my instance. The problem is that instead of behaving this way, it gets back to the debian installer menu, and to finish … Read more

Enabling verbose output during debian preseed installation, namely during software installation

During a Debian pre-seed automated installation onto a VM, the output is particularly… well, quiet. There’s no transparency into the progress of things, or to even see the Aptitude output during the software installation process – just basic, single-line progress bars. Is there a way to enable more verbose output during a pre-seeded debian installation? … Read more

Struggling with turning on the Project Quota in preseed (ext4, debian 11)

I’m trying to turn on the Project Quota on all my ext4 partitions during preseeded Debian 11 installation I’ve started with recipe like this below, with options/prjquota{ prjquota } oprtion, but this – unlikely to e.g. options/grpquota{ grpquota } – wont work d-i partman-auto/expert_recipe string \ boot-root :: \ 1024 50 1024 ext4 \ $primary{ … Read more

Preseed partitioning

I search to automatize my partitioning on Ubuntu but I fail to have my partition like this diagram below and I don’t understand all parameters I need in the preseed documentation. https://help.ubuntu.com/lts/installation-guide/s390x/apbs04.html#preseed-partman root@linux:/opt/ansible# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 300M 0 disk └─sda1 8:1 0 298M 0 part /boot sdb … Read more

DFS-R pre-populated target folders STILL overwrite. How to avoid that?

I have 2 servers that I’m testing with, before I do this in live environment. Server 2003 R2, fully patched. I have 20 gig of data on server1 and I want to replicate that to a folder on server2. If I use robocopy to make an exact copy of the contents of the folder to … Read more

Mount.cifs not supported during pxe install, but working after reboot. Why?

I’m having trouble adding to AD on pxe-unattended install. The problem is on mount.cifs, a script wich gives me the following error on pxe boot install, works 2 minutes later, after the reboot. Does anyone have an idea about what is happening here? thanks. ################# expect: /usr/bin/expect /usr/share/man/man1/expect.1.gz ######################## Reading package lists… Building dependency tree… … Read more

Where does the preseed file go for Ubuntu server iso install?

I’m installing a bunch of Ubuntu Server VMs from ISO, and would like to edit the ISO to include a custom preseed. I have all the docs here: https://help.ubuntu.com/lts/installation-guide/i386/preseed-using.html#preseed-loading However I’m a bit confused as to where to put the preseed file. I don’t need HTTP/FTP – I just want to unzip the ISO, include … Read more