Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3441

General Questions • [Software] cdrom-detect failed on customized installer USB

$
0
0
Hi all,

this might be a complicated one:

I created a custom install on a USB drive containing several partitions: EFI (FAT), BOOT (EXT4), ARCHIVE (EXT4);
Synced the ISO debian-live-12.5.0-amd64-standard content to the BOOT, customized the squashfs, installed grub.
grub.cfg from the EFI partition routes to BOOT partition. In BOOT partition I made a custom grub entry:

menuentry Install_Debian {   search.fs_uuid 5909d24b-8fc8-442a-8ffb-b1b5203b9b8a root   set gfxpayload=keep   linux  /install/vmlinuz ---"   initrd /install/initrd.gz"}

So far everything is working as expected, the installer starts and I select language, region, keyboard etc.
Up until I get the error that the install media is not detected.

Looking at the install syslog I see:
...<date> cdrom-detect: CD-ROM mount succeeded: device=/dev/sdb1 fstype=vfat<date> cdrom-detect: The CD in /dev/sdb1 is not a Debian CD!<date> cdrom-detect: CD-ROM mount failed: device=/dev/sdb2 fstype=iso9660<date> cdrom-detect: CD-ROM mount failed: device=/dev/sdb2 fstype=vfat<date> cdrom-detect: CD-ROM mount failed: device=/dev/sdb3 fstype=iso9660<date> cdrom-detect: CD-ROM mount failed: device=/dev/sdb3 fstype=vfat ...
cdrom-detect trys all partitions and of course it fails, my BOOT is on partition 2 and of EXT4.

I have successfully done this already for Ubuntu, but ,with EFI and BOOT folder on the same partition formated FAT.

I wonder if I can change the media detection somehow, or make cdrom-detect also try ext4 partitions?

Thank you for any hints!

Statistics: Posted by teclab — 2024-02-27 18:51 — Replies 2 — Views 81



Viewing all articles
Browse latest Browse all 3441

Trending Articles