News:

Willkommen im Notebookcheck.com Forum! Hier können sie über alle unsere Artikel und allgemein über Notebook relevante Dinge disuktieren. Viel Spass!

Main Menu

Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25

Started by Redaktion, April 02, 2020, 14:25:14

Previous topic - Next topic

Redaktion

The Raspberry Pi 4 is a powerful SBC, but now you can add an NVMe drive to the Pi Foundation's latest device. Using the Realtek RTL9210 controller, an M.2 NVMe drive can be connected to a Raspberry Pi 4 via one of its USB 3.1 Type-A ports. Better yet, it costs less than US$25 to do.

https://www.notebookcheck.net/Raspberry-Pi-Add-an-M-2-2280-NVMe-drive-to-the-Raspberry-Pi-4-for-under-US-25.459711.0.html



DouglasLourey

There is a workaround to USB mass storage boot.  It still requires a SD memory card, but the operating system is loaded from USB mass storage.
Assumption: Your Raspberry pi is up and running.
1. Copy the current root drive to an image file.
2. Create a ext4 partition on the USB drive
3. Copy the image file to the new ext4 partition
4. Resize the partition to size desired using GPARTED.
5. Edit fstab files to mount the new partition as / (There are two of them)
6. Edit /boot/cmdline.txt and change /dev/mmcblk0p2 to /dev/sda1
Line six is the trick to boot from USB mass storage.
These are my notes for my Banana Pi, so some details must be changed for the Raspberry Pi, but both boards are similar.

Damien

So click bait headline.
Should read add USB 3 nvme adaptor for 5x the price of AliExpress.

Alex Alderson

Quote from: Damien on April 02, 2020, 19:10:35
So click bait headline.
Should read add USB 3 nvme adaptor for 5x the price of AliExpress.

Except it is not though is it?

"USB 3 nvme adaptor" returns the below. There are no equivalent adaptors that cost US$4.79 on AliExpress, unless I'm mistaken?

ProDigit

How dumb is that?
Corsair GTX line is a USB flash drive with SSD technology under the hood.
Or,
Get a USB 3.0 to Sata cable, and connect an SSD to it.
Much cheaper. But the Corsair works really well too.
In fact, most regular USB flash drives work well.

Robotbrain

Quote from: DouglasLourey on April 02, 2020, 18:15:29
There is a workaround to USB mass storage boot.  It still requires a SD memory card, but the operating system is loaded from USB mass storage.
Assumption: Your Raspberry pi is up and running.
1. Copy the current root drive to an image file.
2. Create a ext4 partition on the USB drive
3. Copy the image file to the new ext4 partition
4. Resize the partition to size desired using GPARTED.
5. Edit fstab files to mount the new partition as / (There are two of them)
6. Edit /boot/cmdline.txt and change /dev/mmcblk0p2 to /dev/sda1
Line six is the trick to boot from USB mass storage.
These are my notes for my Banana Pi, so some details must be changed for the Raspberry Pi, but both boards are similar.

BerryBoot makes this even easier and doable in a GUI, plus you can do multiboot easily. Leepspvideo has a quick video on YouTube about it.

This site won't let me post links, but it's called "EASY SSD Install Raspberry Pi 4. BerryBoot 2.0 part 2"

SUSHIL

I tried to run a web server over pi 4 B. Everything installed properly including LAMP and wordpress for my domain susthesurfer.com but i couldn't able to host due to port forwarding issues. I tried everything but port 80 always showing blocked in Port checker tool. Kindly help

susthesurfer

I tried to host my website susthesurfer.com on raspberry pi 4B all worked fine but i got stuck while port forwarding. I tried. Everything to forward port 80 on my mi3c router but it didn't worked for me. The port checker tool always shows port 80 is blocked. Can anyone help me?

haybobhagpants

Makes me wonder if we can somehow connect an external GPU to a laptop via the aforementioned USB 3 to PCIe adapters.

aditya

There are SBCs that support NVMe natively. These include:

* Rock Pi 4 from Radxa
* RockPro64 from Pine64

They are slightly more expensive than a Raspberry Pi 4, but offer better I/O and overall performance.

Software support used to be the achilles heel of such boards, but it has gotten better and many work with upstream Linux and mesa now.


radu

Quote from: susthesurfer on April 03, 2020, 04:03:19
I tried to host my website susthesurfer.com on raspberry pi 4B all worked fine but i got stuck while port forwarding. I tried. Everything to forward port 80 on my mi3c router but it didn't worked for me. The port checker tool always shows port 80 is blocked. Can anyone help me?
Maybe your ISP is blocking port 80? You can ask them.


Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Verification:
Please leave this box empty:

Shortcuts: ALT+S post or ALT+P preview