Tried Raspberry Pi 3 : Setting it up

Tried Raspberry Pi 3 : Setting it up

I got a Raspberry around Dec 2019, took it to my college and there it was kept for more than 2 years, partly because of academic commitments and partly due to my college shifting to online mode due to Covid-19 pandemic I never got a chance to use it.

Recently after coming back to campus for my final semester and with a lot of time in hand I decided to use my RPi for script automation. As y'all must be aware, RPi 3 is history , with the advent of RPi 4 there were very few articles about how to set RPi 3. Nonetheless I found a very good article whose link I will provide below and followed all the steps. Soon I had installed Raspbian lite .

One of my dexterous also suggested to use zsh instead of bash and he insisted on installing tmux and his custom dotfiles which are indeed really helpful.

Headless Installation Article

So the OS is installed and I SSHed into the RPi

Next I wanted was to create a disk image of current installation as a backup just in case I mess this up. Again the same website came handy.I created a disk image using this article.

Now I wanted to tinker more and tried to mount a USB pendrive to my RPi. To my horror, it was showing up I did

df -h

and I couldnt find it .

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        29G  1.6G   27G   6% /
devtmpfs        326M     0  326M   0% /dev
tmpfs           455M     0  455M   0% /dev/shm
tmpfs           182M  704K  182M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  253M   30M  223M  12% /boot
tmpfs            91M     0   91M   0% /run/user/1000

Then I tried

lsblk

and there it was showing sda1

NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda           8:0    1  7.5G  0 disk 
└─sda1        8:1    1  7.5G  0 part 
mmcblk0     179:0    0 29.6G  0 disk 
├─mmcblk0p1 179:1    0  256M  0 part /boot
└─mmcblk0p2 179:2    0 29.3G  0 part /

I then headed back to Internet and found an automatic way to mount the USB using this article.

Finally I rebooted my RPi and now the pendrive was mounted properly. This has been my experience with Raspberry till now.

PS: First article ever.

Did you find this article valuable?

Support Abhineet Anand by becoming a sponsor. Any amount is appreciated!