4

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 1

1

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 ---
2
  • 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?
    – lucidbrot
    Apr 4, 2020 at 14:29
  • Yes. I use it to have a complete unattended installation source
    – utrescu
    Apr 16, 2020 at 8:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .