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

Installation • How can i setup installation media manually in the installer?

$
0
0
I use a USB stick in multiboot configuration as the installation medium. This means that there are several Debian ISO images as well as ISO files from other Debian-based distributions in one folder.

Booting from certain ISO images via GRUB also works, but the Debian installer's auto-detection of the installation medium cannot handle this. For example, it uses the first Debian-like ISO file that it can find in the folder.

This can be an old Debian version or an image of Ubuntu, for example, but not necessarily the exact Debian version for which the installer was written and which was just booted.

The two screenshots show the problem and the point where the auto-detection of the installation medium fails.

My grub.cfg for the multiboot USB stick looks like this in short. It's for grub version 2:

Code:

set timeout=10set default=0# path to the partition holding ISO images (using UUID)probe -u $root --set=rootuuidset imgdevpath="/dev/disk/by-uuid/$rootuuid"menuentry "Debian 12.7.0 i386 netinst" {  set isofile="/images/debian-12.7.0-i386-netinst.iso"  search --no-floppy --set=root --file $isofile  loopback loop $isofile  linux (loop)/install.386/vmlinuz findiso=$isofile boot=install.386 components locales=de_DE.UTF-8 vconsole.keymap=de-latin1 noeject noprompt noplymouth nopersistent --  initrd (loop)/install.386/initrd.gz}menuentry "kubuntu-20.04.1 Desktop 64 Bit" {  set isofile=/images/kubuntu-20.04.1-desktop-amd64.iso  loopback loop $isofile  linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile locale=de_DE console-setup/layoutcode=de noeject noprompt noplymouth nopersistent --  initrd (loop)/casper/initrd}menuentry "TinyCore Linux - CorePlus (248 MiB) Current 15" {  set isofile="/images/CorePlus-current.iso"  search --no-floppy --set=root --file $isofile  loopback loop $isofile  linux (loop)/boot/vmlinuz findiso=$isofile boot=boot components locales=de_DE.UTF-8 vconsole.keymap=de-latin1 noeject noprompt noplymouth nopersistent --  initrd (loop)/boot/core.gz}menuentry "Plop Boot Manager" {    set root=(hd0,1)    linux16 /images/plpbt.bin}menuentry "Memtest 86+" { linux16 /images/memtest86+-5.01.bin}menuentry "Windows Installer starten" { echo "Booting Windows-Boot-Manager (bootmgr) ..." ntldr /bootmgr echo "Booting Windows-Boot-Manager (bootmgr) ..."}
What i need is a workaround for the autodetection. I just want to tell the installer to use ISO image file /images/debian-12.7.0-i386-netinst.iso
debian_media_problem_2.png

debian_media_problem_1.png

Statistics: Posted by Borg — 2024-10-25 03:23 — Replies 2 — Views 25



Viewing all articles
Browse latest Browse all 2509

Trending Articles