Questions tagged [preseed]

Preseeding refers to the practice used to automate the installation of Debian GNU/Linux and many of its derivative distributions in a non-interactive manner. This is done by providing answers to the installer questions in a format file known as a preseed file.

For more information you can take a look at the documentation and the Debian Wiki

89 questions
15
votes
4 answers

preseed.cfg ignoring hostname setting

I am installing Debian Wheezy (netinstall) in VirtualBox using preseed.cfg. I tried both d-i netcfg/get_hostname string somehost and d-i netcfg/get_hostname string somehost, but in both cases the host gets set as "debian". I tried both at the same…
ToddM
  • 151
  • 1
  • 1
  • 3
10
votes
3 answers

What hash algorithms can I use in preseed's passwd/user-password-crypted entry?

When it comes to passwd/user-password-crypted statement in a preseed file, most examples use an MD5 hash. Example: # Normal user's password, either in clear text #d-i passwd/user-password password insecure #d-i passwd/user-password-again password…
Arseni Mourzenko
  • 1,208
  • 6
  • 18
  • 34
9
votes
1 answer

What values from debconf-get-selections should not be preseeded?

I want to replicate the Debian installation choices made for my system's current configuration in the installation of a new system. Debian can be pre-configured through a "pre-configuration" (aka "preseed") file, which basically contains the answers…
kjo
  • 14,779
  • 25
  • 69
  • 109
9
votes
2 answers

Disabling mirror option in preseed.cfg

I am installing Debain Weezy (netinstall) in VirtualBOX using preseed.cfg. I'm trying to create a preseed.cfg that would skip/not set Debian mirror in the Configure the package manager step. I am not installing any additonal packages (tasksel…
ToddM
  • 91
  • 1
  • 2
7
votes
1 answer

Preseed directive to skip another CD/DVD scanning

Please see the image below, is there a preseed directive to skip this Debian9 installer step? Currently I use the following config relevant to the package manager: ### Apt setup d-i apt-setup/non-free boolean true d-i apt-setup/contrib boolean…
NarūnasK
  • 2,276
  • 4
  • 25
  • 35
7
votes
3 answers

Using d-i partman recipe strings?

I want to automatically partition all of my workstations in the same way: First partition is a bootable 1GB ext4 /boot partition Second partition is a 2GB swap partition Third partition is an ext4 / partition that takes up whatever is left All…
7
votes
1 answer

Preseeding Ubuntu installation so it uses all the disk

I need to preseed a dual boot installation of Ubuntu 10.04. I want partman to use all already existing Linux partitions and all free space (like the option when installing Fedora) what would that recipe look like?
ulve
  • 959
  • 1
  • 7
  • 9
6
votes
3 answers

Prevent Language selection at ubuntu installation

I would like to make a completely unattended installation of Ubuntu Server 14.04 from an USB drive where I extracted the ubuntu-14.04.2-server.iso In /syslinux/txt.cfg of the USB drive, I added the following section menu label ^Unattended Ubuntu…
Jav
  • 960
  • 3
  • 11
  • 23
6
votes
2 answers

Preseed setting wrong partition size

I'm trying to do an install of Debian with the preseed tool. Everything's working great so far, except for the partitions of my disk. Basically what I want is: / of 30GB - ext4 /var/lib about 2TB - xfs swap 2GB But the system at the end comes like…
Rawkins
  • 668
  • 6
  • 9
6
votes
0 answers

Unattended Linux Mint Install

I am trying to create a Linux Mint 17.1 development box (in a virtual machine) but I'd like to automate the process. The instructions on how to perform an unattended installation are pretty out of…
MSumulong
  • 161
  • 5
5
votes
1 answer

How to add a public ssh key using debian preseed file?

Using debian preseeding, I want to copy a public key to /root/.ssh/authorized_keys with correct permissions so that I can use ansible to configure the rest of system. I already selected openssh-server to be installed by selecting d-i pkgsel/include…
Cruise5
  • 456
  • 3
  • 17
5
votes
1 answer

Debian preseed doesn't create lvm's, but are in the expert recipe

I created a preseed script with help from this blog and I altered it to create some logical volumes on it too. The result of the script is this: d-i debian-installer/locale string en_US.UTF-8 d-i debian-installer/splash boolean false d-i …
5
votes
0 answers

Enabling systemd service with preseed

I'm trying to enable [email protected] to output getty to serial console as well as tty0. I have tried running systemctl enable serial-getty@ttyS0 but I suspect that systemd might not be running when late_command is running. Then I tried…
granra
  • 151
  • 2
5
votes
4 answers

Tool to create recipe to preseed partitioning

I want to preseed an Ubuntu 12.04 installer using a custom partitioning recipe. My disk layout is reasonably complex, and so is the recipe syntax itself. Hand-crafting such a recipe seems tedious and error prone. Is there a tool to simply create a…
Alex
  • 321
  • 1
  • 4
  • 10
4
votes
3 answers

Debian PXE Preseeding: Can I clone my existing Debian system instead of using the Internet?

I'm currently working on PXE booting 10 or so machines to install Debian on them over the network from a centralized DHCP + TFTP server. I'm using the TFTP server to serve the Debian netboot image to the PXE clients. I'm also serving them a…
Joseph R.
  • 38,849
  • 7
  • 107
  • 143
1
2 3 4 5 6