PXE preseed installation - Fail with partitioning

Help with issues regarding installation of Debian

PXE preseed installation - Fail with partitioning

Postby oxedions » 2019-07-21 14:01

Hi,

I am working on an Ansible stack (https://github.com/oxedions/bluebanquise), and I am now considering adding Debian (and especially Debian 10.0) into the stack.

However, I have the same issue that I had with Debian 9, it always fail during partitioning, with the same error. Using similar preseed file, I was able to deploy Ubuntu 18.04.

The error is the following:
Code: Select all
[!] Partition disks
No Root File System
No root file system is defined
Please correct this from the partition menu.


I am sure I got the correct netboot file, as inside, the version.info clearly state it is Debian 10 netboot file. So there should not be any missmatch between the packages loaded during process, and the initrd/kernel.

My preseed file is provided at the end of this message.

Does anyone has an idea about this issue ?
Disk is an VirtualBox generic Sata drive. I could install Debian using the DVD boot, but noway to use the automatic method.

Many thanks for any helps ! :)

Kind regards

Oxedions


Code: Select all
## Options to set on the command line


### zone
d-i debian-installer/locale string en_US.UTF-8
d-i keyboard-configuration/xkb-keymap select fr
#d-i debconf/language string us
#d-i debian-installer/language string us
#d-i debian-installer/country string US
#d-i debian-installer/locale string en_US.UTF-8
#d-i console-setup/ask_detect boolean false
#d-i console-setup/layoutcode string us
#d-i keyboard-configuration/modelcode string pc105
#d-i keyboard-configuration/layoutcode string us
#d-i keyboard-configuration/variantcode string latin9

### network
## Note: a dhcp gateway MUST be set for the network, even a dummy one
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/choose_interface select auto
d-i netcfg/no_default_route boolean
#d-i netcfg/choose_interface select auto
#d-i netcfg/get_gateway 10.1.0.1
#d-i netcfg/get_hostname string unassigned
#d-i netcfg/get_domain string unassigned


### Repositories
d-i debian-installer/allow_unauthenticated  string true

d-i mirror/country string manual
d-i mirror/http/hostname string http://10.10.0.1
d-i mirror/http/directory string /repositories/debian/10.0/x86_64/os/
d-i mirror/http/proxy string


#d-i debian-installer/allow_unauthenticated string true # Allow local source
#d-i mirror/country string manual
#d-i mirror/http/hostname string http://10.10.0.1
#d-i mirror/http/directory string /repositories/debian/10.0/x86_64/os/
#d-i mirror/http/proxy string
#d-i pkgsel/update-policy select none
d-i pkgsel/install-language-support boolean false

#d-i base-installer/kernel/override-image string linux-server


### Time
d-i clock-setup/utc-auto boolean true
d-i clock-setup/utc boolean true
d-i time/zone string Europe/Paris #US/Pacific
d-i clock-setup/ntp boolean true


### Partitioning
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-lvm/confirm boolean true
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

d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/init_automatically_partition select Guided - use entire disk


# Good
#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
#d-i partman-auto/choose_recipe select atomic
#d-i partman-auto/init_automatically_partition select Guided - use entire disk
# End good

#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
#d-i partman-auto/choose_recipe select atomic

#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular
#d-i partman-lvm/device_remove_lvm boolean true
#d-i partman-md/device_remove_md boolean true
#d-i partman-auto/choose_recipe select atomic

# This makes partman automatically partition without confirmation
#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

#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/method string regular

#d-i partman-auto/method string regular
#d-i partman-auto/purge_lvm_from_device boolean true
#d-i partman-lvm/confirm boolean true
#d-i partman-auto/choose_recipe select atomic
#d-i partman/confirm_write_new_label boolean true
#d-i partman/choose_partition select finish
#d-i partman/confirm boolean true


### Users
#d-i passwd/root-password password r00tme
#d-i passwd/root-password-again password r00tme
d-i passwd/root-login boolean true
d-i passwd/make-user boolean false
id-i passwd/root-password-crypted password $6$M3crarMVoUV3rALd$ZTre2CIyss7zOb4lkLoG23As9OAkYPw2BM88Y1F43n8CCyV5XWwAYEwBOrS8bcCBIMjIPdJG.ndOfzWyAVR4j0
#d-i passwd/user-fullname string root User
#d-i passwd/username string root
#d-i passwd/user-password password insecure
#d-i passwd/user-password-again password insecure


### Grub
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note


### Specific
d-i pkgsel/include string openssh-server curl
d-i preseed/late_command string \
  in-target sh -c 'sed -i "s/^#PermitRootLogin.*\$/PermitRootLogin yes/g" /etc/ssh/sshd_config'; \
  in-target set -- `cat /proc/cmdline`; for I in $*; do case "$I" in *=*) eval $I;; esac; done; \
  in-target echo Next server is $ipxe_next_server; \
  in-target curl -s -k http://$ipxe_next_server/cgi-bin/bootswitch.cgi --data "node=$(hostname -s)&boot=disk";
oxedions
 
Posts: 2
Joined: 2019-07-21 13:47

Re: PXE preseed installation - Fail with partitioning

Postby oxedions » 2019-07-22 07:25

I took a screenshot to visualize the error :)

Also, strangely, there are no traces of the disk... (see second screenshot) But it works well with the DVD when doing manual install. Is there some module missing in the network installer ?

Image

Image
oxedions
 
Posts: 2
Joined: 2019-07-21 13:47


Return to Installation

Who is online

Users browsing this forum: Bloom and 14 guests

fashionable