Community discussions

MikroTik App
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

ask [main/backup loader]

Thu Nov 26, 2020 10:43 pm

is my concept correct:

i noted that my main booter is corrupted and i want to switch over to backup loader.

for this purpose , the only thing to do is
1.
/system routerboard settings set force-backup-booter=yes
2.
system reboot yes

and then will run on backup mode.

is that correct?
 
msatter
Forum Guru
Forum Guru
Posts: 2897
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: ask [main/backup loader]

Fri Nov 27, 2020 12:25 am

You signature is outdated. viewtopic.php?f=9&t=169030

On your question: https://help.mikrotik.com/docs/display/ROS/RouterBOARD

If to use the backup RouterBOOT. This is only useful if the main loader has become corrupted somehow and cannot be fixed. So that you don't have to boot the device with a pushed reset button (which loads backup loader), you can use this setting to load it every time

yes - backup loader will be used always
no - main booter will be used
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: ask [main/backup loader]

Fri Nov 27, 2020 1:15 am

i did check wiki, thats why im asking here, i can tick this box and..how can i check whether im running on main or backup.
it is switching to backup by reboothing..or how that works.
 
msatter
Forum Guru
Forum Guru
Posts: 2897
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: ask [main/backup loader]

Fri Nov 27, 2020 1:01 pm

There is indeed no way to see which version of boot you're using in backup mode. You can look at the factory firmware and then deduct that the backup boot has the same version. This should be valid since Mikrotik synced the version numbers of the boot/firmware and the RouterOS version.

Your are right by assuming the the boot only is loaded when the device is booted or rebooted.

I never did this, or used it, so I am winging this from the Wiki and help pages. ;-)
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: ask [main/backup loader]

Sat Nov 28, 2020 7:36 am

Thanks msatter

that is in production, so i'm wondering shall i follow with my assuming, or shall i wait for someone to give more tips...
sindy , what you saying ? :)
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: ask [main/backup loader]

Sat Nov 28, 2020 5:30 pm

The bootloader is used only at boot time, so none of the two will get used until you actually reboot the device.

Based on what have you concluded that the main bootloader is faulty? You could not boot the device except if you forced use of the backup bootloader by connecting power while holding the reset pushbutton? If so, setting force-backup-booter to yes is a safe choice; if not, I'd test that the backup bootloader really works before applying that setting, by forcing its use the above way.

A corrupt main bootloader should get fixed by a firmware upgrade (but this is also a conclusion from reading the manual, I've never needed that). So you may need a downgrade followed by a firmware "upgrade" (which I haven't tried, maybe it doesn't work) and then an upgrade back to the current version, again followed by firmware upgrade. If this doesn't work, only netinstall can help.
 
User avatar
nichky
Forum Guru
Forum Guru
Topic Author
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: ask [main/backup loader]

Mon Nov 30, 2020 5:08 am

@sindy i got MikroTik SXT Lite5.

Based on what have you concluded...
- no connection to LAN/WLAN
- no beeps

by default "force-backup-boot" is disabled.
I'm going to enable and reboot it, and see what is happened :)

Who is online

Users browsing this forum: sas2k and 83 guests