This question already has an answer here:

Basically i’m asking if I need to buy a micro SD/USB adapter to format the micro SD on my PC (Windows) or if can can count on the Raspberry to connect on its own to my network (WiFi or Eth) and make the microSD card available to my connected PC...

marked as duplicate by Aurora0001, Milliways, Dmitry Grigoryev, Darth Vader Apr 9 '18 at 15:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The Pi3B+ is bootable from USB – Milliways Apr 9 '18 at 0:49

It's possible but it would be much easier just to get an adapter which are really cheap (probably £1 off eBay).

The possible way to do this is to remove the card from the Raspberry PI, setup network booting (this is not trivial but there are lots of tutorials around including on raspberrypi.org) and then insert the card once the PI has booted. The PI itself can then be used to format the card.

  • Of course you need a bootable Raspbian to setup network boot. – Milliways Apr 7 '18 at 11:47
  • Ideally maybe but you certainly don't need it. I used the downloaded Raspbian image and extracted the files directly from that using kpartx although there are other ways as well. – John Hawthorne Apr 7 '18 at 15:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.