for testing environment, i would like to have a computer with RouerOS and Debian 6 .
Every system works fine, RouerOS on primary master (hd0) and Debian on secondary master (hd1)
If i change the boot disk in bios, i can switch the OS, but i have no luck to do in grub2
I manually added this to grub.cfg
menuentry 'RouterOS'{
set root='(hd0,msdos1)'
linux /boot/vmlinuz root=/dev/sda1 ro (also 2,3...)
initrd /boot/initrd.rgz
}
To be honest, the question has merit … I sometimes have to install ROS on remote PC’s. I have used Xen, KVM, VMware or Virtualbox (whatever was available) and up to version 4.x this woked well. However 5.x runs very badly in Virtualized environments. VMware seems to be the most stable … the rest range from terrible to unusable… So for 5.x it is best to install directly to the hardware. It would be nice if someone figured out a way to image ROS to a second disk and have grub load it.
Old topic.
But a workaround to this is to have Grub chainload onto the Mikrotik bootloader.
Install Mikrotik RouterOS onto a properly sized disk.
Load up parted (livecd) change the size of your partition, move it on the disk as you see fit.
Install grub at proper MBR and setup to chainload onto the other partition.
Voila, there you got it.
License survives as the partition is intact (although moved), routerOS boots as it lets the original bootloader boot.
Personally I setup RouterOS as a smaller partition of say 12GB , Linux or any other system tools I need on other partitions that is installed AFTER the initial RouterOS install.
Then I have grub2 on a separate USB stick to hande bootloading or chainloading.