Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #255933 > unrolled thread

Debian Installer: Specifying the preseed file device?

Started byCharles Curley <charlescurley@charlescurley.com>
First post2023-03-12 23:20 +0100
Last post2023-03-13 19:00 +0100
Articles 12 — 7 participants

Back to article view | Back to linux.debian.user


Contents

  Debian Installer: Specifying the preseed file device? Charles Curley <charlescurley@charlescurley.com> - 2023-03-12 23:20 +0100
    Re: Debian Installer: Specifying the preseed file device? john doe <johndoe65534@mail.com> - 2023-03-13 08:00 +0100
      Re: Debian Installer: Specifying the preseed file device? Luna Jernberg <droidbittin@gmail.com> - 2023-03-13 08:00 +0100
    Re: Debian Installer: Specifying the preseed file device? <tomas@tuxteam.de> - 2023-03-13 08:20 +0100
      Re: Debian Installer: Specifying the preseed file device? Charles Curley <charlescurley@charlescurley.com> - 2023-03-13 15:10 +0100
        Re: Debian Installer: Specifying the preseed file device? Brian <ad44@cityscape.co.uk> - 2023-03-13 16:00 +0100
          Re: Debian Installer: Specifying the preseed file device? Charles Curley <charlescurley@charlescurley.com> - 2023-03-13 17:20 +0100
            Re: Debian Installer: Specifying the preseed file device? Mario Marietto <marietto2008@gmail.com> - 2023-03-13 17:40 +0100
              Ubuntu bug and Grub query on Debian 11 [WAS Re: Debian Installer:  Specifying the preseed file device?] "Andrew M.A. Cater" <amacater@einval.com> - 2023-03-13 18:30 +0100
            Re: Debian Installer: Specifying the preseed file device? Brian <ad44@cityscape.co.uk> - 2023-03-13 17:40 +0100
              Re: Debian Installer: Specifying the preseed file device? Charles Curley <charlescurley@charlescurley.com> - 2023-03-13 18:00 +0100
                Re: Debian Installer: Specifying the preseed file device? Brian <ad44@cityscape.co.uk> - 2023-03-13 19:00 +0100

#255933 — Debian Installer: Specifying the preseed file device?

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-03-12 23:20 +0100
SubjectDebian Installer: Specifying the preseed file device?
Message-ID<G8CcO-c3we-3@gated-at.bofh.it>
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/

[toc] | [next] | [standalone]


#255952

Fromjohn doe <johndoe65534@mail.com>
Date2023-03-13 08:00 +0100
Message-ID<G8Kk1-c8HH-3@gated-at.bofh.it>
In reply to#255933
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

[toc] | [prev] | [next] | [standalone]


#255953

FromLuna Jernberg <droidbittin@gmail.com>
Date2023-03-13 08:00 +0100
Message-ID<G8Kk1-c8HH-7@gated-at.bofh.it>
In reply to#255952
*forwards to debian-boot *

On 3/13/23, john doe <johndoe65534@mail.com> 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
>
>

[toc] | [prev] | [next] | [standalone]


#255956

From<tomas@tuxteam.de>
Date2023-03-13 08:20 +0100
Message-ID<G8KDn-c940-7@gated-at.bofh.it>
In reply to#255933

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [next] | [standalone]


#255973

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-03-13 15:10 +0100
Message-ID<G8R29-cdbN-3@gated-at.bofh.it>
In reply to#255956

[Multipart message — attachments visible in raw view] — view raw

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

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/

[toc] | [prev] | [next] | [standalone]


#255977

FromBrian <ad44@cityscape.co.uk>
Date2023-03-13 16:00 +0100
Message-ID<G8ROx-cdtW-1@gated-at.bofh.it>
In reply to#255973
On Mon 13 Mar 2023 at 08:01:51 -0600, Charles Curley wrote:

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

[toc] | [prev] | [next] | [standalone]


#255979

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-03-13 17:20 +0100
Message-ID<G8T3X-cepI-5@gated-at.bofh.it>
In reply to#255977
On Mon, 13 Mar 2023 14:58:08 +0000
Brian <ad44@cityscape.co.uk> 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/

[toc] | [prev] | [next] | [standalone]


#255981

FromMario Marietto <marietto2008@gmail.com>
Date2023-03-13 17:40 +0100
Message-ID<G8Tnj-cew6-5@gated-at.bofh.it>
In reply to#255979

[Multipart message — attachments visible in raw view] — view raw

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 <
charlescurley@charlescurley.com> wrote:

> On Mon, 13 Mar 2023 14:58:08 +0000
> Brian <ad44@cityscape.co.uk> 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.

[toc] | [prev] | [next] | [standalone]


#255986 — Ubuntu bug and Grub query on Debian 11 [WAS Re: Debian Installer: Specifying the preseed file device?]

From"Andrew M.A. Cater" <amacater@einval.com>
Date2023-03-13 18:30 +0100
SubjectUbuntu bug and Grub query on Debian 11 [WAS Re: Debian Installer: Specifying the preseed file device?]
Message-ID<G8U9H-cf2E-5@gated-at.bofh.it>
In reply to#255981
On Mon, Mar 13, 2023 at 05:31:14PM +0100, Mario Marietto wrote:
> 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.
> 

Hi Mario,

That's an Ubuntu bug on Ubuntu which has been fixed recently in Ubuntu.
Ubuntu does things differently - I can't give you any advice for fixing
Ubuntu beyond a good guess.

Which machine is this - maker?

Can you give more details of _which_ Debian installer you used - i386 / amd64?

How recently did you install? 

Did the machine fail to boot immediately?

If you try to mix Debian and Ubuntu packages, we cannot help you reliably -
see https://wiki.debian.org/DontBreakDebian

It would also have been helpful if you could have started a new thread -
this is a different subject from the original.

With every good wish, as ever,

Andy Cater
> On Mon, Mar 13, 2023 at 5:19 PM Charles Curley <
> charlescurley@charlescurley.com> wrote:
> 
> > On Mon, 13 Mar 2023 14:58:08 +0000
> > Brian <ad44@cityscape.co.uk> 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.

[toc] | [prev] | [next] | [standalone]


#255982

FromBrian <ad44@cityscape.co.uk>
Date2023-03-13 17:40 +0100
Message-ID<G8Tnj-cew6-3@gated-at.bofh.it>
In reply to#255979
On Mon 13 Mar 2023 at 10:18:37 -0600, Charles Curley wrote:

> On Mon, 13 Mar 2023 14:58:08 +0000
> Brian <ad44@cityscape.co.uk> 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.

[toc] | [prev] | [next] | [standalone]


#255983

FromCharles Curley <charlescurley@charlescurley.com>
Date2023-03-13 18:00 +0100
Message-ID<G8TGG-ceCY-3@gated-at.bofh.it>
In reply to#255982
On Mon, 13 Mar 2023 16:36:11 +0000
Brian <ad44@cityscape.co.uk> 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/

[toc] | [prev] | [next] | [standalone]


#255988

FromBrian <ad44@cityscape.co.uk>
Date2023-03-13 19:00 +0100
Message-ID<G8UCJ-cfdb-5@gated-at.bofh.it>
In reply to#255983
On Mon 13 Mar 2023 at 10:53:09 -0600, Charles Curley wrote:

> On Mon, 13 Mar 2023 16:36:11 +0000
> Brian <ad44@cityscape.co.uk> wrote:
> 
> > That still leaves the first problem. How do you fancy running
> > everything from a USB stick?
> 
> Not really, but that might work. Thanks.

The method described at

  https://wiki.debian.org/Installation+Archive+USBStick

should be adaptable to your situation. The partition holdin
the initrd is mounted on /hd-media. preseed.cfg would be
automatically found if it is on the same partition.

-- 
Brian.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web