On Mon 13 Mar 2023 at 08:01:51 -0600, Charles Curley wrote: > On Mon, 13 Mar 2023 08:19:26 +0100 > <to...@tuxteam.de> wrote: > > > On Sun, Mar 12, 2023 at 04:08:28PM -0600, Charles Curley wrote: > > > I can specify the path to the preseed file when booting Debian > > > Installer (d-i). Is there any way to tell it that the preseed file > > > is on device X, say /dev/sdb1? > > > > You mean: the file is as raw data on the device? Or whithin a file > > system there? > > I mean within a file system. > > I specify what I want by entering the following at the boot prompt: > > expert auto file=/media/preseed.cfg > > Which tells d-i I want to use a specific file within a specific > directory. So far so good. > > That directory is the root of /dev/sdb1. Unfortunately, d-i finds a > partition at /dev/sdaX, mounts that, and (rightly) reports no preseed > file. Oops. > > I'd like either > > a) to specify which partition the preseed file is on (/dev/sdb1 in this > case), or
It is what d-i sees the partition as that is important and you do know in advance. That's problem 1. Problem 2 is that the hard disk partitions are probably ext4. At the opening stage of d-i I do not think ext4 drivers are available. The awkward techniwue appears to be indicated. > b) have d-i sample partitions until it finds a file of that name in the > root directory of a partition. I do not think thta would be easy to do. -- Brian.