0

I’ve scoured the web and this forum for an answer to my question and came up empty. So apologies if this is answered elsewhere.

I have a 1GB m.2 SATA SSD that I would like to BOTH use as my Pi boot drive as well as the file storage for my media files (eg music, pictures, video). Right now, all those files are on my Windows 10 box. I’m hoping I can set up a bootable Pi image on a small partition on the SSD and then create a second, larger partition for the files. I then want to be able to pull the drive from my Pi and connect it to Windows so that I can occasionally update the drive with new content, then plug it back in the Pi, boot and run Raspbian.

Before I go formatting things and taking the time to transfer >500GB of data to the SSD, however, I wanted to make sure I could do it and how I would do it.

I think I would create one bootable FAT partition on the SSD and flash the Raspbian image into that partition. I would then create a non-bootable NTFS partition that I would keep my files in. I think when I plugged the drive into a running copy of Windows, it would ignore the bootable partition and just show me the NTFS partition. Then, when I put it in my Pi, it would boot into Raspbian using the boot partition and I could mount the NTFS partition to see all my media files.

Is that correct? Is the setup best done through Raspbian or in Windows or does it not matter? How large should the boot partition be? Or can I first plug the new SSD drive into my Pi, flash Raspbian onto it, then plug that into my Windows box and create a new NTFS partition out of the remaining space? Or will the flashing process create an ext4 partition to eat up the remaining SSD space and I’ll have to then reformat that to NTFS?

Thanks so much for any help, I truly appreciate it!

Stu

1 Answers1

0

SOLVED

This turned out to be simpler than I expected. I plugged the fresh SSD into my Windows 10 box using a USB3 enclosure. I then used Raspberry Pi Installer to install Raspberry Pi OS to the SSD. This created a /boot partition and a /root partition, leaving about 990Gb of unallocated space. I then booted up my RPi4 using a prior OS install on sdxc card. Once into the OS, I installed gparted and plugged my SSD enclosure into a USB3 port on the RPi. The OS mounted the drive and I could see it in gparted. I then clicked on the unallocated space and created a new partition there in NTFS. After that was done, I powered down the Pi, removed the sdxc card, and rebooted with just the SSD plugged in. It worked and booted into the OS and showed the NTFS partition.

I then powered everything down, plugged the SSD back into Windows and copied all my music files onto the NTFS partition into a folder named 'Music.' I then unplugged, put it back in the Pi, booted up and I could see the folder 'Music' in the NTFS partition. The problem was I couldn't see any of the files INSIDE the 'Music' partition. I could read and write to the partition in the OS and I could see what I wrote on the Pi show up back in Windows, but I couldn't see all the music files I dragged onto the drive from Windows.

After trying a bunch of things, I finally went for an extreme approach and re-formatted the NTFS partition. But instead of using gparted from within RPi OS, I just used the Windows 10 quick formatting tool. For whatever reason, this solved the problem. I can now see any files I've dragged onto the partition from Windows while in RPi OS. So, success!