Re: How to start Preseed installation on UEFI computer?

2022-06-15 Thread Hans
> Steve wrote:
>
> 3. Move the cursor to near the end of the line, before the "---"
> separator and add any extra command line options you need there.
>

After too many trials and errors I found that the following two variables / 
kernel parameters do the trick:

auto=true

url=http://example.com/my-preseed.cfg

* https://pasteboard.co/HB4yjvB9mFfV.png

In future I might try to modify Debian ISO and change the default GRUB config 
so the only thing needed is to boot it and it'll install OS.

Thank very much.

Hans



Re: How to start Preseed installation on UEFI computer?

2022-06-08 Thread Steve McIntyre
Hans wrote:
>Steve wrote:
>>
>> If you hit E, that will let you edit the currently-loaded grub
>> config so you can append preseed and other options.
>
>I thought about that since hit all keys trying to get to cmd prompt
>like when booting from BIOS. But I didn't find any documentation /
>example what needs to be edited / added. Could you please point me to
>some example? I literally just need "auto https://"; and maybe an
>option for serial output instead of VGA but that's just an optional
>bonus ;-).

Ah, sorry. It looks like we maybe don't have clear enough docs here.

1. On the grub menu, use the cursor keys to select the menu entry you
   want to edit, and press the E key.

2. Move the cursor down 3 lines to find the command line for the kernel.
   This is the line starting with "linux".

3. Move the cursor to near the end of the line, *before* the "---"
   separator and add any extra command line options you need there.

4. Hit Ctrl-x or F10 to boot

As mentioned separately, you'll probably want to do this starting with
the "Advanced Options ..." / "... Automated install" boot option.

OK? Hope that helps...

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"We're the technical experts.  We were hired so that management could
 ignore our recommendations and tell us how to do our jobs."  -- Mike Andrews



Re: How to start Preseed installation on UEFI computer?

2022-06-07 Thread Hans
> Hans wrote:
>
> > Dear Debian Users and Maintainers,
> >
> > I want to automate Debian installation using Preseed. I started with baby 
> > steps creating a preseed file installing
> > Debian on VM. All good.
> >
> > Then I continued with my actual goal to install Debian on a server / laptop 
> > and I hit a problem... I don't know how
> > to start the Pressed installation on UEFI hardware.
> >
> > When I boot ISO on a BIOS virtual machine I get this screen:
> >
> > https://pasteboard.co/nnvxHDvOZP6C.png
> >
> > I hit Esc and type "auto path-to-the-file":
> >
> > https://pasteboard.co/gXpsslGWHx9L.png
> >
> > And it Debian gets installed.
> >
> > But when I boot UEFI I get this screen:
> >
> > https://pasteboard.co/a0E0HDUlMq6G.png
> >
> > And Esc doesn't do anything...
> >
> > Could you please tell how to start Preseed installation when booting UEFI?
>
>
> If you hit E, that will let you edit the currently-loaded grub
> config so you can append preseed and other options.

I thought about that since hit all keys trying to get to cmd prompt like when 
booting from BIOS. But I didn't find any documentation / example what needs to 
be edited / added. Could you please point me to some example? I literally just 
need "auto https://"; and maybe an option for serial output instead of VGA 
but that's just an optional bonus ;-).

Thank you Steve.



Re: How to start Preseed installation on UEFI computer?

2022-06-07 Thread Hans
> On 2022-06-06, Hans hans.str...@protonmail.com wrote:
>
> > Dear Debian Users and Maintainers,
> >
> > I want to automate Debian installation using Preseed. I started with baby 
> > steps creating a preseed file installing Debian on VM. All good.
> >
> > Then I continued with my actual goal to install Debian on a server / laptop 
> > and I hit a problem... I don't know how to start the Pressed installation 
> > on UEFI hardware.
> >
> > When I boot ISO on a BIOS virtual machine I get this screen:
> >
> > https://pasteboard.co/nnvxHDvOZP6C.png
> >
> > I hit Esc and type "auto path-to-the-file":
> >
> > https://pasteboard.co/gXpsslGWHx9L.png
> >
> > And it Debian gets installed.
> >
> > But when I boot UEFI I get this screen:
> >
> > https://pasteboard.co/a0E0HDUlMq6G.png
> >
> > And Esc doesn't do anything...
> >
> > Could you please tell how to start Preseed installation when booting UEFI?
> >
> > Thank you.
> >
> > Kind regards,
> >
> > Hans
>
>
> I'm reading the following:
>
> The “Advanced options” entry gives access to a second menu that allows
> to boot the installer in expert mode, in rescue mode and for automated
> installs.
>
>
> https://www.debian.org/releases/bullseye/amd64/ch05s01.en.html
>
> Maybe your cat can be skinned in another manner.

The Automated option in Advanced actually asks for preseed so that's good 
enough for now for testing. Thank you ;-).



Re: How to start Preseed installation on UEFI computer?

2022-06-06 Thread Steve McIntyre
Hans wrote:
>
>Dear Debian Users and Maintainers,
>
>I want to automate Debian installation using Preseed. I started with baby 
>steps creating a preseed file installing
>Debian on VM. All good.
>
>Then I continued with my actual goal to install Debian on a server / laptop 
>and I hit a problem... I don't know how
>to start the Pressed installation on UEFI hardware.
>
>When I boot ISO on a BIOS virtual machine I get this screen:
>
>https://pasteboard.co/nnvxHDvOZP6C.png
>
>I hit Esc and type "auto path-to-the-file":
>
>https://pasteboard.co/gXpsslGWHx9L.png
>
>And it Debian gets installed.
>
>But when I boot UEFI I get this screen:
>
>https://pasteboard.co/a0E0HDUlMq6G.png
>
>And Esc doesn't do anything...
>
>Could you please tell how to start Preseed installation when booting UEFI?

If you hit E, that will let you edit the currently-loaded grub
config so you can append preseed and other options.

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"We're the technical experts.  We were hired so that management could
 ignore our recommendations and tell us how to do our jobs."  -- Mike Andrews



Re: How to start Preseed installation on UEFI computer?

2022-06-06 Thread Curt
On 2022-06-06, Hans  wrote:
> Dear Debian Users and Maintainers,
>
> I want to automate Debian installation using Preseed. I started with baby 
> steps creating a preseed file installing Debian on VM. All good.
>
> Then I continued with my actual goal to install Debian on a server / laptop 
> and I hit a problem... I don't know how to start the Pressed installation on 
> UEFI hardware.
>
> When I boot ISO on a BIOS virtual machine I get this screen:
>
> https://pasteboard.co/nnvxHDvOZP6C.png
>
> I hit Esc and type "auto path-to-the-file":
>
> https://pasteboard.co/gXpsslGWHx9L.png
>
> And it Debian gets installed.
>
> But when I boot UEFI I get this screen:
>
> https://pasteboard.co/a0E0HDUlMq6G.png
>
> And Esc doesn't do anything...
>
> Could you please tell how to start Preseed installation when booting UEFI?
>
> Thank you.
>
> Kind regards,
>
> Hans
>
>

I'm reading the following:

 The “Advanced options” entry gives access to a second menu that allows
 to boot the installer in expert mode, in rescue mode and for automated
 installs.


https://www.debian.org/releases/bullseye/amd64/ch05s01.en.html

Maybe your cat can be skinned in another manner.

-