Page MenuHomeVyOS Platform

Cannot install from ISO via serial console on ttyS1
Resolved (N/A)Public


Netgate make some appliances that would be perfect VyOS routers, except that it's not possible to install on them. The root problem is that, since the only console is on the second serial port, and VyOS doesn't start a getty on that port, there's no way to interact with the installer once you boot up from the ISO.

See thread

I believe that one change would make this possible: Add a line to the installer's inittab that starts a getty on ttyS1 (in addition to the one on ttyS0).

Another thing that would help a bit would be to add a hint to the grub menus suggesting booting with 'live-console console=ttyS1,115200n8' on these boxes, consistent with the hints for some other hardware.


Difficulty level
Easy (less than an hour)
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

syncer triaged this task as Normal priority.Aug 6 2016, 10:16 AM
syncer added a project: VyOS 1.1.x (1.1.8).
syncer added subscribers: mickvav, Unknown Object (User), EwaldvanGeffen and 5 others.

@UnicronNL @EwaldvanGeffen @dmbaturin @afics @mickvav
How would we treat that all devices?
@dmbaturin proposed to build per device images with customizations required
As @UnicronNL already doing that for ClearFog we just need to agree common way maybe

It should be safe to start a getty on ttyS1 (in addition to the one on ttyS0) for all devices, shouldn't it? Even on devices that don't have a ttyS1 (or even a ttyS0), that shouldn't cause any failures.

Recent dev builds on the current (lithium) branch don't need to be told which port is the console; systemd is able to figure it out, and spawns the correct getty processes.

I haven't tried re-running the installer from a recent ISO images, but it's possible that this now works. (Modulo the related problem described in T169.)

I'll update this bug when I get a chance to test it.

syncer changed the task status from Open to On hold.Oct 13 2018, 10:26 AM
syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc4); removed VyOS 1.2 Crux.

requires testing with latest rolling

erkin set Is it a breaking change? to Unspecified (possibly destroys the router).Sep 1 2021, 10:57 AM
erkin set Issue type to Bug (incorrect behavior).
Viacheslav claimed this task.
Viacheslav subscribed.

There are no responses from the author.
Reopen it if it sill bug

Viacheslav changed the task status from Resolved to Resolved N/A.Jan 20 2024, 1:08 AM