diff --git a/docs/assets/img/setup/rpi-choosen-os.png b/docs/assets/img/setup/rpi-choosen-os.png new file mode 100644 index 00000000..7922a19e Binary files /dev/null and b/docs/assets/img/setup/rpi-choosen-os.png differ diff --git a/docs/assets/img/setup/rpi-finished.png b/docs/assets/img/setup/rpi-finished.png new file mode 100644 index 00000000..c93a0008 Binary files /dev/null and b/docs/assets/img/setup/rpi-finished.png differ diff --git a/docs/assets/img/setup/rpi-imager-launched.png b/docs/assets/img/setup/rpi-imager-launched.png new file mode 100644 index 00000000..28b89bed Binary files /dev/null and b/docs/assets/img/setup/rpi-imager-launched.png differ diff --git a/docs/assets/img/setup/rpi-os-popup.png b/docs/assets/img/setup/rpi-os-popup.png new file mode 100644 index 00000000..3d0e0c86 Binary files /dev/null and b/docs/assets/img/setup/rpi-os-popup.png differ diff --git a/docs/assets/img/setup/rpi-sdcard.png b/docs/assets/img/setup/rpi-sdcard.png new file mode 100644 index 00000000..e84938ce Binary files /dev/null and b/docs/assets/img/setup/rpi-sdcard.png differ diff --git a/docs/assets/img/setup/rpi-setup-1.png b/docs/assets/img/setup/rpi-setup-1.png new file mode 100644 index 00000000..f8cd7c99 Binary files /dev/null and b/docs/assets/img/setup/rpi-setup-1.png differ diff --git a/docs/assets/img/setup/rpi-setup-2.png b/docs/assets/img/setup/rpi-setup-2.png new file mode 100644 index 00000000..f5ad74b7 Binary files /dev/null and b/docs/assets/img/setup/rpi-setup-2.png differ diff --git a/docs/assets/img/setup/rpi-warning.png b/docs/assets/img/setup/rpi-warning.png new file mode 100644 index 00000000..c7f7ee8b Binary files /dev/null and b/docs/assets/img/setup/rpi-warning.png differ diff --git a/docs/setup-guide/mainsail-os.md b/docs/setup-guide/mainsail-os.md index d4243dbd..55cb0838 100644 --- a/docs/setup-guide/mainsail-os.md +++ b/docs/setup-guide/mainsail-os.md @@ -6,22 +6,90 @@ nav_order: 1 has_children: false permalink: /setup/mainsail-os --- + # Installing Mainsail with MainsailOS The recommended way to install Mainsail on a Raspberry Pi is to use [MainsailOS](https://github.com/raymondh2/MainsailOS), a pre-packaged disk image. If you are building a custom configuration, you may need to skip these instructions and install Mainsail [manually](manual-setup/index.md). -1. Download the latest mainsailOS [Release](https://github.com/raymondh2/MainsailOS/releases) -2. Unzip the .img file from your download. -3. Use [BalenaEtcher](https://www.balena.io/etcher/) to write the .img on to an 8GB, or larger SDcard. *THIS WILL DESTROY ALL DATA ON YOUR CARD*. +_Note: It is a good idea to use a premium SDcard from a reputable manufacturer such as Sandisk, Kingston or Samsung. Perfomancewise you should consider using a "A1" or better, marked SDCard. Low end cards will often fail quickly when used in this application_ -_note: It is a good idea to use a premium SDcard from a reputable manufacturer such as Sandisk, Kingston or Samsung. Low end cards will often fail quickly when used in this application_ +_PLEASE OBEY THAT THIS WILL DESTROY ALL DATA ON YOUR CARD_ -4. If you will be using wifi, edit the file `mainsailos-wpa-supplicant.txt` with your Wifi information. If you are having trouble seeing this file on the sdcard, try removing it and re-inserting it into your card reader. -5. Make sure that your MCU(s) is connected to your pi, If you will be using wired networking, also make sure your ethernet cable is connected. -5. Insert the SDcard into your Pi, and power on the Pi. -6. Find your pi on the network, and ssh into it, (Using PuTTY on Windows or the terminal on MacOS) - * If your network supports bonjour, the pi should show up as `mainsailos.local` - * If your network automatically assigns DNS hostnames, it may simply show up as `mainsailos` - * Failing these two options, you may need to check your router's DHCP server, and find out what IP address as been assigned to the device. \ No newline at end of file +1. Download the latest mainsailOS [Release](https://github.com/raymondh2/MainsailOS/releases) +2. Download the latest [Raspberry Pi Imager](https://www.raspberrypi.org/software/), henceforth rpi-imager. +3. Install and Open rpi-imager. Now you should see a Window like this. + +![](../assets/img/setup/rpi-imager-launched.png) + +_Window Look depends on OS, in this case Linux with XFCE was used._ + +4. Now click on "CHOOSE OS", this will open a popup as shown below. + Click on "Use Custom" + +![](../assets/img/setup/rpi-os-popup.png) + +**This will open a Popup Window to browse your local files. Please navigate to your recently downloaded MainsailOS Zip Archive** + +_Note: **DO NOT UNPACK THE ZIP FILE!**_ + +After you've done that, it should look like this + +![](../assets/img/setup/rpi-choosen-os.png) + +5. Click on "Storage" and select your desired SDCard. + +![](../assets/img/setup/rpi-sdcard.png) +_As an Example..._ + +6. Now its time to setup things like Hostname, Wifi, Language and more. + It depends on your needs what you setup, but it has to be WIFI and SSH at least! + Grab your Keybord and hit: + + CTRL+SHIFT+X + +This opens up a Setup Page + +![](../assets/img/setup/rpi-setup-1.png) + +![](../assets/img/setup/rpi-setup-2.png) + +7. As last Step click on "Write", rpi-imager will give you a Warning. Click "YES" to continue... + +![](../assets/img/setup/rpi-warning.png) + +8. Watch the Progressbar and wait until you see: + +![](../assets/img/setup/rpi-finished.png) + +Hit the "Continue" Button and remove safely your SDCard. ( eg. unmount on Linux ) + +9. Insert the SDcard into your Pi, and power on the Pi. + +_Note: Please give the PI some time, during the first boot MainsailOS (like every PI Image) will expand your "root" filesystem accordingly to your SDCard Size! The greater your SDCard is, it will take longer time! Watch out for the little green LED if it turn off or blink from time to time it has finished the resizing._ + +_**Make sure that your MCU(s) is connected to your pi, If you will be using wired networking, also make sure your ethernet cable is connected.**_ + +10. Find your pi on the network, open up your preferred Browser and type either your IP or Hostname (Depends on your Network configuration) + +- If your network supports bonjour, the pi should show up as `mainsailos.local` or the given Hostname in the Setup Section. +- If your network automatically assigns DNS hostnames, it may simply show up as `mainsailos` or accordingly given Hostname. +- Failing these two options, you may need to check your router's DHCP server, and find out what IP address as been assigned to the device. + +_**After you're able to get to the Mainsail Webinterface you should consider to Update the System to get latest features. Mainsail, Klipper and Moonraker got an relative fast Development Cycle. We can't provide MainsailOS Image with all the latest and greatest. So we encourage you to Update on first Login**_ +{: .info} + +If you decide to update, you should update in following order: + +1. System Update (Bring latest RaspberryOS Updates to the System) +2. Klipper Update ( To get latest Firmware, often flashing the MCU can wear out his memory ) +3. Moonraker ( Having latest Version, could lead to more Features in Frontend ) +4. Update Mainsail ( The most important! :P ) + +5. **Important:** Include the mainsail.cfg into your printer.cfg + This could be done by: + + [include mainsail.cfg] + +6. Enjoy Mainsail!