Return to site

Install Mikrotik From Usb Stick

broken image


Netinstall is a tool designed for Windows operating systems to reinstall MikroTik devices running RouterOS. Always try using Netinstall if you suspect that your device is not working properly.

  1. Install Mikrotik From Usb Stick Usb
  2. Install Mikrotik From Usb Stick Adapter
  3. Install Mikrotik From Usb Stick On
  4. Install Mikrotik From Usb Drive

In short, the Netinstall procedure goes like this: Connect your PC directly to the ETH1 port (Usually Ether1, the port labeled BOOT or as otherwise indicated in the product manual) of the device you will be reinstalling. Turn on the device while holding the reset button until it shows up in the Netinstall tool.

To install the RouterOS on the USB you can use CD-Install or Netinstall from the latest versions of the RouterOS (starting form v3.0rc5). Also it is possible to attach that USB drive to a Windows computer and copy the RouterOS installation files using Netinstall to the USB drive and when booting this USB drive it would install the RouterOS on it. Now, we're looking at a 3g / 4g modem to the USB port on the Mikrotik, to check the USB port and see if it recognized the modem. Default comes as int PPP-out and is in disable mode. After you connect with winbox to enable, you are enabling interface PPP-out. This version install Mikrotik on USB, I tried many options but unfortunatly without result. RouterOS will be installed on USB wuthout problem but I need on x86. I have a server maybe the problem is in HDD Controler. I will try to change option on HDD controler. Maybe UEFI is the problem. Srdjan Stanisic Mikrotik booting PC from USB stick, how-to, Mikrotik, RouterOS, RouterOS on stick, using USB flash as a PC disk drive MikroTik RouterOS is based on Linux. Following that fact and knowing that Linux has the live USB versions, I decided to try to install RouterOS on a USB flash drive. To install the RouterOS on the USB you can use CD-Install or Netinstall from the latest versions of the RouterOS (starting form v3.0rc5). Also it is possible to attach that USB drive to a Windows computer and copy the RouterOS installation files using Netinstall to the USB drive and when booting this USB drive it would install the RouterOS on it.

Careful. Netinstall re-formats the system's drive, all configuration and saved files will be lost. Netinstall does not erase the RouterOS license key, nor does it reset RouterBOOT related settings, for example, CPU frequency is not changed after reinstalling the device.

  • DownloadNetinstallfrom thedownloadspage. If you are not sure which version you need, then you can always select the version that is marked asCurrent(stable);
  • Download the RouterOSMain packagefrom the downloadspage;

    You must choose a RouterOS version. You can always select the version that is marked asCurrent. You must also select the architecture (ARM, MIPS, SMIPS, TILE, etc...), but if you are not sure, then you can download the RouterOS package forALLarchitectures, Netinstall will choose the right architecture for you.

  • Disconnect your computer from WiFi, Ethernet, LTE or any other type of connections! Netinstall will only work on one active interface on your computer, it is highly recommended that you disconnect any other network interfaces in order to be sure that Netinstall will select the right network interface.

  • Configure a static IP address for your Ethernet interface, openStartand selectSettings:

Netinstall can run also on a local network, in such case you could skip setting a static IP address, but it is highly recommended that you set a static IP address if you are not familiar with Netinstall.

  • OpenNetwork & Internet and selectChange adapter options
  • Right-click on your Ethernet interface and selectProperties
  • SelectInternet Protocol Version 4 (TCP/IPv4)and clickProperties
  • Check Use the following IP address and fill out the fields as shown in the image below

If you have a working router, then you can use it and skip the setting up a static IP part of this tutorial, but it requires you to know your LAN address since you will need to specify an unused IP address in your network for the network boot server. For this reason it is recommended to apply a static IP address and follow this guide precisely, if you are not sure how to get these parameters out of your network.

  • Open your Downloads folder (or wherever you saved the downloaded files) and extract the Netinstall .zip file to a convenient place
  • Run Netinstall.exe. If you followed the guide precisely, then you should not have any Internet connection on your computer, Windows 10 wants to verify all apps that it runs, but will not be able to do it since lack of the Internet connection, for this reason, a warning might pop up, you should clickRun.

Netinstall requires administrator rights, there should be a window asking for permissions to run Netinstall, you must accept these permissions in order for Netinstall to work properly.

  • Allow access for Netinstall inPublicnetworks and configureNet bootingsettings and fill out the required fields as shown in the image below
The Client IP address must be unique! Don't use an existing IP address in your network, this also means that you should not use the computer's IP address as well. Use a completely different IP address from the same subnet.
  • Connect your device to your computer using an ethernet cable directly (without any other devices in-between), plug the Ethernet cable into your device's Etherboot port.
  • MikroTik devices are able to use Netinstall from their first port (Ether1), or from the port marked with 'BOOT'.



Install Mikrotik From Usb Stick Usb

Some computers have a network interface (especially USB Ethernet adapters) that tend to create an extra link flap, which is enough for Netinstall to fail to detect a device that is in Etherboot mode. In such a case you can use a switch between your device and your computer or a router in bridge mode to prevent this issue.

  • Power up your device and put it into etherbootmode

Install Mikrotik From Usb Stick Adapter

Install mikrotik from usb stick adapter

There are multiple ways how to put your device into Etherboot mode. Make sure you read theEtherbootmanual before trying to put the device into this mode. Methods vary between different MikroTik devices.

  • Wait for the device to show up in Netinstall, select it and pressBrowse. Navigate to yourDownloadsfolder (or wherever you saved your RouterOS packages) and pressOK
  • Select your desired RouterOS version and pressInstall. Wait for the installation to finish and press 'Reboot' (Devices without serial console have to be rebooted manually)

If you downloaded RouterOS packages for multiple architectures, then Netinstall will only show the appropriate architecture packages for your device after you have selected it. All unsupported packages will not show up in this window after you have selected a device.

If the installation does not start (progress bar is not moving or no status is shown), then you can try closing the Netinstall application and opening it up again or try to put the device intoEtherbootmode again. If you are still unable to get Netinstall working, then you should try using it on a different computer since there might be an operating system's issue that is preventing Netinstall from working properly.

  • You are done! Remove the device from power, remove the Ethernet cable, place the device back in your network and your device should be running properly now!

After using Netinstall the device will be reset to defaults (unless you specified not to apply default configuration). Some devices are not accessible throughether1port with the default configuration for security reasons. Read more aboutDefault configuration.

Stick

There are multiple ways how to put your device into Etherboot mode. Make sure you read theEtherbootmanual before trying to put the device into this mode. Methods vary between different MikroTik devices.

  • Wait for the device to show up in Netinstall, select it and pressBrowse. Navigate to yourDownloadsfolder (or wherever you saved your RouterOS packages) and pressOK
  • Select your desired RouterOS version and pressInstall. Wait for the installation to finish and press 'Reboot' (Devices without serial console have to be rebooted manually)

If you downloaded RouterOS packages for multiple architectures, then Netinstall will only show the appropriate architecture packages for your device after you have selected it. All unsupported packages will not show up in this window after you have selected a device.

If the installation does not start (progress bar is not moving or no status is shown), then you can try closing the Netinstall application and opening it up again or try to put the device intoEtherbootmode again. If you are still unable to get Netinstall working, then you should try using it on a different computer since there might be an operating system's issue that is preventing Netinstall from working properly.

  • You are done! Remove the device from power, remove the Ethernet cable, place the device back in your network and your device should be running properly now!

After using Netinstall the device will be reset to defaults (unless you specified not to apply default configuration). Some devices are not accessible throughether1port with the default configuration for security reasons. Read more aboutDefault configuration.

When using theConfigure scriptoption, it is suggested to introduce a delaybefore configuration execution.

Etherboot mode is a special state for a MikroTik device that allows you to reinstall your device usingNetinstall. There are several ways to put your device into Etherboot mode depending on the device you are using.

Reset button

TheResetcan be found on all MikroTik devices, this button can be used to put the device into Etherboot mode. An easy way to put a device into Etherboot mode using theResetbutton is by powering off the device, hold theResetbutton, power on the device while holding theResetbutton and keep holding it until the device shows up in yourNetinstalllwindow.

If you have set up a Protected bootloader, then the reset button's behavior is changed. Make sure you remember the settings you used to set up the Protected bootloader, otherwise you will not be able to use Eterboot mode and will not be able to reset your device.

Install Mikrotik From Usb Stick On

RouterOS

If your device is able to boot up and you are able to log in, then you can easily put the device into Etherboot mode. To do so, just connect to your device and execute the following command:

Install Mikrotik From Usb Drive


After that either reboot the device or do a power cycle on the device. Next time the device will boot up, then it will first try going into Etherboot mode. Note that after the first boot up, the device will not try going into Etherboot mode and will boot directly of NAND or of the storage type the device is using.

Serial console

Some devices come with a serial console that can be used to put the device into Etherboot mode. To do so, make sure you configure your computer's serial console. The required parameters for all MikroTik devices (except for RouterBOARD 230 series) are as following:

For RouterBOARD 230 series devices the parameters are as following:

Make sure you are using a proper null modem cable, you can find the proper pinouthere. When the device is booting up, keep pressingCTRL+Eon your keyboard until the device shows that it istrying bootp protocol:

At this point your device is in Etherboot mode, now the device should show up in your Netinstall window.





broken image