Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| network_protocol_programming_lab:2_installdebiansd [2022/04/12 17:31] – fangenoorth | network_protocol_programming_lab:2_installdebiansd [2022/04/18 16:59] (current) – [Boot the BeagleBone Black] fangenoorth | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Debian Installation on SD Card for BeagleBone Black ====== | ||
| + | In order to install Linux on the BeagleBone Black, an image of the operating system and a SD Card is needed. The operating system image will be flashed on the SD card. Flashing will be performed using your computer or laptop, normally a Microsoft Windows, Mac OS X or Linux computer equipped with a SD card reader. | ||
| + | |||
| + | Afterwards the SD card will be plugged into the BeagleBone Black and Linux will be booted from the SD card. | ||
| + | |||
| + | ===== Getting the Debian Image ===== | ||
| + | First, download an image to your computer. In this class we will use the Debian Buster IoT((Bigger software components like the X-Window system are missing in images with the suffix IoT, resulting in a small thin image compared to images containing nearly the whole Debian distribution. )) Image (bone-debian-10.3-iot-armhf-2020-04-06-4gb.img). | ||
| + | |||
| + | This image contains: | ||
| + | |||
| + | * Distribution Debian 10.3 (Buster) | ||
| + | * Linux Kernel Version 4.19.94-ti revision r42 | ||
| + | |||
| + | Download the image [[https:// | ||
| + | |||
| + | |||
| + | If you like newer or other images, you can find them [[https:// | ||
| + | |||
| + | In most cases, the image-file is compressed in an archive, indicated by the .xz suffix at the end of the file name (e.g. bone-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz). | ||
| + | |||
| + | ===== Decompressing and Burning the Debian Image ===== | ||
| + | |||
| + | In the past the process of decompressing an burning the image was a very complex task. First you had to decompress the image with an appropriate compression tool, next the SD card needed some portions with appropriate parameters. These partitions had to be formatted. And then the image could be flashed. The tools for this process are dependent on the used operation system. | ||
| + | |||
| + | Today the process is done by a single tool, called balenaEtcher. First, download belenaEtcher from [[https:// | ||
| + | |||
| + | After starting balenaEtcher for following window opens up, similar like this: | ||
| + | |||
| + | < | ||
| + | |||
| + | Here you can see the illustration of the process, starting with selecting the image file followed by selecting the target. The target is the device, where you have inserted the SD card. At the end the image file will be Flashed to the SD card. | ||
| + | |||
| + | Starting by selecting the image file press the " | ||
| + | |||
| + | < | ||
| + | |||
| + | At my computer the image file is located at the download folder. Note, that the image file is in compressed xz Format. The image will be decompressed by balenaEtcher. Now, select the image file and press the open button. | ||
| + | |||
| + | In the next step, press the button " | ||
| + | |||
| + | < | ||
| + | |||
| + | Finally, select the " | ||
| + | |||
| + | < | ||
| + | |||
| + | At this point, we have built an SD card with the Linux operating system and can now start booting the BeagleBone Black. | ||
| + | |||
| + | If you are an experienced linux user you can also manually decompress the image and use a tool like '' | ||
| + | |||
| + | |||
| + | |||
| + | ===== Boot the BeagleBone Black ===== | ||
| + | To test, if everything is working correctly you must insert the SD card into the card slot of the BeagleBone Black and boot. During boot, press the "// | ||
| + | |||
| + | **IMPORTANT: | ||
| + | |||
| + | Otherwise the BeagleBone Black will not boot from your SD card, but from the internal eMMC. | ||
| + | |||
| + | To verify that your Linux image booted successfully, | ||
| + | |||
| + | < | ||
