How to Easily Write SD cards for use with the Raspberry Pi

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Every computer needs an operating system - and the Raspberry Pi is no different. Primarily, the Raspberry Pi boots from an SD card. But how do you write an operating system to that SD card? Well, if you're just starting out - then this is the video for you!
    🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT
    Commemorate the largest outage in history with the latest addition to the LLTV merch shop.
    Get yours here ➜ learnlinux.lin...
    🎓 BRAND NEW UDEMY COURSES AVAILABLE!
    Check out my new courses on Udemy and learn something new!
    • Getting Started with Ansible ➜ learnlinux.lin...
    • LPI Linux Essentials Complete Workshop ➜ learnlinux.lin...
    🐧 SUPPORT LINUX LEARNING!
    • Grab some Linux swag ➜ merch.learnlin...
    • Become a Channel Member ➜ learnlinux.lin...
    • Become a Patron ➜ learnlinux.lin...
    • 5% discount on LPI exam vouchers ➜ learnlinux.lin...
    • Check out my latest book ➜ ubuntuserverbo...
    • Grab an awesome Pi-powered KVM ➜ learnlinux.lin...
    • Jay's Gear - Server, Computer and Video Production Stuff ➜ learnlinux.lin...
    Note: Royalties and/or commission is earned from each of the above links
    ⏰ TIME CODES
    00:48 - Intro
    02:00 - Raspberry Pi Imager - The best all-around best solution preparing Pi SD cards
    03:05 - Installing Raspberry Pi Imager on Ubuntu
    05:11 - Installing Raspberry Pi Imager on Windows
    06:08 - Installing Raspberry Pi Imager on macOS
    07:32 - How to use Raspberry Pi Imager to flash Raspberry Pi OS (formerly Raspbian) onto an SD card
    11:03 - Setting up your user account for Raspberry Pi OS
    14:16 - Using the dd command to flash an image onto an SD card (for advanced users)*🎓 FULL LINUX COURSES FROM LEARN LINUX TV*
    • Linux Crash Course ➜ linux.video/cc
    • Learn tmux ➜ linux.video/tmux
    • Learn vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE ➜ linux.video/pve
    • Getting Started with Ansible (Udemy) ➜ learnlinux.lin...
    • LPI Linux Essentials Workshop (Udemy) ➜ learnlinux.lin...
    🌐 LEARN LINUX TV ON THE WEB
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.lear...
    • Official Github Account ➜ github.com/Lea...
    • Enterprise Linux Security Podcast ➜ enterpriselinu...
    • The Homelab Show Podcast ➜ thehomelab.show
    • Jay on Udemy ➜ www.udemy.com/...
    • Jay on Twitter ➜ x.com/JayTheLi...
    • Content Ethics ➜ www.learnlinux...
    • Request Assistance ➜ www.learnlinux...
    ⚠️ DISCLAIMER
    Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.
    #RaspberryPi #Maker #Raspbian

Комментарии • 25

  • @dileepaozi2352
    @dileepaozi2352 Месяц назад

    Nicely explained...

  • @hjenvild
    @hjenvild Год назад

    Perfect timing! I needed to install raspberry pi os on a new sd card, and I had forgotten about raspberry pi imager.

  • @anthonychaple3031
    @anthonychaple3031 Год назад

    Been waiting for this video 👍🏻

  • @texbrew64
    @texbrew64 Год назад

    Thank you, Jay. Everything was well explained. Following your dd guide, I now have the current Raspbian OS version based on Debian 11 for my rpi. At first boot all the necessary items were handled for setup, including choice of WiFi network. Post installation reboot delivered a well working Raspbian OS Desktop. Nice. Subscribed to your channel.

  • @diodeskies9087
    @diodeskies9087 3 месяца назад

    Followed the Ubuntu example for RPI Imager but got an error in Software Install. I right clicked the downloaded Imager 1.8.5amd64.deb file > Properties > Permissions tab > checked "Is executable" box. All good now thank you, great video!

  • @josevl1227
    @josevl1227 8 месяцев назад

    Excelent !! Really good! Did like the video a lot.

  • @PS_Tube
    @PS_Tube Год назад +1

    I had made a USB drive using Rufus. Since then, etcher has never been able to flash. With Rufus, it can be flashed always.
    Finally, I bit the bullet and created a new partition table on the flash drive (Rufus one) on Linux.
    Flashed it on etcher, and it worked.
    But, then I used dd just for testing purpose, turns out it's faster than etcher. Flashed the drive with dd. And I'll never gonna use Rufus again.

  • @christopherjackson8457
    @christopherjackson8457 Год назад

    Your screen shots show the raspberry pi imager that is the older model. The new version has a cog icon with which to adjust the WiFi and ssh access prior to the write. In my view a superior methods to create the raspberry pi operating system. I use Windows and Mac OS to do it.

  • @peterjansen4826
    @peterjansen4826 Год назад +1

    Considering that you are in the terminal anyway, the user who copies this could just use wget . He might have to install wget first.

  • @igrewold
    @igrewold Год назад

    Thanks J, good tutorial.

  • @catupeloco
    @catupeloco Год назад

    I've used win32 disk imager on windows before raspberry pi site has the imager. The advantage is you also have the oportunity to generate an image, the disadvantage is the image is stored as the full sd card size. The solution for that is to use a shrink script on github but it runs on linux so you can do it from rpi

  • @Charlie8913
    @Charlie8913 Год назад

    I always use dd to flash an iso. Except when i need to fix my pc then i download the iso on my phone, connect the USB thumb drive with a USB A female to USB C adapter (or for Raspbian a USB C hub with integrated SD card reader) and flash it with Etchdroid. The Raspbian wiki has instructions on how to set up things as the wifi credentials manually without their fancy tool, did that once to a headless raspberry pi.
    But that's just me, i like the generic way (works with all iso's, KISS principle, ARCH user) and don't want to use special tools when it's just a few commands. For beginners it's for sure great.

  • @christopherjackson2157
    @christopherjackson2157 Год назад

    I like that sepia/parchment background ur windows have. What's it called? Is it an Ubuntu thing?

  • @Keeping_IT_Simple
    @Keeping_IT_Simple Год назад

    you chose a block size of 4M - what are the different options here & why chose this size please?

  • @michaelbrauner
    @michaelbrauner Год назад

    I wonder if you are using kdenlive for video editiing.
    I consider using it ... . Is it hard to make such nice animations you have inside your videos? Greetings from germany.

  • @etienneb4403
    @etienneb4403 Год назад

    Thanks for the DD command. How do you set the user and ssh in that case?

  • @paratracker
    @paratracker Год назад

    What if the Imager does not include the intended SD card as the target device?

  • @Kephers7
    @Kephers7 Год назад

    Keep getting errors writing to disk. Tried with multiple cards and formatting and reformating and same error over and over :/ Using the Pi Imager 1.7.5. Tried with 64gb and 128gb micro sd cards. Nothing seems to work. After I format disk and try to install, it also wont let the card work again on my windows computer it will always show 'please insert a card' on the pc. So it not only fails to write but breaks the card.... fat32.

  • @DodgeHooker641
    @DodgeHooker641 Год назад

    Do you have a current video about how to backup the SD card for a raspberry pi using Windows

    • @igrewold
      @igrewold Год назад +1

      it be same dd command you just do the reverse, J explained discdump file to drive, you do the reverse discdump drive to file, let's suppose drive name is sda
      dd if=/dev/sda of=sdbackup.iso
      this is the main idea, test it, maybe using some gui backup software is faster and safer
      but try it to see if it works or not

    • @igrewold
      @igrewold Год назад +1

      How to Back Up/Image your SD Card on Linux
      ruclips.net/video/sUYVKhI_84E/видео.html

  • @amayvlogs8179
    @amayvlogs8179 Год назад

    Error to write storage

  • @_den_
    @_den_ Год назад

    DD.

  • @AliensInc.
    @AliensInc. Год назад

    If 'dd' seems a bit scary just use 'cp' and copy that ISO to the device for the USB-stick.

  • @starkfuture1057
    @starkfuture1057 Год назад

    explain how to do the same with a fedora arm image please.