Tutorial Cara Install Mikrotik di USB FlashDisk. Sediakan USB FlashDisk. Silakan cari USB FlashDisk yang masih bisa digunakan dan untuk kapasitas nya terserah, mau 2 GB atau 8 GB tidak masalah. Kapasitas FlashDisk ini nantinya yang menjadi hdd disk pada Mikrotik. The zalman virtual image box emulates an usb mass storage device (usb CDROM) which the the kernel enumerates during the boot process. This is something that most USB gear does: like the 3G-sticks which have the 'driver' diskette embedded, or some promotion USB drives which are detected as a HDD.and. a CDrom. Unduh Activator Ms Office 2019 Terbaru Full Version Gratis - Jadi ceritanya sekarang memang saya lagi menggunakan microsoft office 2019, program paketnya sama koq mulai dari ms power point, ms word dan excel. 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.
- 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
- 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.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/
Tested on openSUSE
Recommended articles
Related articles
- 1Requirements
- 2Create bootable USB stick
Requirements
Download installation images
You need to download a DVD or Network installation image (ISO file) before creating the installation USB stick.
See Portal:Installation.
A large capacity USB stick
To write DVD images, your USB stick must have at least 5 GB storage space.
To write Network images, your USB stick must have at least 100 MB storage space.
NOTE: All data in the USB stick will be erased! Backup all contents before writing the images.
A working PC
You need a working PC to run the bootable USB creation tool. ImageWriter can be run on openSUSE. UNetbootin can be run on other Linux distributions, Microsoft Windows and Apple macOS.
Create bootable USB stick
Imagewriter (openSUSE)
- Open YaST --> Software Management
- Search and install 'imagewriter' package
- Open 'SUSE Studio Imagewriter'
- Select downloaded image (*.iso file)
- Select the USB device
- Click 'Write' button
It takes several minutes or longer, depending on image size and hardware performance.
Done!
Universal USB Installer (Windows)
Note: Universal USB Installer only supports ISO files up to a maximum size of 4 GiB, which can be exceeded by some openSUSE DVD images. In this case, use UNetbootin for Windows as described below.
- Download Universal USB Installer (GPLv2)
- Run it. You will see a simple application window.
- Select Linux distribution 'openSUSE'.
- Select downloaded image.
- Select the USB device.
- Click 'Create' button.
It takes several minutes or longer, depending on image size and hardware performance.
Done!
UNetbootin (OpenSUSE)
- Install unetbootin via zypper
- Figure out which drive is your USB stick you wish to overwrite
- Wipe out the partition table of your USB stick to avoid issues with existing contents
- select /dev/sdc ( if your usb stick is /dev/sdc )
- p ( to print existing partitions )
- rm 1 ( to remove first partition )
- mklabel gpt ( to wipe device and make it GPT )
- mkpart primary ext4 1 -1 ( fill entire USB drive with ext4 partition )
- set 1 boot on ( make the new partition bootable )
- quit
- Unplug and replug the USB stick to have OpenSUSE automount /dev/sdc1
- Run unetbootin with environment variable to avoid UI bug
- Select radio button
- Click ... and open previously downloaded iso file
- Select Type: is not already selected
- Select Drive: if not already selected
- Click OK
- Exit unetbootin
- Eject the USB drive from UI, or run
- to umount files
UNetbootin (Other Linux, Windows, Mac)
- Download UNetbootin (GPLv2)
- Run it
- Select 'Diskimage' radio button
- Select 'ISO' file type
- Click {{Key| ... } and open previously downloaded *.iso file
- Select device Type: 'USB Drive'
- Select Drive: 'Letter/Name of your USB stick' if not already selected
- Click OK
It takes several minutes or longer, depending on image size and hardware performance.
Done!
Boot from USB stick
- Plug your the USB stick into computer.
- Boot or reboot system.
- Press F12 and enter boot menu when you see BIOS interface. Quickly! (Some computers use Esc, F8, F10 for boot menu, you should see it on BIOS screen)
- Select your USB stick in the boot menu
- Press Enter
System will restart and boot from the USB stick. Then you can follow the normal DVD installation instructions.