Welcome! Log In Create A New Profile

Advanced

NSA325 with OpenWRT installed

Posted by melos87 
NSA325 with OpenWRT installed
September 28, 2023 04:02PM
Hello, thanks to this forum, I managed to recover my bricked NAS and successfully installed OpenWRT. However, I'm interested in having a more recent version of Debian. Could you guide me? Currently, the system boots with U-Boot directly from NAND and then starts OpenWRT.AND and then starts OpenWRT.
Re: NSA325 with OpenWRT installed
September 28, 2023 04:07PM
Re: NSA325 with OpenWRT installed
September 28, 2023 04:24PM
Your link is about install openwrt. I want to install Debian
Re: NSA325 with OpenWRT installed
September 28, 2023 04:51PM
> Your link is about install openwrt. I want to
> install Debian

That has a section about how to dual boot OpenWrt and Debian.

Also see many other threads about dual booting Debian and Open Wrt in the Wiki Thread

https://forum.doozan.com/read.php?2,23630

Quote

Rescue Systems

Rescue System V2 (Original)
MacPlug & SMBPLug
Rescue System Pogo V3
Rescue System V4, using a custom LEDE firmware (BETA)
Rescue System for Pogo E02 using LEDE/OpenWrt (Install with Serial Console)
Rescue System for Pogo V4/Mobile using OpenWrt (Install with NetConsole)
Rescue System using OpenWrt on Kirkwood boxes

Rescue System using OpenWrt on OXNAS (Pogoplug V3 Classic and Pro)

============

Of course, if you don't want to keep OpenWrt at all, then see this (also in the Wiki thread)

Boot Kirkwood rootfs with stock u-boot

Basically treat OpenWrt u-boot like stock u-boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 09/28/2023 04:52PM by bodhi.
Re: NSA325 with OpenWRT installed
September 29, 2023 03:34AM
Ok, I did it. However, Debian only starts from the USB if I give the command; if I reboot, OpenWrt starts from NAND. How can I make Debian start directly from NAND without leaving the USB connected?
Re: NSA325 with OpenWRT installed
September 29, 2023 01:34PM
> Ok, I did it. However, Debian only starts from the
> USB if I give the command; if I reboot, OpenWrt
> starts from NAND.

You need to save the envs so that it will automatically boot into Debian on USB rootfs. If you are not sure, post the serial console log here (from u-boot banner until the Debian login prompt). The log is important to see what commands you entered, and which u-boot version you are running.


> How can I make Debian start
> directly from NAND without leaving the USB
> connected?

Debian rootfs is on USB, that's your whole system, so it must be attached and booted to. Your OpenWrt system is on NAND flash.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: