Skip to content

DIY NAS

Turn an Old Laptop into a NAS – Step-by-Step 2026 Guide

Keywords: old laptop as nas, laptop nas build, turn laptop into nas, repurpose laptop nas, laptop nas setup

Most people have at least one old laptop sitting around somewhere. Maybe the screen is cracked, the battery is shot, or it's just too slow for modern web browsing. But the thing still works — the CPU is fine, it has 8 GB of RAM, and it runs Linux without a problem. So why not turn it into a NAS?

I've done this a few times, and honestly, a laptop makes a surprisingly good NAS. It's compact, draws less power than a desktop, and the built-in battery acts like a mini-UPS (at least until the battery dies completely). But there are some quirks you need to plan around. Let me go through it.


Why a Laptop Actually Works as a NAS

Before getting into the how, let's talk about why this makes sense.

  • Low power consumption. Most laptop CPUs idle at 5-15W. A desktop with the same capabilities might idle at 30-50W. Over a year of 24/7 operation, that difference adds up.
  • Built-in screen and keyboard. Useful for initial setup and troubleshooting. No need to borrow a monitor.
  • Compact size. A laptop takes up almost no space on a shelf. Try doing that with a mid-tower case.
  • Silent operation. Laptop fans are quieter than desktop fans, and under light NAS loads, many don't even spin up.

The trade-off is expansion. Laptops don't have SATA ports or PCIe slots, so you're working with USB for external storage. That's manageable — USB 3.0 is fast enough for most home NAS tasks — but it does limit how many drives you can connect. For the full breakdown on hardware options, check our 2026 used hardware guide.


What You Need Before You Start

The laptop

Any laptop from the last 8-10 years with at least:

  • Dual-core CPU (Intel i3/i5 4th gen or newer, any AMD Ryzen)
  • 8 GB RAM (4 GB technically works with OpenMediaVault, but you'll feel it)
  • Working USB 3.0 ports (this is critical for external drives)
  • Working Ethernet port (Wi-Fi is too unreliable for a NAS — use wired if at all possible)

If the screen is cracked or dead, that's fine. You can do the entire setup over SSH once the OS is installed. I've set up two NAS builds on laptops with completely broken screens.

Storage

A laptop usually has one internal drive bay. Here's the typical setup:

  • Internal SSD (120-256 GB): Run the OS from here. Any cheap SATA SSD works.
  • External USB drives: Bulk storage goes here. A USB 3.0 enclosure with a 3.5" drive inside is the standard approach. You can daisy-chain a few of them, but keep in mind each enclosure needs its own power supply — USB bus power isn't reliable for 3.5" drives.

If your laptop has a second drive bay (some older 15" models do), even better. Use it for a dedicated data drive.

Network

Wi-Fi is a dealbreaker for a NAS. The connection drops, bandwidth fluctuates, and you'll get random disconnections during file transfers. Either:

  • Use the built-in Ethernet port (most laptops have one).
  • Buy a USB 3.0 to Ethernet adapter ($15-25). The Realtek RTL8153-based ones work well on Linux.
  • For 2.5G, a USB 3.0 2.5G Ethernet adapter runs about $25 and gives a noticeable speed boost over gigabit.

Step 1: Choose Your NAS Operating System

For a laptop NAS, you've got three good options. The choice depends on your comfort level and what you want to do.

OSBest forRAM neededDifficulty
OpenMediaVaultBeginners, simple file sharing4 GBEasy
TrueNAS SCALEZFS, data integrity, Docker apps8 GB minimumMedium
Debian/Ubuntu ServerMaximum flexibility, manual setup2 GB minimumHard

My recommendation: if this is your first NAS, go with OpenMediaVault. It's Debian-based, lightweight, and the web UI handles everything. If you care about data integrity and want ZFS snapshots, TrueNAS SCALE is the way — just make sure you've got 8 GB of RAM. For advanced users who want full control, a plain Debian server with Samba works great too. Our NAS OS comparison guide covers all of these in more detail.


Step 2: Install the Operating System

Prepare a bootable USB

Download the ISO for your chosen OS and flash it to a USB drive. On Windows, use Rufus. On Mac or Linux:

sudo dd if=debian-12.iso of=/dev/sdX bs=4M status=progress

Make sure you pick the right drive — dd doesn't ask for confirmation.

Boot from USB

Plug the USB into the laptop and boot from it. On most laptops, you hit F12 (Dell), F9 (HP), or F12 (Lenovo) during startup to get the boot menu. If the USB doesn't show up, try disabling Secure Boot in BIOS first.

Install to internal drive

Follow the installer. When it asks where to install, pick the internal SSD. If you only have one drive, the OS and data will share it — that's fine for a small setup, but consider an external drive for data if you're storing anything important.

Enable SSH immediately

After installation, enable SSH so you can manage the laptop headless. On Debian/Ubuntu:

sudo apt install openssh-server
sudo systemctl enable ssh

OpenMediaVault enables SSH by default. TrueNAS SCALE has it in the UI under System > Services.


Step 3: Configure Storage

For OpenMediaVault

  1. Log into the web UI (default: http://<ip-address>)
  2. Go to Storage > Disks — verify your drives are detected
  3. Go to Storage > File Systems — create a filesystem on your data drive
  4. Go to Services > SMB/CIFS — enable it, then create shared folders under Shares

For TrueNAS SCALE

  1. Log into the web UI
  2. Go to Storage > Pools > Create Pool
  3. Create a mirror if you have two drives, or a single disk pool for one drive
  4. Create datasets for different purposes (media, backups, etc.)
  5. Under Sharing > SMB, create your shares

The key thing: always keep your OS drive and data drive separate. If you're using one internal drive for the OS, put your actual data on external USB drives.


Step 4: Deal with External USB Drives

This is where laptop NAS builds get a little tricky. Here's what to watch out for.

Mounting external drives

Linux will auto-mount USB drives when you plug them in, but you want persistent mounts that survive reboots. The best approach is to use /etc/fstab with UUIDs:

  1. Find the UUID: blkid /dev/sdb1
  2. Create a mount point: sudo mkdir -p /mnt/data
  3. Add to fstab: UUID=xxxx /mnt/data ext4 defaults,nofail 0 2

The nofail option is important — it prevents the laptop from hanging at boot if the external drive isn't plugged in.

Power considerations

USB bus power (from the laptop's USB ports) is not reliable for 3.5" drives. Always use externally powered USB enclosures. 2.5" portable drives can run on USB power, but they're slower and less reliable for 24/7 operation.

If you're connecting multiple drives, consider a powered USB hub rather than plugging everything into the laptop directly. Some laptops don't provide enough power across all USB ports simultaneously.


Step 5: Handle the Laptop-Specific Stuff

Disable sleep and hibernation

This is the most important step. If your laptop goes to sleep, your NAS goes offline. On Debian/Ubuntu:

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Also disable screen blanking and lid-close behavior in your desktop environment settings, or just run it headless without a desktop environment.

The lid

Close the lid, or tape it shut, or remove the lid entirely. You don't want it falling closed and triggering a sleep event. Some BIOS settings let you change what happens when the lid closes — set it to "do nothing."

The battery

If the battery still holds a charge, it acts as a UPS during brief power outages. That's actually a nice perk. But if the battery is swelling or degraded, remove it. A swollen battery is a fire risk, and a degraded one might cause unexpected shutdowns when the laptop switches from AC to battery. I've seen this cause data corruption on ZFS pools.

Temperature

Laptops have tighter thermal limits than desktops. Make sure:

  • The vents aren't blocked
  • The fan works
  • The CPU thermal paste hasn't dried out (on machines older than 5 years, repasting helps)

I use sensors on Linux to monitor temperatures. Idle temps above 60C suggest airflow problems.


Realistic Performance Expectations

A laptop NAS won't match a purpose-built desktop, but for most home uses it's more than enough.

  • SMB file transfers: You'll get 100-110 MB/s over gigabit, which saturates the connection. The laptop CPU isn't the bottleneck — the network is.
  • Plex streaming: A 4th-gen i5 can handle one or two 1080p streams. 4K transcoding will choke it. Use direct play instead.
  • Backups: Borg or Duplicati running nightly backups to the NAS works fine on modest hardware.
  • Docker containers: A few lightweight containers (Nextcloud, Pi-hole, Syncthing) run without issue. Don't expect to run a Kubernetes cluster.

When to Skip the Laptop and Go Desktop

A laptop NAS makes sense when you've got one sitting around and want a low-effort, low-power setup. But there are times to just use a desktop instead:

  • You need more than 4-5 external drives
  • You want ZFS with ECC memory support
  • You need 10G networking
  • You're running heavy Docker workloads or VMs

For those scenarios, check our 2026 used hardware guide or the hardware build lists for proper desktop NAS builds.


The Bottom Line

Turning an old laptop into a NAS is a genuinely practical project. It costs almost nothing, draws very little power, and handles everyday tasks like file sharing, backups, and media streaming without complaint. The main things to get right are: disable sleep, use wired Ethernet, use powered USB enclosures for drives, and keep the OS and data on separate drives.

If you've got a laptop collecting dust, give it a shot. Worst case, you've wasted an afternoon. Best case, you've got a working NAS that sips power and fits on a bookshelf.