Skip to content

Commit

Permalink
Merge pull request #51 from Capstone-Projects-2024-Spring/BP-110-Add-…
Browse files Browse the repository at this point in the history
…documentation-for-Arch-Linux-ARM-setup-script

Add documentation for SD card setup script
  • Loading branch information
tuk05348 committed Mar 13, 2024
2 parents e67fc4c + 30299b0 commit d2caba9
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
8 changes: 8 additions & 0 deletions documentation/docs/miscellaneous/_category_.json
@@ -0,0 +1,8 @@
{
"label": "Miscelleanous",
"position": 12,
"link": {
"type": "generated-index",
"description": "Miscelleanous resources about BlastPad"
}
}
44 changes: 44 additions & 0 deletions documentation/docs/miscellaneous/arch-linux-ARM-setup.md
@@ -0,0 +1,44 @@
---
sidebar_position: 1
---

# Arch Linux ARM

We made a setup script that makes it easier to install Arch Linux ARM onto an SD card.

Before we created an image of the BlastPad's OS, this helped us set up SD cards quickly.

## Download

You can find the latest version of the script in our "install" directory of the main branch. [Link](https://github.com/Capstone-Projects-2024-Spring/project-blastpad/tree/main/install)

## Run Script

**1. First, find the name of your SD card**

We used the fdisk utility with the `-l` flag to list the block devices recognized by the OS.

```bash
fdisk -l
```

Example Output:
```
...
Disk /dev/sdb: 28.86 GiB, 30989615104 bytes, 60526592 sectors
Disk model: STORAGE DEVICE
...
```

*In the above example, the device name is `sdb`*


**2. Run the script passing your device name as an argument**

```bash
sh arch_linux_arm.sh <device name>
```

*Following the above example, you would put `sdb` where it says `<device name>`*


0 comments on commit d2caba9

Please sign in to comment.