Can I install VyOS on Linux system directly?

vyos
installation

#1

Hi, I would like to know how can I install VyOS software on Linux Debian system directly? other than build VyOS ISO image in a Virtual Machine environment?

In other words, I want this Linux host running as a real router like Cisco or Juniper black box.
Any suggestion?

Kind Regards,
Sam


#2

I remember someone has answered this question in 3 months ago in other Post in this forum, but don’t know why the owner changed the forum style, and pretty sure the posts were deleted.


#3

This sounds like two questions rather than one. :wink:

I feel like the real question is whether you can run VyOS on bare metal, and the answer is yes, you can. If you already have another Linux distro installed on that box, it should run VyOS just fine too.
Boot it from the VyOS livecd (or make a liveusb from it), login with “vyos/vyos”, run the “install image” command and reboot. The installer will reformat the drive though so make sure you save everything valuable from the old Linux installation.

If the issue is that you cannot boot that box from a livecd/liveusb, then there are two options. If the box has a removable drive, you can connect the drive to another (possibly virtual) machine, install VyOS on it, and put it back in that box. You may want to boot the temporary machine from the drive and adjust the config of course, e.g. serial console or network settings.

If the box has the flash soldered to the board, it’s more complicated, but still doable. You can make an image of a drive with installed VyOS, boot the box from USB or network, and dd the image to its flash drive. I’ve done that with my netgate box.

The answer to the first question, taken literally is “it’s complicated”. We build a number of packages that are also present in Debian apart from adding new ones, so it’s more a debian-based distro than a debian-based appliance. Our image build procedure now uses standard Jessie repos together with our own though, so technically if you put enough effort into it, you can turn a Debian Jessie into something that will look a lot like VyOS. The main issue is our binary install and image upgrade system. I think we have already removed the last bits of support for legacy non-image installations, so upgrading such a makeshift VyOS may prove very hard.


#4

@sarami We are not Vyatta/Brocade. :wink:
The posts from the old forum have been migrated to the new one (and it’s not a style change, the forum software was changed to Discourse from MyBB).

If you spot migration problems, we still have the old forum database so it should be possible to check it — just make sure the problem really exists.


#5

You can run the VyOS ISO image on physical hardware. You are not required to use VM Environment