Hi,[..]
I'm sure I'm doing something wrong here but I'm seeing errors I've
never seen before.
I'm rebuilding https://deb.debian.org/debian/dists/stable/main/installer-amd64/current/images/cdrom/mini.iso
using something along the lines of
sed -i '1s/^/timeout=1\n/' boot/grub/grub.cfg
sed -i '1s/^/default=0\n/' boot/grub/grub.cfg
sed -i "s/--- quiet/auto file=\/cdrom\/preseed.cfg DEBCONF_DEBUG=5 language=en country=AU locale=en_AU.UTF-8 keymap=us/"
boot/grub/grub.cfg
So the boot parameters are:[..]
vga=788 auto file=/cdrom/preseed.cfg DEBCONF_DEBUG=5 language=en
country=AU locale=en_AU.UTF-8 keymap=us
This results in the following error:
The file needed for preconfiguration could not be retreived from file:///cdrom/preseed.cfg. The installation will proceed in non-
automated mode
I'll try adding it to the initrd as a workaround but I thought
remastering the ISO was supposed to be an option, too.
As you have already found, there is no /cdrom with mini.iso. The
solution I use is to put the preseed-file (and all other additional
files) into a _separate_ initrd called preseed.gz, put that initrd onto
the disk, and use
vga=788 [kernel options] file=/preseed.cfg [preseed options] initrd=initrd.gz,preseed.gz
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:05:47 |
Calls: | 9,617 |
Calls today: | 3 |
Files: | 13,692 |
Messages: | 6,156,370 |