Install on the board last RouterOS, install last BIOS [Firmware],
do this command on console:
/partitions repartition partitions=2;
when reboot you have one “just installed” partition and one empty called part0 and part1
copy running os to partition 2:
/partitions copy-to partition=part1
and now you have two working partition.
configure the os as you want, when done you can copy the config (also you can schedule that) from active partition for backup with:
/partitions save-config-to partition=part1
If for some problem you want boot from backup partition (when reboot) do this:
/partitions activate part1
You also can downgrade / upgrade single OS in the specific partition, like on the main partiton install 6.7 stable, and on second install 6.13 to test…
Will the configuration of first/original partition survive the repartitioning process? Will be possible to import backup after repartitioning to both partitions?
It will boot into the first available partition, which is set to active by default.
If you want to boot into another partition, Like rextended mentioned, you have to set it to active and reboot.
BACKUP - Stable ROS - I backup config from LIVE before making major changes, if those changes fail miserably I boot into this partition as pure kind of restore point. Safe Mode does a similar thing but I like to have this handy as well
TEST - New ROS - I will boot into a new RouterOS update to test if it works, if not revert back to the stable partition.
I’m working on scripting for this actually for that very reason, a run at start time script that if not disabled within 10 minutes or so of boot, will change to safe partition and reboot.
Edit: It definitely is good for the bigger devices, but some of the smaller mips devices dont have much HDD space to partition 3 ways lol. I do this on my RB1100AHx2’s and my CCR1036’s
Of course you test locally as much as you can but there is always the chance that the specific device on the other end may still have problems. Rather too much than not enough.
I’d like to try this feature, but I’m having issues on a CCR1036-12G-4S.
I’ve created 3 partitions, but if I “copy-to” from winbox or the console when I reboot after activating one of the two newly created partitions they fail with the message: kernel not found or data corrupted" and then fall back to part0.
upgrade firmware to 3.13 rebooted
repartitioned to 4
reboot .. came up with current working config (nice work)
copied the current active partition to the other 4
Just for reference, on CCR1036-12G-4S (6.14 & 3.13fw) I can partition, copy-to and boot with 2 or 4 partitions created. However I get kernel failures and fallback to part0 if I try to use 3 partitions (a reformat and copy-to).