Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:yocto:x86-rt [2023-06-14 15:05] – Urs Graf | software:linux:yocto:x86-rt [2023-09-19 15:10] (aktuell) – Urs Graf | ||
|---|---|---|---|
| Zeile 7: | Zeile 7: | ||
| - | ===== Downloading Images | + | ===== Getting Image ===== |
| - | Prebuilt images can be obtained from our [[software: | + | Prebuilt images can be obtained from our [[software: |
| - | ===== Installing Images ===== | + | ===== Booting |
| - | Currently there are only instructions for booting | + | |
| - | + | ||
| - | Materials needed: | + | |
| - | + | ||
| - | * USB Stick | + | |
| - | * image.wic file (prebuilt or custom) | + | |
| - | * x86 based PC with the ability to boot from USB (any reasonably modern PC should be able to do this) | + | |
| - | + | ||
| - | ==== Identifying the USB Stick ==== | + | |
| - | + | ||
| - | Plug in the USB Stick and identify the corresponding block device (''/ | + | |
| - | + | ||
| - | Example output for '' | + | |
| - | < | + | |
| - | $ lsblk | + | |
| - | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | + | |
| - | sda | + | |
| - | └─sda1 | + | |
| - | sdb | + | |
| - | ├─sdb1 | + | |
| - | └─sdb2 | + | |
| - | sdf | + | |
| - | sdg | + | |
| - | ├─sdg1 | + | |
| - | └─sdg2 | + | |
| - | nvme1n1 | + | |
| - | ├─nvme1n1p1 259:2 0 | + | |
| - | ├─nvme1n1p2 259:3 0 457.3G | + | |
| - | └─nvme1n1p3 259:4 0 | + | |
| - | nvme0n1 | + | |
| - | ├─nvme0n1p1 259:5 0 | + | |
| - | └─nvme0n1p2 259:6 0 931.2G | + | |
| - | </ | + | |
| - | + | ||
| - | A quick guide to reading the output: | + | |
| - | '' | + | |
| - | + | ||
| - | '' | + | |
| - | These names represent the device as found in ''/ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | The easiest way to identify the right block device is usually it's size. | + | |
| - | In the example output above, we are looking for a 4GB USB Stick. | + | |
| - | We can infer that the USB Stick is ''/ | + | |
| - | + | ||
| - | If there are multiple devices of the same size as the USB stick it may be necessary to run '' | + | |
| - | + | ||
| - | ==== Writing the image to the USB stick ==== | + | |
| - | + | ||
| - | **WARNING: Writing the image to the USB Stick will erase all content!** | + | |
| - | + | ||
| - | **WARNING: Make absolutely sure you have identified the correct device! dd will not hesitate to override your OS drive if you tell it to!** | + | |
| - | + | ||
| - | Use the following command to write the image to the USB stick | + | |
| - | modifying ''/ | + | |
| - | < | + | |
| - | sudo dd if=/ | + | |
| - | sudo eject /dev/sdX | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Booting | + | |
| The USB stick can now be used to boot from USB. | The USB stick can now be used to boot from USB. | ||
| Note that the BIOS/UEFI setting to achieve this are hardware specific. | Note that the BIOS/UEFI setting to achieve this are hardware specific. | ||