Quantcast
Viewing all articles
Browse latest Browse all 5402

Beginners • Re: "How to build a Raspberry Pi NAS" help


Ah. That one. While far from the worst I've seen it's not the best either (that's Building A Pi Based NAS but I'm biased coz I wrote it). The author clearly assumed that anyone following it would have exactly the same hardware in exactly the same initial state as they did so things break when you don't.
It's the Partition step that I was hung on. I don't recall mounting it, but perhaps that happens automatically. I ran

Code:

shutdown -r
and it restarted, but now doesn't show online. I feel like I should just image the card again to start over.

I doubt re-imaging the SD card will help unless you accidentally erased its contents. But then it wouldn't be booting at all.

The following commands may shed some light on the drive:

Code:

lsusblsblkdmesg|grep dev/sd
That tutorial appears to have assumed there will be no existing partition table and partition(s)
on the drive. If you're doing this in a logged in desktop and your drive was preformatted* (most USB sticks and "packaged"** drives these days are) the desktop would have mounted any partitions present when connected or if connected at boot shortly after the desktop has started.

You need to find the icon(s) created on youe desktop for the partition(s) and eject/unmount them before attempting to partition and format them.

*: usually with FAT32 or exFAT. Neither of which I'd recommend using with Linux unless you'll ever need to physically connect the drive to something that can only cope with those. Same goes for NTFS.
**: by which I mean drives purchased from the manufacturer already fitted into a case with a USB connection not bare drives later combined with a USB adapter or enclosure.

Statistics: Posted by thagrol — Mon Mar 25, 2024 1:24 am



Viewing all articles
Browse latest Browse all 5402

Trending Articles