Tutorial Install Mikrotik OS. Tutorial Registrasi Lisensi pada Mikrotik OS. WebOS sistem operasi milik HP. 3 Fakta mengenai Windows 10. 5 Fitur baru dalam Windows 10. Cara Install Windows 7 dengan USB Flashdisk tanpa Software. Cara membuat Web Server pada Windows 7. Mikrotik-usb-6.38.iso is now a bootable image that can be transferred to USB with DD. The image boots fine but shortly after it complains that the CD-ROM is not present. It would appear that the Mikrotik coders have set it up so that the RamDisk looks on the CD-ROM for its NPK files to install the system. 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.The purpose of such installation could be testing, the live demo system or to use this flash drive instead of hard disk in ye olde computer.
- You'll want this if you screw up. Particularly if this is your internet router, and you've put in effort to get it working.
- The easiest way to do a backup is System -> Backup -> Generate Archive. This appears to be a backup of the most package subfolders in /etc folder.
- Note that there can be other stuff that needs backing up, especially if you created them outside of packages. For extra safety, I also did a:
- ssh root@router 'tar czf - /etc /usr/local /root ' | cat - > backup-etc.usr_local.root-2017-12-16.tar.gz
- This backup probably can't be restored via Luci, but will be useful if you've somehow lost everything and need to set things up from scratch.
Install/Cancel - after selecting the router and selecting the RouterOS packages below, use this to start install. SoftID - the SoftID that was generated on the router. Use this to purchase your key. Key / Browse - apply the purchased key here, or leave blank to install a 24h trial. Get key - get the key from your mikrotik.com account directly. Pastikan Flashdisk anda terdeteksi. Folder Hasil paket Router OS x86. Select All (Pilih semua) 4. Jika sudah muncul pesan Installation Completed, silahkan close Netinstall. Restart Laptop Anda lalu Setup BIOS untuk first boot melalui USB.
- If you've got lots of space left in your existing onboard flash, this is probably not necessary. In my case, I was down to around 500k free space, so I thought it would be a good exercise to reset the router back to openWRT factory settings. This would also be a good chance to confirm I've documented my setup steps properly.
- Configure your router for internet access. At least this fills up your original overlay file system with the bare minimum to get internet access.
- Execute the following:
- opkg update
- opkg install kmod-usb-storage-extras
- opkg install kmod-fs-ext4
- opkg install block-mount
- opkg install fdisk
- opkg install e2fsprogs
- Insert the flash disk into the router's USB port.
- Partition the flash disk. I had 8GB, so created a 2gb and 5.5gb partition using fdisk:
- Format the flash disk. Execute the following:
- mkfs.ext4 -O ^has_journal /dev/sda1
- mkfs.ext4 -O ^has_journal /dev/sda2
- Create mount point for /data
- mkdir /data
- Copy the existing /overlay to the /dev/sda1
- mount /dev/sda1 /mnt ; tar -C /overlay -cvf - . | tar -C /mnt -xf - ; umount /mnt
- Redetect USB partitions:
- block detect > /etc/config/fstab
- Configure /etc/config/fstab to mount /dev/sda1 as /overlay
- sed -i s/option$'t'enabled$'t'0'/option$'t'enabled$'t'1'/ /etc/config/fstab
- sed -i s#/mnt/sda1#/overlay# /etc/config/fstab
- Configure /etc/config/fstab to mount /dev/sda2 as /data
- sed -i s#/mnt/sda2#/data# /etc/config/fstab
- reboot the router
Install Mikrotik Via Usb Flashdisk Free
- You don't strictly have to create 2 partitions, you could use the whole flash disk as your /overlay if you like.
- I'm not actually quite sure what happens if you were to reset the system after this ... my guess is that OpenWRT would remove the /overlay which is on the USB flash disk. But the config on the /overlay on the built-in flash would then have stuff that is not in USB /overlay. To be safe, it's probably better to remove the USB flash disk and reset and reformat and repeat the above steps from scratch if you're planning to revert the system.