I am attempting to preseed
a Ubuntu installation but all of the tutorials do not say where to save the preseed file to. They say to save it on the boot media and then pass the boot parameter preseed/file
to indicate the location of the preseeding file. How to do do this?
1 Answer
The root of the CD is /cdrom so for a preseed.cfg in the root must be:
file=/cdrom/preseed.cfg
Of course, you can create a folder for preseeds and change the path (ex. folder /responses will be file=/cdrom/responses/preseed.cfg)
For example I put a preseed file named xubuntu.cfg in the root of the CD and changed the 'append' option in txt.cfg with:
label live-install
menu label ^Install Xubuntu
kernel /casper/vmlinuz.efi
append auto file=/cdrom/xubuntu.cfg keyboard-configuration/layoutcode=us and console-setup/ask_detect=false boot=casper automatic-ubiquity noprompt initrd=/casper/initrd.lz ---
-
B.2. Using Preseeding states "In this section, auto is thus not a parameter, it means selecting that boot choice, and appending the following boot parameters on the boot prompt". I understood that to mean that we are not supposed to write the word auto there. Would you happen to know more? Apr 4, 2020 at 14:29
-