public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] iDRAC, virtual serial console, boot log.
@ 2022-07-14 10:19 Marco Gaiarin
  2022-07-14 12:06 ` Stoiko Ivanov
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Gaiarin @ 2022-07-14 10:19 UTC (permalink / raw)
  To: pve-user


I come back on this topic, because i need some clarification.

I was used (on iLO, indeed, but is the same) to have virtual serial console
on ssh, enabled on all boot phase (POST, boot loader, kernel boot, logon).

I'm trying to enable it on a PVE6 on a dell PowerEdge T440 server, and i can
access POST, boot loader and logon. I've lost kernel boot, that is indeed a
useful thing. ;-)

With GRUB i was used to add to /etc/default/grub (and i've tried also in
systemd-bootd, with no luck):

	GRUB_TERMINAL="console serial"
	GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"

how can i set console in systemd-boot?!


Thanks.

-- 
  chi si convertiva nel novanta
  ne era dispensato nel novantuno			(F. De Andre`)





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] iDRAC, virtual serial console, boot log.
  2022-07-14 10:19 [PVE-User] iDRAC, virtual serial console, boot log Marco Gaiarin
@ 2022-07-14 12:06 ` Stoiko Ivanov
  2022-07-14 13:17   ` Marco Gaiarin
  0 siblings, 1 reply; 6+ messages in thread
From: Stoiko Ivanov @ 2022-07-14 12:06 UTC (permalink / raw)
  To: Marco Gaiarin; +Cc: Proxmox VE user list

hi,

On Thu, 14 Jul 2022 12:19:37 +0200
Marco Gaiarin <gaio@lilliput.linux.it> wrote:
> 
> how can i set console in systemd-boot?!

this should work out of the box - no special config needed
(at least it does on a R630 I run, and a virtual machine I just tested it
with)

I hope this helps!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] iDRAC, virtual serial console, boot log.
  2022-07-14 12:06 ` Stoiko Ivanov
@ 2022-07-14 13:17   ` Marco Gaiarin
  2022-07-14 13:28     ` Uwe Sauter
  2022-07-14 13:58     ` Stoiko Ivanov
  0 siblings, 2 replies; 6+ messages in thread
From: Marco Gaiarin @ 2022-07-14 13:17 UTC (permalink / raw)
  To: Stoiko Ivanov; +Cc: Marco Gaiarin, Proxmox VE user list

Mandi! Stoiko Ivanov
  In chel di` si favelave...

> > how can i set console in systemd-boot?!
> this should work out of the box - no special config needed
> (at least it does on a R630 I run, and a virtual machine I just tested it
> with)
> I hope this helps!

It does not. As just stated, i see on serial console the bios messages,
then the boot loader countdown, then nothing for some seconds and then
the issue/login.

If i run on the same time the HTML5 console, i can see all the
kernel/systemd cheatchat.

-- 
Marco ``Gaio'' Gaiarin	 | Pordenone Linux User Group  (https://www.pnlug.it/)
P.zza S. Tommaso, 20	 | Lilliput BBS         (http://bbs.lilliput.linux.it)
Cimpello di Fiume Veneto | Azione Cattolica - Concordia-Pordenone
33080 Pordenone (Italia) |                     (https://www.acconcordiapn.it/)
Tel.   +39-0434-56-1305  | Mastodon:@marcogaio@sociale.network   gaio@linux.it




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] iDRAC, virtual serial console, boot log.
  2022-07-14 13:17   ` Marco Gaiarin
@ 2022-07-14 13:28     ` Uwe Sauter
  2022-07-18 13:47       ` Marco Gaiarin
  2022-07-14 13:58     ` Stoiko Ivanov
  1 sibling, 1 reply; 6+ messages in thread
From: Uwe Sauter @ 2022-07-14 13:28 UTC (permalink / raw)
  To: pve-user

See https://pve.proxmox.com/wiki/Host_Bootloader

Edit /etc/kernel/cmdline and add appropriate parameters (e.g. console=tty console=ttyS0,115200n8),
then run "proxmox-boot-tool refresh".


Regards,

	Uwe


Am 14.07.22 um 15:17 schrieb Marco Gaiarin:
> Mandi! Stoiko Ivanov
>   In chel di` si favelave...
> 
>>> how can i set console in systemd-boot?!
>> this should work out of the box - no special config needed
>> (at least it does on a R630 I run, and a virtual machine I just tested it
>> with)
>> I hope this helps!
> 
> It does not. As just stated, i see on serial console the bios messages,
> then the boot loader countdown, then nothing for some seconds and then
> the issue/login.
> 
> If i run on the same time the HTML5 console, i can see all the
> kernel/systemd cheatchat.
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] iDRAC, virtual serial console, boot log.
  2022-07-14 13:17   ` Marco Gaiarin
  2022-07-14 13:28     ` Uwe Sauter
@ 2022-07-14 13:58     ` Stoiko Ivanov
  1 sibling, 0 replies; 6+ messages in thread
From: Stoiko Ivanov @ 2022-07-14 13:58 UTC (permalink / raw)
  To: Marco Gaiarin; +Cc: Proxmox VE user list

On Thu, 14 Jul 2022 15:17:55 +0200
Marco Gaiarin <gaio@lilliput.linux.it> wrote:

> Mandi! Stoiko Ivanov
>   In chel di` si favelave...
> 
> > > how can i set console in systemd-boot?!  
> > this should work out of the box - no special config needed
> > (at least it does on a R630 I run, and a virtual machine I just tested it
> > with)
> > I hope this helps!  
> 
> It does not. As just stated, i see on serial console the bios messages,
> then the boot loader countdown, then nothing for some seconds and then
> the issue/login.
Sorry for the misunderstanding - I read that systemd-boot does not show
anything - but the boot-loader countdown is what systemd-boot displays -
so that part is working.

the part that seems missing from your explanation is the kernel-output -
As the others in the thread suggested - you need to adapt the kernel
commandline for this - /etc/kernel/cmdline (for systemd-boot):
https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysboot_edit_kernel_cmdline

and configure the console= to point to the correct serial terminal - see
e.g.
https://wiki.archlinux.org/title/working_with_the_serial_console#Kernel


> 
> If i run on the same time the HTML5 console, i can see all the
> kernel/systemd cheatchat.
> 

I hope this helps!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PVE-User] iDRAC, virtual serial console, boot log.
  2022-07-14 13:28     ` Uwe Sauter
@ 2022-07-18 13:47       ` Marco Gaiarin
  0 siblings, 0 replies; 6+ messages in thread
From: Marco Gaiarin @ 2022-07-18 13:47 UTC (permalink / raw)
  To: Uwe Sauter; +Cc: pve-user

Mandi! Uwe Sauter
  In chel di` si favelave...

> See https://pve.proxmox.com/wiki/Host_Bootloader
> Edit /etc/kernel/cmdline and add appropriate parameters (e.g. console=tty console=ttyS0,115200n8),
> then run "proxmox-boot-tool refresh".

Bingo! Thanks!!!

-- 
  Il ministro dei temporali in un tripudio di tromboni
  auspicava democrazia con la tovaglia sulle mani
  e le mani sui coglioni				(F. De Andre`)





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-18 21:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 10:19 [PVE-User] iDRAC, virtual serial console, boot log Marco Gaiarin
2022-07-14 12:06 ` Stoiko Ivanov
2022-07-14 13:17   ` Marco Gaiarin
2022-07-14 13:28     ` Uwe Sauter
2022-07-18 13:47       ` Marco Gaiarin
2022-07-14 13:58     ` Stoiko Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal