Welcome! Log In Create A New Profile

Advanced

Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware

Posted by mijoklein 
Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 04:49AM
Hi there,
i am a newbie trying to get Debian on the NAS326. I used the instruction C at the top of that thread. Unfortunatly the setenv-command is not available using PUTTY for the ssh on my NAS. So i was stopped very early :-( Has anybody an idea what to do ? Can I use the export-command ? Do i have the wrong firmware ? Thx a lot for your help...


Greetings
Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 08:03AM
Michael,

My bad, those should be fw_setenv. Copy/paste error :) let me revise section C.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/05/2019 08:04AM by bodhi.
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 08:07AM
I've revised section C to correct the typos.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 08:22AM
Hi bodhi,
thanks a lot for that.. Could you please give me a addional note where to and howto copy the 'Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2' file ?

Best regards
Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 09:47AM
Michael,

The instruction is in the release thread.
https://forum.doozan.com/read.php?2,32146

Scroll down to this section:

Quote

Updated 23 Aug 2017:

This Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 has been uploaded.

Basic Debian stretch armhf rootfs for most MVEBU Armada NAS:

- tarball size: 229M
- install size: 592M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: openssh-server, nano, avahi, libnss-mdns, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, locales, dialog, bzip2, nfs-kernel-server, nfs-common, iperf, ethtool, sysvinit-core, sysvinit, and sysvinit-utils, mtd-utils, u-boot-tools, rsync, pmount, i2c-tools, qemu-arm-static.

- see LED controls in /etc/rc.local
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-4.9.0-mvebu-tld-12-rootfs-bodhi.tar.bz2
md5:
dac69fb0c46d056ff96500f730e9d3d1
sha256:
0b9086dbb641c583eb1e10b7fd8d157abd4f1a1c5f7e772a6dffb75947620b20

And remember to check the hash of what you download, as always.


Installation:

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 10:47AM
Hi Bodhi,
again thanks a lot that you answer my stupid questions. But in this moment i have a running NAS with the HDs acting as one installed. Out of that situation, do i have to disassemble it an do a new format ? i don´t understand the installationpart you sended me. At that moment i can not do any of the commands like cd and so on the terminal. Thx for your patience ...

Greetings
Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 05, 2019 02:23PM
Michael,

If your HDD has the running system, then you should install the Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 on USB thumb drive. After it booted with USB successfully, you can reformat the HDD and copy it over.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/05/2019 02:24PM by bodhi.
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 06, 2019 03:09AM
Hi Bodhi,
Thank you very much. I will try it this way.

Greetings
Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 08, 2019 02:40PM
Hi Bodhi,
i got it running via USB :-) From this point, i formated the sda1-HD with an EXT3-Filessystem. Copying the tar file to the main directory and extracting it. Changing the env with fw_env and all the other things out of the tutorial. Now i can not get any connection to the NAS. What can I do ?

Greetings
Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 08, 2019 11:41PM
Michael,

If you could, connect serial console to make this easier. Without serial console, it's harder to troubleshoot booting problem.

ATM, if you cannot connect serial console soon (waiting for purchased parts to arrive), you can recover by:

1. Unplug the HDD and USB, power up. It will boot back to stock.
2. And then repeat the USB installation.

3. Before trying to setup to boot with HDD again, get the output of

dmesg
fw_printenv
And post the output here. I'll help to adjust the envs so that if USB is plugged in, it will boot that system, and if it is not it will boot HDD rootfs. That way you can always have a Debian system running and it'll make it a little easier to try the HDD installation.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 11, 2019 11:17AM
Hi Bodhi,
sorry for answering so late. I were bussy the last days. I don't know how to copy the whole message here.
I tried the installation a second time and i think i am wrong with the partinionĂ­ng an formating the hdd. I got 2 Hdds on sda and sdb. I can t get gparted running to do it right...

Thans for your help

Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 12, 2019 12:26AM
Michael,

Boot with the new USB rootfs.

Use command line parted to create one partion for the first HDD. And then use command line mkfs.ext3 to format it (also label it rootfs at the same time).

Leave the 2nd HDD as is.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 01/12/2019 12:38AM by bodhi.
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 12, 2019 04:46AM
Hi Bodhi,
bash says : command not found. When i try to install parted with 'apt-get install parted', i receive the message 'read-only file system'. I am root.

Greetings
Michael
Re: Installation on HD on a NAS326 with V5.21 (AAZF.3) Firmware
January 12, 2019 05:26AM
Michael,

Run these commands on your SSH terminal
dmesg
mount
cat /proc/mtd
fw_printenv
cat /etc/fw_env.config

And post the entire output here.

-bodhi
===========================
Forum Wiki
bodhi's corner
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: