Reply
Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

 

deltaray,

 

my SP does only modifies md0 and md2, the data partition remains untouched. If you insert blank disks into the NAS, the original Seagate FW gets installed.

 

Disclaimer: I do not guarantee anything, your NAS may get bricked, make backups, don't cross the street at a red light, be nice to your grandma.

 

Hajo

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Visitor
eschumann
Posts: 1
Registered: ‎02-12-2011
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

Thanks for a lot of fun, Hajo! this is really great. I installed your SP yesterday evening around 19 and three hours later everything basic was running like a charm (samba, webmin, raid1 etc)

 

Now I want to  do some more things with the box, but as I understand it you're using the original kernel? Right?

 

Problem is that I would like to install some more kernel modules to be able to access cifs shares and to set up an ipsec vpn conection. Any chance to re-compile the kernel and get the needed modules or should I forget that project?

 

Any ideas?

 

Cheers, Erik

Regular Visitor
deltaray
Posts: 6
Registered: ‎11-10-2010
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

[ Edited ]

hehe I am always nice to my grandma xD

The update on my Blackarmor NS110 went perfect, I had to recreate the "Public" share folder, because deleted it earlier, but then it worked.

 

Awesome thank you so much for this installation package!

 

 

Regular Visitor
deltaray
Posts: 6
Registered: ‎11-10-2010
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

AWESOME!!!!!!!!

 

With the original Seagate Linux System, I had about 12-14MB/s transfer rate.

With your Debian adapted version and a default Samba installation (no tweaks at all), I already get 30-35MB/s transfer rate, stable!

 

Again, thanks so much for installatio package, I owe you a beer :smileyvery-happy:

 

Visitor
Autobahn
Posts: 1
Registered: ‎02-13-2011
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

[ Edited ]

First of all..thanks Hajo for the effort!

 

 

I have installed the Debian onto a 110. Installed Webmin and it worked, at least the installation. I´m not a Linux pro, what ever. This leads to my question.

Have anyone tried the rollback/fallback option to open the 110, inserting a blank drive, and got the NAS working with the old firmware/software again?

 

If so, can anyone advice how to proceed?

 

Thanks in advance!

 

Bahn

 

EDIT! Just dropped a blank Drive into it and it´s exactly like descriped by Hajo...It just took time! The normal Seagate WebGUI is available. Awesome!

 

EDIT2 :-) .....Can one of the Pro´s maybe describe how to set up the Samba share within webmin to get access to the "big data partition" to access it via Windows. The default folder I used before was named "Download".

 

 

Regular Visitor
deltaray
Posts: 6
Registered: ‎11-10-2010
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

[ Edited ]

I have installed Webmin from this source, edit your /etc/apt/sources.list and add:

 

deb http://download.webmin.com/download/repository sarge contrib

 

This will install at least webmin version 1.530

 

 

Not sure if this version can mount large partitions, however you can do it yourself rather easily.

I mounted md3 to my /home directory by adding this into /etc/fstab:

 

/dev/md3                /home           ext3    defaults                0       2

 

 

 

Once you have mounted the data partition on /home, you can easily create linux users and configure shares for them.

Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

 

eschumann,

 

it is not possible to use the vanilla Linux kernel sources. You have to use the Linux kernel with Marvell patch (MV) for device driver (networking ...) support.The sources are available from the Seagate website (GPL downloads). So far, I've compiled two extra modules (tun.ko for openvpn and iscsi_trgt.ko for iscsi, both are shipped with my SP).

 

If you want to recompile and change the complete kernel image, I strongly to suggest to use a serial cable and netboot the kernel/system via network (see my webpage on how to do that).

 

Hajo

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Regular Visitor
ArrowP
Posts: 4
Registered: ‎02-16-2011
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

This is amazing, really.

 

Before I proceed, did anyone try with encrypted drives?

 

I'm using RAID5 with encryption, so I wonder how i'm going to authenticate to mount the drives.

 

Regards,

 

A.

Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

 

ArrowP,

 

untested, but this may work (dm-crypt):

 

cryptsetup luksOpen /dev/mapper/vg0-lv0 lv0dmcrypt < /path/to/usbstick/keyfile

mount /dev/mapper/lv0dmcrypt /mnt/your/mount/point

 

Hajo

 

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Regular Visitor
ArrowP
Posts: 4
Registered: ‎02-16-2011
0

Re: Install Debian GNU/Linux 5.0.7 (Lenny) on the Blackarmor 220 NAS - Solution

thanks, i just installed ssh.

 

i'll run a backup of my most important stuff and get things ready for a smooth transition