Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Charles Curley
On Mon, 13 Mar 2023 16:36:11 +
Brian  wrote:

> That still leaves the first problem. How do you fancy running
> everything from a USB stick?

Not really, but that might work. Thanks.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Brian
On Mon 13 Mar 2023 at 10:18:37 -0600, Charles Curley wrote:

> On Mon, 13 Mar 2023 14:58:08 +
> Brian  wrote:
> 
> > 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.
> 
> Both partitions are FAT.

That still leaves the first problem. How do you fancy running
everything from a USB stick?

-- 
Brian.



Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Mario Marietto
Hello to every Debian user.

I've just installed Debian 11 and I see that it is affected by the bug
explained here :

https://bugs.launchpad.net/oem-priority/+bug/1842320

I see that the bug has been fixed on Ubuntu. Do you confirm that,to fix
it,I just need to install the package
"grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg -i
grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or I just need to
do something else ? thanks.

On Mon, Mar 13, 2023 at 5:19 PM Charles Curley <
charlescur...@charlescurley.com> wrote:

> On Mon, 13 Mar 2023 14:58:08 +
> Brian  wrote:
>
> > 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.
>
> Both partitions are FAT.
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>
>

-- 
Mario.


Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Charles Curley
On Mon, 13 Mar 2023 14:58:08 +
Brian  wrote:

> 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.

Both partitions are FAT.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Brian
On Mon 13 Mar 2023 at 08:01:51 -0600, Charles Curley wrote:

> On Mon, 13 Mar 2023 08:19:26 +0100
>  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.




Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Charles Curley
On Mon, 13 Mar 2023 08:19:26 +0100
 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

b) have d-i sample partitions until it finds a file of that name in the
root directory of a partition.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


pgp5IQUoVaaRN.pgp
Description: OpenPGP digital signature


Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread tomas
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?

> Does anybody read signatures any more?

Yes, sometimes.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread Luna Jernberg
*forwards to debian-boot *

On 3/13/23, john doe  wrote:
> On 3/12/23 23:08, 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?
>>
>>
>
> This is not an answer to your question and this  is more appropreate for
> debian-boot.
>
> I'll always use the network if I can! :)
>
> --
> John Doe
>
>



Re: Debian Installer: Specifying the preseed file device?

2023-03-13 Thread john doe

On 3/12/23 23:08, 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?




This is not an answer to your question and this  is more appropreate for
debian-boot.

I'll always use the network if I can! :)

--
John Doe



Debian Installer: Specifying the preseed file device?

2023-03-12 Thread Charles Curley
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?

Once d-i is booted and in the installation menu, I can activate a
console, manually umount the incorrect partition, and manually mount
the correct one. But that's a bit awkward.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/