User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:howto:omnia_booting_from_external_storage [2018/11/01 16:08]
jschlehofer Add option to boot from USB 2.0, which is in LTE miniPCIe slot and a little bit rewrite
en:howto:omnia_booting_from_external_storage [2018/11/02 15:25] (current)
jschlehofer A few improvements
Line 3: Line 3:
 For now, there are two ways, what you can do for booting from external storage. For now, there are two ways, what you can do for booting from external storage.
  
-  * The first way is using mSATA SSD, which you need to plug to the right slot, which is close to the heatsink (CPU).  +  * The first way is using mSATA SSD, which you need to plug to the right slot, which is close to the heatsink (CPU) as is the only one, which supports also mSATA interface together with mini PCIe
-  * The second way is using the adapter (MPCIE1U-NO1) from mini PCIe to USB 2.0, which has to be plugged to the left mini PCIe slot, where is the SIM card slot. Into this adapter, you'll need to plug slim and short USB flash drive.+  * The second way is using the adapter (MPCIE1U-NO1) from mini PCIe to USB 2.0, which has to be plugged to the left mini PCIe slot, where is the SIM card slot. Into this adapter, you'll need to plug slim and short USB flash drive, which will fit there. 
 + 
 +For each option, you need to have the serial cable and flash disk with the medkit
  
 ===== Creating bootable disk ===== ===== Creating bootable disk =====
  
-For each option, ​you need to have serial cable and flash disk with the medkit. Once you have it inserted to your'​s ​Turris Omnia, plug the serial cable and connect the power cord. When powering +Once you have the removable storage ​inserted to the Turris Omnia, plug the serial cable and connect the power cord. In the serial console, when powering it up, try to hit enter repeatedly as fast as you can till you manage to interrupt U-Boot bootloader and you get '​=>'​ prompt. Remember how you did it, we will need it later on again.
-it up, try to hit enter repeatedly as fast as you can till you manage to +
-interrupt U-Boot bootloader and you get '​=>'​ prompt. Remember how you did it, we +
-will need it later on again.+
  
 In this prompt enter `run rescueboot` and wait for rescue mode to boot up. Once In this prompt enter `run rescueboot` and wait for rescue mode to boot up. Once
 you see the prompt, we can start preparing the disk. At this moment, you you see the prompt, we can start preparing the disk. At this moment, you
-probably have two disk devices available - sda and sdb. Most likely your USB/SSD is sda and USB with medkit is sdb. You can check by entering:+probably have two disk devices available - sda and sdb. Most likely your USB/SSD is sda and USB with medkit is sdb. You can check it by entering:
  
 <​code>​ <​code>​
Line 21: Line 20:
 </​code>​ </​code>​
  
-This will show you the size of the drive and partitions available. You can use fdisk to repartition your drive if you want to have a separate partition +This will show you the size of the drive and partitions available. You can use fdisk to repartition your drive if you want to have a separate partition dedicated to something else.
-dedicated to something else.+
  
 <WRAP center round tip 60%> <WRAP center round tip 60%>
Line 28: Line 26:
 </​WRAP>​ </​WRAP>​
  
-Now format the first partition to Btrfs and create there root subvolume using +Now format the first partition to Btrfs and create there root subvolume using the following commands:
-the following commands:+
  
 <​code>​ <​code>​
Line 77: Line 74:
 </​code>​ </​code>​
  
-This changes ​your boot command ​to boot from SSD, saves the setting, and+These changes ​changed the boot commands ​to boot from SSD, saved the settings, and
 actually boots your router. Next time you reset it, it should boot actually boots your router. Next time you reset it, it should boot
 automatically from SSD. automatically from SSD.
Line 97: Line 94:
 </​code>​ </​code>​
  
-This changes ​your boot command ​to boot from SSDsaves the setting, and+These changes ​changed the boot commands ​to boot from USBsaved the settings, and
 actually boots your router. Next time you reset it, it should boot actually boots your router. Next time you reset it, it should boot
-automatically from USB.+automatically from SSD. 
  
 ==== Fixing Schnapps ==== ==== Fixing Schnapps ====