Issue
I want to auto install Debian with a usb.
I have read that I have to use the preseed file, but I don't understand what I have to do with it. I leave it at the beginning of the usb, but it does not detect it and if I put the path /hd-media/preseed.cfg
it returns an error
Solution
The file you have to edit is the grub.cfg found in /boot/grub
and you must add/modify a menuentry at the root of the file or within a submenu.
I leave you the sample code:
menuentry --hotkey=s 'AUTOMATIC INSTALL' {
set background_color=black
linux /install.amd/vmlinuz file=/cdrom/preseed.cfg auto=true shared/ask_device=manual
pkgsel/upgrade=none
initrd /install.amd/initrd.gz
}
Answered By - ICIM