How to make shareable SD card by Raspberry Pi & PC.
- Taking Camera Image or Sensor Data by Raspberry Pi & write on SD CARD
- Pull out the SD CARD, read it by PC.
- For Raspberry Pi BootLoader, the first partition on the SD CARD should be formatted as FAT
- Mac can recognize multi partitioned SD Card, but Windows can recognize only the first partition.
How to get it ?
How to make it yourself.
- Prepare one SD Card. This is a target SD Card on which you will make Raspberry OS SD Card with big FAT32 partition for sharing DATA between RPi and PCs.
- Prepare another SD Card in which desktop type raspbian (not lite) is installed. This is working SD Card for making it.
- Prepare USB SD Card reader.
- Start Raspberry Pi with desktop type raspbian, install gparted.
- Mount the other SD Card, which you will make bit FAT32 Raspberry OS, on the USB SD Card reader and put it on the Raspberry Pi's USB port.
How to use gparted on the Raspberry Pi.
The FAT16 partition is automatically be change to FAT32 when the resize byte exceed to FAT16 limitation.
The boot partition on the recent version of raspbian is formatted as FAT32, not FAT16 from the beginning.
Unfortunately, the gparted has one issue which fail to move / resize fat32 partitions less than 256 MB in size. So, you should choice original OS image as old OS image like 2016-09-23 version of raspbian jessie lite. After boot partition expanded, you can update it latest version of Stretch by following steps:
- update sources list file from jessie to stretch as:
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/raspi.list
- upgrade & dist-upgrade as follows:
sudo apt updatesudo apt upgradesudo apt dist-upgradesudo apt-get autoremove --purge -y
upgrade might be take long time (about 1 - 2 hours).