User Tools

Site Tools


raspberrypi

Make a backup image of Pi

https://lifehacker.com/how-to-clone-your-raspberry-pi-sd-card-for-super-easy-r-1261113524

Image How To…

So which one should I choose to clone? The boot partition or the other partition?

Select the Boot one and Win32DiskImager will copy the whole card (I think it just needs the logical drive letter to find out where the physical drive/card really is).

https://www.raspberrypi.org/forums/viewtopic.php?t=188417

RaspberryPi

Raspberry Pi Music

gphoto2

Python

RaspPi TV

Real World Interfacing

Camera Stuff

Backup image of SD card

Resize Partitions

Resizing by deleting partitions

move folder and mount partition as VAR

Or move folders to extra space and remount?

https://unix.stackexchange.com/questions/131311/moving-var-home-to-separate-partition

Well I tried moving var folder to new partition and edited fstab to say this

/dev/sda3	/usr		ext4    defaults	  0       0

But but I couldn't boot and ended up just starting from scratch and installed the non NOOBS version.

BUT, while getting out of the shower this morning I remembered that I forgot to make an empty new VAR folder for the new partition to be mounted into…Dang if it actually worked! it took a few reboots for the OS to adjust the file structure but on the third boot it all worked.

Still I went back to my new install, but it is good to know it works

PI PLEX SERVER

NON PLEX STREAMING

Mount Drive at Boot

This is what I used to mount the USB stick on the Raspberry Pi

Use this to figure out the UUID of the usb stick

sudo blkid

then edit the fstab to mount it

sudo nano /etc/fstab

proc            /proc           proc    defaults          0       0
/dev/mmcblk0p6  /boot           vfat    defaults          0       2
/dev/mmcblk0p7  /               ext4    defaults,noatime  0       1
# UUID=42981DB8981DAC03 /mnt/plexlib ntfs defaults 0 0
# The above stopped working, osm sort for file check problem caused it to stop booting
# so I changed to this and the problem stopped
/dev/sda1 /mnt/plexlib ntfs defaults 0 0                    

kodi adn Plex

raspberrypi.txt · Last modified: 2019/06/22 11:16 by zeppo