Now create a single partition by accepting all the defaults (hit enter for each question): Command (m for help): n sudo fdisk /dev/sdaįirst wipe the existing partitions: Command (m for help): oĬreated a new DOS disklabel with disk identifier 0x7508d343. This is not always essential but ensures we have a known state on the disk. We will now use the fdisk tool to wipe out the existing partitions and create new ones. We can see the device or drive has the name sda - if you were to plug additional drives they would get the names sdb, sdc, sdd and so forth. I am working on a WDLabs NodeZero device which is a Pi Zero and 314GB HDD combined into single unit. Whatever you do avoid making changes to the drive named mmcblk0 because this is your SD card. The Linux command lsblk will list all bulk storage devices. The easiest way to identify your drive is to only plug one in at a time. Proceed only if you are comfortable working with the command line and have a backup of your data. So we will be formatting our drive with the EXT4 filesystem and using a unique label so that we can use multiple devices at the same time. The best option for most people will be to use the default settings Raspbian - the official Operating System from the Raspberry Pi Foundation. The PiDrive from WDLabs comes with splitter cable allowing a Pi and a HDD to be powered at the same time. In general - adding USB pen-drives will not consume noticeably more power. This may mean that your setup will need one PSU for the Raspberry Pi and an additional one per hard drive you add. Pictured: WDLabs NodeZero with 314GB HDD Pre-requisitesįor most USB hard drives you will need a power supply (PSU) capable of supplying at least 2.5A 5V, for some drives you may need even more power than this. It's likely that at some point you will need to plug in a USB hard drive or a USB pen-drive for extra storage, remote backups, for your Docker images or as part of a Network Attached Storage server. In this quick guide we'll show how to attach storage to your Raspberry Pi.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |