Hello,
The installer cannot find debian udeb packages [1] that supply kernel modules used to recognize / configure ata and scsi disk support.Therefore, the kernel is probably missing the kernel modules to detect the VM's internal disk during unattended installation.
You can check the loaded kernel modules with the lsmod command from the installer shell at the partitioning stage, booting it with and without unattended installation.
As a reference, this is an example of the output from lsmod command using a Debian Bookworm netinst ISO with a KVM/QEMU VM without preseeding:---
[1] https://wiki.debian.org/udeb
According to the installer logs, the kernel from netboot.tar.gz does not recognize the hard disk controller and its connected disk.Hello all ! I have some issue with a debian preseed where I am using a local repository for the packages, when I do not use the local repository, the unattended installation finishes successfully using deb.debian.org, but when I just change the preseed file to use the local repository, it says there is no root filesystem for the partitioning step of the installer it tells me that there is no root filesystem, I can see that the disk is not detected, does anyone have an idea on how to resolve this ?
[..]
I used the netboot.tar.gz file from here http://http.us.debian.org/debian/dists/ ... s/netboot/
[..]
I have the VM on VMware, the disk type appears to be a SCSI disk.
[..]
Regarding blkid command, unfortunatley there is nothing in there, the command returns an emtpy result, since I have not plugged in the USB in the VM, the /dev/sda that was detected last time was the USB and not the VMware VM Disk.
The installer cannot find debian udeb packages [1] that supply kernel modules used to recognize / configure ata and scsi disk support.
Code:
[..]Jan 26 13:16:58 anna[3562]: 2024-01-26 13:16:58 URL:http://LOCAL_IP_ADDRESS/cobbler/repo_mirror/auto-deb-x86_64/dists/bookworm/main/debian-installer/binary-amd64/Packages.gz [41334/41334] -> "/tmp/_fetch-url_net-retriever-3564-Packages.3588" [1]Jan 26 13:16:58 anna[3562]: DEBUG: resolver (fat-modules): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (scsi-modules): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (ata-modules-6.1.0-15-amd64-di): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (cdrom-core-modules-6.1.0-15-amd64-di): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (fat-modules): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (scsi-modules): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (ata-modules-6.1.0-15-amd64-di): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: resolver (cdrom-core-modules-6.1.0-15-amd64-di): package doesn't exist (ignored)Jan 26 13:16:58 anna[3562]: DEBUG: retrieving apt-mirror-setup 1:0.182
You can check the loaded kernel modules with the lsmod command from the installer shell at the partitioning stage, booting it with and without unattended installation.
As a reference, this is an example of the output from lsmod command using a Debian Bookworm netinst ISO with a KVM/QEMU VM without preseeding:
Code:
Module Size Used bydm_mod 155648 0md_mod 167936 0xfs 1462272 0jfs 208896 0btrfs 1409024 0xor 24576 1 btrfszstd_decompress 81920 1 btrfszstd_compress 172032 1 btrfsxxhash 16384 2 zstd_compress,zstd_decompressraid6_pq 122880 1 btrfslibcrc32c 16384 2 btrfs,xfsvfat 20480 0fat 86016 1 vfatext4 749568 0crc16 16384 1 ext4mbcache 16384 1 ext4jbd2 122880 1 ext4crc32c_generic 16384 1fscrypto 32768 1 ext4ecb 16384 08139too 40960 08139cp 36864 0mii 16384 2 8139cp,8139tooisofs 49152 1hid_generic 16384 0uas 28672 0usb_storage 73728 1 uassd_mod 61440 0sr_mod 28672 1cdrom 65536 1 sr_modusbhid 57344 0virtio_scsi 20480 0virtio_balloon 20480 0virtio_console 32768 0hid 139264 2 usbhid,hid_genericata_generic 16384 0ahci 40960 1libahci 40960 1 ahciata_piix 36864 0libata 270336 4 ata_piix,libahci,ahci,ata_genericehci_pci 16384 0uhci_hcd 49152 0ehci_hcd 94208 1 ehci_pciusbcore 299008 6 ehci_pci,usbhid,usb_storage,ehci_hcd,uas,uhci_hcdscsi_mod 249856 6 virtio_scsi,sd_mod,usb_storage,uas,libata,sr_modvirtio_pci 28672 0virtio_ring 28672 4 virtio_console,virtio_balloon,virtio_scsi,virtio_pcivirtio 16384 4 virtio_console,virtio_balloon,virtio_scsi,virtio_pciusb_common 16384 1 usbcore
[1] https://wiki.debian.org/udeb
Statistics: Posted by Aki — 2024-01-27 07:55