Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

[V9] How to Format USB into 2 Partitions for DashCam and Music [Windows]

SpudLime

Active Member
Jun 10, 2018
1,420
2,452
Leesburg, Va
Great writeup. The only thing I dont agree with is only needing a 16GB partition. Your math didnt account for when you decide to save some videos. If you tap the icon it saves the files off and if you do this multiple times your 16GB will fill up fast.

But great writeup!
 

hamtonp

Member
Sep 4, 2018
118
206
Dallas
The X has 2 usb ports, right?

so your hub is powering one stick for the dashcam and one stick for music? the second USB port is for power?

or your hub is powering the stick for music and for charging your phone, while the second USB port on the X is used for the dashcam?

please clarify.
Sorry I wasn't more detailed.
The front driver side USB port I use to just charge my phone.
The front passenger side USB port has the USB hub plugged in. It is not powered. Well, no external power. I plug two SanDisk 8GB USB 2.0 into the hub. One for the TeslaCam and one for music files. These are just stuff I found in a bin of electronic stuff I have laying around. I don't even know what brand hub it is. It's a generic cheapo 2.0 hub.

Edit:
Wanted to mention that the USB drives have not light on them. Just a plain plastic shell. I guess these types use less power.
 
  • Informative
Reactions: Galve2000

cbutters

Member
Jan 25, 2017
334
466
Utah
Thank you for this writeup. I was having issues with dashcam disappearing randomly and I just followed the guide and will be testing. My only adjustment was that I setup my first partition as size=32768 instead of the 16GB in the tutorial (I plan on saving some of my drives using the button and 32GB still formats using the windows utility) I'm hoping between creating the partition as FAT32 in the windows utility and also converting them to GPT makes the difference.

Thanks again and I will report back if this works reliably for me.
 

Knightshade

Well-Known Member
Jul 31, 2017
11,359
14,931
NC
Or know the minimum speed rating required for the app.

The dashcam writes ~1800MB per hour... that's 0.5 MB/s. Literally any USB drive sold as new is way way way faster than you need for that.


Great writeup. The only thing I dont agree with is only needing a 16GB partition. Your math didnt account for when you decide to save some videos. If you tap the icon it saves the files off and if you do this multiple times your 16GB will fill up fast.

Not really... the entire hour only takes up 1.8 GB... you could save off another 50+ 10 minute clips without running out of room.
 
  • Like
Reactions: SpudLime

cbutters

Member
Jan 25, 2017
334
466
Utah
Ok... so the first time I put it in it worked, then I drove it again about 30 minutes later and the dashcam icon had disappeared. But then I drove it a third time and it was back. I've never seen it disappear and then work again without fixing the file system on another computer; so I'm not sure if it was a fluke.... Will continue testing but it is working right now again; just the one fluke the first time I drove it after letting it sit.
 

StellarRat

Active Member
Jan 8, 2014
1,490
1,338
Pacific
First thanks so much for putting this together. I'm having an issue right off the bat unfortunately. Funny enough I bought the exact same thumb drive, SanDisk Ultra Fit 128gb, but mine came formatted as FAT32. The problem is when I attempt to delete the partition in Computer Management, the option to Delete Volume (and most other options) is greyed out. I'm running the program as admin from an admin account, Windows 7 Pro.
Following his DISKPART instructions run the CLEAN command AFTER you do SELECT DISK xx . I think that will totally wipe all the partitions and data on the USB key. At that point the procedure should follow his steps. I haven't tried this myself, but CLEAN is supposed to clear the partitions. I know it works on disks 32GB and under, so it might work on larger disks.
 
Last edited:
  • Helpful
Reactions: SpudLime

TheLocNar

Member
Mar 10, 2018
941
855
Chicago
I found a free app for Windows 10. First partition of 128GB drive for cam is 32GB and the other partition is for music. Had to use another app to convert a ton of m4a to mp3. Just tossed them onto 2nd partition without any folders. Working good with the usb splitter. Let’s hope it doesn’t get corrupted.
 

GPinzone

Member
Sep 3, 2018
319
170
Ronkonkoma, NY
I don't want to jinx it, but after converting the drive to GPT, I haven't yet had the dreaded gray "X" that implies filesystem corruption. I haven't remove the drive yet, so I have no idea what's been recorded either.

If Windows 10's diskpart does not allow you to convert the drive to GPT, try a live CD for gparted. That's how I've been partitioning mine. I tried converting another flash drive on my Windows 10 PC last night and it wouldn't allow me. There are other utilities on Windows that might help if you have a stubborn flash drive like the one I had. I had success with gptgen. (Remember to run the command line as Administrator.)
 

Galve2000

Active Member
May 20, 2013
1,025
328
NYC
The front driver side USB port I use to just charge my phone.
The front passenger side USB port has the USB hub plugged in. It is not powered. Well, no external power. I plug two SanDisk 8GB USB 2.0 into the hub. One for the TeslaCam and one for music files.

Thank you.. this is very helpful..
 

ScubaMal

Supporting Member
May 7, 2018
100
58
Bermuda Dunes, CA
I did do the GPT format first and followed all instructions on a new SanDisk 16gb Cruzer Fit CZ33. Works for a while and after parking I come back to see the "x" in the camera icon. Still getting errors on drive. Running error check and repairing drive fixes it for a while.
 

ceekz

Member
May 14, 2018
465
467
Sacramento, CA
Thank you for this detailed walk through to set up the TESLACAM partition. I'm no IT specialist but I excel at following directions. I didn't set up the other partition for music but might in the future. Can I use a Mac to set up my music if I created the partitions in Windows?

I have my primary driver phone (iPhone X) set up to charge in the driver's USB port. 4-USB hub in the passenger side with the micro C charger plugged in the tray and a second micro C on a longer cable, dangling so my husband can charge without removing his phone case and the USB drive also in the hub. Looking forward to testing it out!

This is a good opportunity for Tesla to design the console with more than 2 USB ports that connect to the car network!!!
 

EVnut

DARΞLL
Mar 24, 2009
1,587
1,217
Davis, CA
It is easier on a Mac because, unlike Windows, it won't refuse to format a partition larger than 32GB as FAT32. So the only tool you need is the disk utility -- no third party tools and no need to go to terminal.
Well, this is great news. And yet... after formatting my whole drive to FAT 32 (with no partition) I'm getting these corruption problems randomly. I'm not sure what the "fix" is supposed to be.
 

SpudLime

Active Member
Jun 10, 2018
1,420
2,452
Leesburg, Va
@SomeJoe7777

I dont need two partitions. but I want to format all 128 GB of my SanDisk. Since you said to NOT use the 3rd party utility to go bigger than 32GB. What do you recommend to format a single partition to 128 that "may" fix the corruption issue?
 

humbaba

sleeping until $7000
Aug 25, 2018
2,249
13,140
planet earth
Well, this is great news. And yet... after formatting my whole drive to FAT 32 (with no partition) I'm getting these corruption problems randomly. I'm not sure what the "fix" is supposed to be.
sorry, without a Tesla I can't really help you there.
 

SomeJoe7777

Marginally-Known Member
Mar 28, 2015
2,165
5,548
Houston, TX
I dont need two partitions. but I want to format all 128 GB of my SanDisk. Since you said to NOT use the 3rd party utility to go bigger than 32GB. What do you recommend to format a single partition to 128 that "may" fix the corruption issue?

The best recommendation I can muster is to not try to do so. Format it using my instructions in my tutorial post, but skip the DISKPART command to create the 2nd partition (create partition primary align=1024). Then skip the section for formatting the music partition.

This will result in just one 16GB partition for the DashCam. This is plenty for now, since the DashCam will only store 1 hour of footage from 1 camera. Total size for that is under 2 GB. That also leaves plenty of room to save footage.

If you really want to format the whole thing as FAT32 and give it a try, then the only partitioner and formatter I would trust to do that correctly would be the GParted live CD.

I might try this myself just to see what happens.
 
  • Helpful
Reactions: SpudLime

SpudLime

Active Member
Jun 10, 2018
1,420
2,452
Leesburg, Va
The best recommendation I can muster is to not try to do so. Format it using my instructions in my tutorial post, but skip the DISKPART command to create the 2nd partition (create partition primary align=1024). Then skip the section for formatting the music partition.

This will result in just one 16GB partition for the DashCam. This is plenty for now, since the DashCam will only store 1 hour of footage from 1 camera. Total size for that is under 2 GB. That also leaves plenty of room to save footage.

If you really want to format the whole thing as FAT32 and give it a try, then the only partitioner and formatter I would trust to do that correctly would be the GParted live CD.

I might try this myself just to see what happens.


Thanks for the response. I will think about your advice. Let me know how that tool works if you decide to do it.
 

NJturtlePower

Living the Dream, Driving the Future!
Dec 11, 2017
70
69
New Jersey
@SomeJoe7777

Ok so you had me up to step #9, but I am using a 32gb drive and when the two partitions were created only the TESLACAM one had a drive letter. Did I need to change the numbers used or something?

The command "create partition primary align=1024" did not work.

Tried to format/assign drive letter on second partition via disk management format tool with no success. Please Help! :confused:

Untitled.jpg


Untitled2.jpg
 

About Us

Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.

Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


SUPPORT TMC
Top