Monday, January 9, 2012

NAS 110/220/440 part 2: Install minidlna in Blackarmor 110 (linux debian)


Well, following previous post that we installed in our little NAS a linux distribution, why not use our little NAS as a DLNA Server? I personally prefer MiniDLNA as it uses less resources and less dependencies. But it is up to you.

I also have a minidlna deb file ready for your needs (so as not to compile everything from scratch). However you will need to configure the minidlna.init.script (put it in init.d folder) and the minidlna.conf files.
(minidlna_1.0.22-9-1-2011-1_armel.deb)

In case you want some newer packages/requirements and you don;t want to compile them for yourself, here they are:



1. minidlna.1.0.25-1_armel
2gettext_0.18.2-1_armel
3. m4_1.4.16-1_armel
4. automake_1.13.1-1_armel
5. autoconf_2.69-1_armel
6. checkinstall_1.6.2-1_armel

Update: Please click on one ad (no more as it may be considered as fake) in order to support my time compiling and finding the errors in compiling these packages. Thanks. :)

Delete everything in a disk... even the GPT partition table

First of all, fire up the gparted live cd/usb and load gparted (info here).

Delete every single partition from your drive one by one. (delete and apply).Close gparted app but don;t reboot
Now the hard part will be to delete the GPT partition table, that has various copied along the disk.
When the kernel unintentionally identifies a disk's GPT (GNU partition table) it can be hard to get that partition table removed since it is repeated several times accross the disk space. The trick is to change the partition table on disk to BSD; the partition table that is most commonly used on x86 systems. Fire up terminal Change patrition table to BSD

parted /dev/sdjm mklabel bsd 

Next, if you also require to remove the BSD label use the well known trick: Remove BSD label

sudo dd bs=1k count=1 if=/dev/zero of=/dev/sdjm 

Finally rescan partitions to update the kernel state. Rescan partitions

partprobe

Saturday, January 7, 2012

Nas 110/220/440 Part 1: Install Debian Lenny in NAS 110 BlackArmor Seagate

  The info below will void your warranty... I will not be held responsible for any damage caused to your unit.
(although rest assured, there are many who have done it and nothing bad has happened... but still you are taking chances, just take everything as I say, step by step and you will be great)
We will need PuTTY. Download it here.

1. Enable SSH on the Seagate Blackarmor 110 NAS

  •  1. Download the 'unofficial' service pack (SP42) and use the manual firmware upgrade process through the web interface:
     http://www.noerenberg.de/hajo/pub/sg2000-2000.1337.sp42.img

    Update: You have to rename the file to match the major model number of your NAS (sg1000-1000.1337.sp42.img for the 1xx series, sg4000-4000.1337.sp42.img for the 4xx series). (rename the file to correspond your NAS!)

Tuesday, January 3, 2012

How to hide a drive in Windows

This particularly useful when you want to hide the drive that Windows create as a Recovery Partition that enables system recovery without inserting the DVD. (nearly 100MB)

You could do it by editing registry.

Type regedit in start menu, then to HKEY_CURRENT_USER > Software\Microsoft\Windows\CurrentVersion\Policies\Explorer > NoDrives

Change REG_DWORD value. Values for the drives are:
A = 1
B = 2
C = 4
D = 8
E = 16
F = 32
G = 64
H = 128 etc., always double the last.

To hide several drives, add values together: for example value 40 hides drives D and F

source: here