Welcome! Log In Create A New Profile

Advanced

Install Debian on old GoFlex Home

Posted by valery 
Re: Install Debian on old GoFlex Home
February 03, 2019 11:18PM
Hi Bodhi,

I will have to procure a usb to sata adapter to connect the sata drive to my Laptop for executing above maneuver, which I will order.

Is there an alternate way to copy the required rootfs files without having to physically remove the drive from Goflex-Home box? I was wondering since I can access the sata drive which is running on Goflex-home box, via ssh as root from laptop running mint, is it possible to just copy the fresh rootfs file to the appropriate directory on the sata HDD and untar it, enter the required parameters, remove the Boot USB from GoFlex-Home Box and reboot, hoping that fresh rootfs on sata will take over?

Here is what I am thinking:

Since I am running Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 with uboot.2017.07-tld-1.goflexhome.bodhi.tar, on my GoFlex Home Box, I should be able to:

1) Login as root on different Linux machine.
2) Download and Copy Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 to appropriate directory of Sata HDD attached to GoFlex-Home Box .
(sudo scp Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 root@192.168.x.x:/appropriate Directory)

3) SSH via terminal to Goflex-home box which is booting from usb drive and login as root.
4) Untar this Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 file to the same directory.
(cd /sda1/appropriate Directory
tar -xjf Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2)

5) If needed make any configuration changes to boot from this new HD drive.
6) Shutdown the Goflex-home box.
7) Remove the usb flash drive from Goflex-home box.
8) Reboot the Goflex-home box.
9) Hopefully boot into a fresh Debian install running on Gflex-home sata.
10) Freshly install needed apps i.e. samba, transmission etc.

can this work?

Regards,

Navi



Edited 1 time(s). Last edit at 02/03/2019 11:40PM by Navi.
Re: Install Debian on old GoFlex Home
February 04, 2019 04:06AM
Navi,

> is it possible to just copy the
> fresh rootfs file to the appropriate directory on
> the sata HDD and untar it, enter the required
> parameters, remove the Boot USB from GoFlex-Home
> Box and reboot, hoping that fresh rootfs on sata
> will take over?

Yes. If it is the fresh rootfs then sure, it will work.

Your steps look good except step 4.

4) Untar this Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 file to the top directory. Assuming the HDD is mounted at /media/sda1.
cd /media/sda1
tar -xjf /media/sda1/appropriate Directory/Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 04, 2019 07:51AM
Hi Bodhi,

That worked. Now I am booting from HDD.

Few more questions:

1) Should I upgrade to linux-4.20.6-kirkwood-tld-1-bodhi.tar.bz2 ?
2) Is it possible to use some kind of splitter on Sata port to attach two HDDs to GoFlexHome?

Regards,

Navi



Edited 2 time(s). Last edit at 02/04/2019 12:45PM by Navi.
Re: Install Debian on old GoFlex Home
February 04, 2019 01:47PM
Navi,

> 1) Should I upgrade to
> linux-4.20.6-kirkwood-tld-1-bodhi.tar.bz2 ?

Yes. There are a lot of benefits in running the latest kernel.

> 2) Is it possible to use some kind of splitter on
> Sata port to attach two HDDs to GoFlexHome?

What you can do is to connect a SATA to eSATA cable, and use an eSATA enclosure for 2 HDDs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 06, 2019 12:45AM
Hi Bodhi,

Wanted to share a folder on network that contained torrents downloaded by transmission on GoFlexHome Box and accomplished this by doing the following:

----------------------------------------------
created folder TDownloads on sda2 mounted at /DataDisk1/TDownloads
Created a user debian-transmission
changed ownership of this folder to user debian-transmission

:/# adduser debian-transmission user
:/# mkdir TDownloads && chown debian-transmission:debian-transmission TDownloads

then changed default download location of transmission to /DataDisk1/Tdownloads.
Used Transmission to successfully downloaded torrent to this location.
Then wanted to share this folder on the Network so

edited smb.conf

:/# nano /etc/samba/smb.conf

(added the following to end of file to share directory /DataDisk1/TDownloads)

[TDownloads]
path = /DataDisk1/TDownloads
writeable = yes
browseable = yes
public = no
create mask = 0644
directory mask = 0755
force user = mr,xxxxxxx2

also changed Fstab file as follows:

:/# cd /etc/
:/# nano fstab

(added the following line)

/dev/sda2 /DataDisk1 ext3 defaults 0 0

But was not able to access the folder from windows until I changed permissions as follows:

:/# chmod -R 0777 /DataDisk1/TDownloads

Now I can do anything I want in this folder from windows system. But was wondering how secure this setup is and if it is exposing my GoFlexHome box and network to unnecessary online risk?

Regards,

Navi
Re: Install Debian on old GoFlex Home
February 06, 2019 03:35AM
Navi,

> Now I can do anything I want in this folder from
> windows system. But was wondering how secure this
> setup is and if it is exposing my GoFlexHome box
> and network to unnecessary online risk?

There is no online risk with Samba. It runs in your local network. As long as you don't open ports in your router (to access your home network remotely through the internet), then it is OK.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 06, 2019 10:42PM
Hi Bodhi,

Thanks to this forum and in particular due to you, now I have my GoFlexHome Box all setup with more functionality than the Stock OS was able to provide. I am sure that I will keep tinkering with this box and will have doubts that will be cleared by posting in this forum. Can you please give me some pointers for my "Things to do list" with GoFlexHome. Here is what I have in mind:

1) Power Saving Features.
2) GUI interface. ( Do you recommend XFCE? https://forum.doozan.com/read.php?2,21784 )
3) Customize LED lights. (would love to see Bluish-white light when HDD is up and running. Any wiki on this?).
4) Setup Swap File of 1Gb ( what is the ideal swapiness for a box like GoFlex Home? )

Regards,

Navi



Edited 1 time(s). Last edit at 02/06/2019 11:09PM by Navi.
Re: Install Debian on old GoFlex Home
February 07, 2019 01:18PM
Navi,

> 1) Power Saving Features.

Install and use cpufrequtils.

> 2) GUI interface. ( Do you recommend XFCE?
> https://forum.doozan.com/read.php?2,21784 )

Yes. XFCE has low memory footprint.

> 3) Customize LED lights. (would love to see
> Bluish-white light when HDD is up and running. Any
> wiki on this?).

No Wiki entry for this. But it is quite simple. See rootfs /etc/rc.local for the general setup examples. The GoFlex Home trigger for the HDD can be setup this way:

echo ide-disk1 > /sys/class/leds/status\:white\:misc/trigger
So add the above line to /etc/rc.local.

> 4) Setup Swap File of 1Gb ( what is the ideal
> swapiness for a box like GoFlex Home? )

Depend on the usage. If running XFCE GUI, swappiness 10 is recommended. If not running any remote desktop, use default swappiness of 80.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 08, 2019 07:13AM
Hi Bodhi,

Installed XFCE as instructed on the wiki ( https://forum.doozan.com/read.php?2,21784 ).
I am using RDC on windows 10 machine to connect to goflexhome box.
RDC initial Connection/login window does not offer option for sessman-xvnc. It just wanted Server name or Ip along with username and password.
When I connect to Goflex home all I see is black/gray screen.

RDC problem description:

After I initiate a connection to goflex box a black/gray screen appears with a notch on top showing thumbpin logo and ip address, few seconds later a connection log box on teal background appears stating:

--------------------------------------------------------------------
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
login failed for display 0
----------------------------------------------------------------------
Then I press ok button to close the box

now all I see is teal background and login window that has following options:

Session: Xorg, Xvnc, Console, vnc-any, sesman-any, rdp-any, neutrinordp-any.

I have tried all but nothing works.

Out of the above, "Xvnc" connection gives following in Connection Log Box:
------------------------------------------------------
connection to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
login successful for display 10
VNC started connection
VNC connecting to 127.0.0.1 5910
VNC error - problem connection
some problem
------------------------------------------------------------------------

What am I missing? Should I have implemented some prerequisites before installing xfce? I also installed tightvnc viewer on windows 10, tried to connect, but connection was refused.

Regards,

Navi

PS. Should I post this in ( https://forum.doozan.com/read.php?2,21784 )



Edited 2 time(s). Last edit at 02/08/2019 08:23AM by Navi.
Re: Install Debian on old GoFlex Home
February 08, 2019 12:52PM
I have not run XFCE desktop on these plugs for quite a long time. So not sure what you are seeing.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 10, 2019 01:02PM
Hi Bodhi,

after installing hdparm I used following command as root to set HD spindown time to 21 minutes on my GoFlex Home Box

------------------------------------------------------------------------------------------------
~# hdparm -S 255 /dev/sda

/dev/sda:
setting standby to 255 (21 minutes + 15 seconds)

and then used following command to retain hdparm settings after a software reset

:~# hdparm -K 1 /dev/sda

/dev/sda:
setting drive keep features to 1 (on)
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------

Am I safe in assuming that above commands have successfully changed HD spindown time to 21 minutes and that this setting will be retained even after reboot?

Regards,

Navi
Re: Install Debian on old GoFlex Home
February 10, 2019 01:57PM
Navi,

hdparm sets the spin down period permanently.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 11, 2019 05:42AM
Thanks Bodhi,

So the second command (:~# hdparm -K 1 /dev/sda) was unnecessary? Is there a way to reverse the changes that happened because of executing it?

How to confirm if the changes of first command (~# hdparm -S 255 /dev/sda ) are working? I can feel the drive and it has slight vibration even after 30 minutes.

Regards,

Navi
Re: Install Debian on old GoFlex Home
February 11, 2019 06:49AM
If your Debian root file system / swap is on sata drive, then sata drive is accessed often and it won't be able to power down. Change them to a small USB drive and then you can feel hdparm working on sata.
Re: Install Debian on old GoFlex Home
February 11, 2019 07:55AM
Thanks Daviddyer for pointing that out. My box is booting and running from the HD, so I guess there will be no benefit from( hdparm -S 255 /dev/sda) command. I was planning to leave the box on 24X and hoping for some HD power/life saving features would kick-in.

Regards,

Navi
Re: Install Debian on old GoFlex Home
February 11, 2019 08:38AM
Hi Bodhi,

Just upgraded Kernel to linux-4.20.6-kirkwood-tld-1-bodhi.tar.bz2.

(1) after the upgrade, I still see old kernel files! Below is the listing of files in /boot directory. Is this normal? Should I delete old files manually or leave them there?
----------------------------------------------------------------------
root@GoFlexHome:/boot# ls
.
..
System.map-4.12.1-kirkwood-tld-1
System.map-4.20.6-kirkwood-tld-1
config-4.12.1-kirkwood-tld-1
config-4.20.6-kirkwood-tld-1
dts
initrd.img-4.12.1-kirkwood-tld-1
initrd.img-4.20.6-kirkwood-tld-1
linux-4.20.6-kirkwood-tld-1.patch
linux-headers-4.12.1-kirkwood-tld-1_1.0_armel.deb
linux-headers-4.20.6-kirkwood-tld-1_1.0_armel.deb
linux-image-4.20.6-kirkwood-tld-1_1.0_armel.deb
uImage
uInitrd
vmlinuz-4.12.1-kirkwood-tld-1
vmlinuz-4.20.6-kirkwood-tld-1
zImage-4.12.1-kirkwood-tld-1
zImage-4.20.6-kirkwood-tld-1
-------------------------------------------------------------

(2) Also here is the printout of the upgrade process: (Should I be concerned about Highlighted lines?) Everything seems to be working ok.
-----------------------------------------------------------------------------------------------------------------
root@GoFlexHome:/boot# tar -xjf linux-4.20.6-kirkwood-tld-1-bodhi.tar.bz2
root@GoFlexHome:/boot# tar -xf linux-dtb-4.20.6-kirkwood-tld-1.tar
root@GoFlexHome:/boot# apt-get remove flash-kernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'flash-kernel' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@GoFlexHome:/boot# dpkg -i linux-image-4.20.6-kirkwood-tld-1_1.0_armel.deb
Selecting previously unselected package linux-image-4.20.6-kirkwood-tld-1.
(Reading database ... 80281 files and directories currently installed.)
Preparing to unpack linux-image-4.20.6-kirkwood-tld-1_1.0_armel.deb ...
Examining /etc/kernel/preinst.d/
Done.
Unpacking linux-image-4.20.6-kirkwood-tld-1 (1.0) ...
Setting up linux-image-4.20.6-kirkwood-tld-1 (1.0) ...

Hmm. There is a symbolic link /lib/modules/4.20.6-kirkwood-tld-1/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/4.20.6-kirkwood-tld-1/build


Hmm. The package shipped with a symbolic link /lib/modules/4.20.6-kirkwood-tld-1/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/4.20.6-kirkwood-tld-1/source


Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.20.6-kirkwood-tld -1 /boot/vmlinuz-4.20.6-kirkwood-tld-1
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.20.6-kirkwood-tld- 1 /boot/vmlinuz-4.20.6-kirkwood-tld-1
update-initramfs: Generating /boot/initrd.img-4.20.6-kirkwood-tld-1
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.20.6-kirkwood-tld- 1 /boot/vmlinuz-4.20.6-kirkwood-tld-1
root@GoFlexHome:/boot#
root@GoFlexHome:/boot# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 - e 0x00008000 -n Linux-4.20.6-kirkwood-tld-1 -d vmlinuz-4.20.6-kirkwood-tld-1 uIm age
Image Name: Linux-4.20.6-kirkwood-tld-1
Created: Mon Feb 11 19:04:30 2019
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4430104 Bytes = 4326.27 kB = 4.22 MB
Load Address: 00008000
Entry Point: 00008000
root@GoFlexHome:/boot# mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-4.20.6-kirkwood-tld-1 -d initrd.img-4.20.6-kirkwood-t ld-1 uInitrd
Image Name: initramfs-4.20.6-kirkwood-tld-1
Created: Mon Feb 11 19:05:03 2019
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 8177837 Bytes = 7986.17 kB = 7.80 MB
Load Address: 00000000
Entry Point: 00000000
root@GoFlexHome:/boot#
------------------------------------------------------------------------

Regards,

Navi



Edited 1 time(s). Last edit at 02/11/2019 08:41AM by Navi.
Re: Install Debian on old GoFlex Home
February 11, 2019 01:03PM
Navi,

Those are just warnings, you can safely ignore them.

After you have installed a few kernel versions, and want to remove older kernel, list them

dpkg -l | grep -i linux-image

And then remove them. For example, to remove linux-image-4.12.1-kirkwood-tld-1

dpkg --purge linux-image-4.12.1-kirkwood-tld-1

Do the same for kernel headers.

However, I would keep at least 2 working versions, in case you need to boot back to an older but working kernel, because the new one is broken for whatever reason.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 13, 2019 09:36AM
Hi Bodhi,

Installed Uncomplicated Firewall (ufw) ( https://wiki.debian.org/Uncomplicated%20Firewall%20%28ufw%29 ) on my GoFlex Home Box as follows:

(1) Typed this command into the terminal as a super user to install ufw:

# apt-get install ufw

However, simply installing the firewall did not turn it on automatically.

(2) Before I turned the firewall on, I made sure that I will have ssh access to GoFlex Home Box after turning the firewall on by editing the /etc/default/ufw file using nano as follows:

# nano /etc/default/ufw

changed DEFAULT_INPUT_POLICY="DROP" to DEFAULT_INPUT_POLICY="ACCEPT"

(3) and then turned the firewall on by typing:

# ufw enable

(4) After the firewall was turned on I made a rule to allow ssh connections from my subnet by typing following command:

(a) # ufw allow from 192.168.0.0/16

This allowed free access from my subnet to everything on my GoFlex box.

If you don't understand subnets then you can also use following command to enable ssh:

(b) # ufw allow ssh

but if you use option (b) then you will have to setup individual rules for each service/app that you may be using (i.e samba, transmission etc.)

(5) Now I turned off ufw by typing:

# ufw disable

(6) Next I edited the /etc/default/ufw file using nano to reverse the changes I had made in step (2) above:

# nano /etc/default/ufw

changed DEFAULT_INPUT_POLICY="ACCEPT" to DEFAULT_INPUT_POLICY="DROP"

(7) I restarted ufw by typing:

# ufw enable

That is it, now I have a secure GoFlex Home Box that I can freely access from my network!

Here is the output of ufw status verbose command

------------------------------------------------------------
root@GoFlexHome:~# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action From
-- ------ ----
Anywhere ALLOW IN 192.168.0.0/16
-------------------------------------------------------------

I am not sure if ufw was needed but I feel good after having installed it without a glitch.

Regards,

Navi
Re: Install Debian on old GoFlex Home
February 17, 2019 11:30AM
Navi Wrote:
-------------------------------------------------------
> Hi Bodhi,
>
> Installed XFCE as instructed on the wiki (
> https://forum.doozan.com/read.php?2,21784 ).
> I am using RDC on windows 10 machine to connect to
> goflexhome box.
> RDC initial Connection/login window does not offer
> option for sessman-xvnc. It just wanted Server
> name or Ip along with username and password.
> When I connect to Goflex home all I see is
> black/gray screen.
>
> RDC problem description:
>
> After I initiate a connection to goflex box a
> black/gray screen appears with a notch on top
> showing thumbpin logo and ip address, few seconds
> later a connection log box on teal background
> appears stating:
>
> --------------------------------------------------------------------
> connecting to sesman ip 127.0.0.1 port 3350
> sesman connect ok
> sending login info to session manager, please
> wait...
> login failed for display 0
> ----------------------------------------------------------------------
> Then I press ok button to close the box
>
> now all I see is teal background and login window
> that has following options:
>
> Session: Xorg, Xvnc, Console, vnc-any, sesman-any,
> rdp-any, neutrinordp-any.
>
> I have tried all but nothing works.
>
> Out of the above, "Xvnc" connection gives
> following in Connection Log Box:
> ------------------------------------------------------
> connection to sesman ip 127.0.0.1 port 3350
> sesman connect ok
> sending login info to session manager, please
> wait...
> login successful for display 10
> VNC started connection
> VNC connecting to 127.0.0.1 5910
> VNC error - problem connection
> some problem
> ------------------------------------------------------------------------
>
> What am I missing? Should I have implemented some
> prerequisites before installing xfce? I also
> installed tightvnc viewer on windows 10, tried to
> connect, but connection was refused.
>
> Regards,
>
> Navi
>
> PS. Should I post this in (
> https://forum.doozan.com/read.php?2,21784 )


Hi Bodhi,

Got VNC to work from windows on my Goflex home box.

First I removed everything I had installed previously to remotely access the goflex home box

# apt-get remove tightvncserver xrdp xfce4 xfce4-goodies xfonts-base x11-xserver-utils

then I installed following packages only:

# apt-get install xfce4 xfonts-base
# apt install tightvcserver

then changed /.vnc/xstartup

nano /.vnc/xstartup

removed:
xsetroot -solid grey
/etc/X11/Xsession

now the file looks like:

#!/bin/sh
xrdb $HOME/.Xresources
startxfce4 &


restarted vncserver and then connected from windows 10 system using vnc viewer from real vnc and ssh tunnel in putty.

and it worked!!! I am attaching the screen shot.

Regards,

Navi



Edited 1 time(s). Last edit at 02/17/2019 12:16PM by Navi.
Attachments:
open | download - Screenshot (45).png (581.8 KB)
Re: Install Debian on old GoFlex Home
February 17, 2019 03:11PM
Navi,

> First I removed everything I had installed
> previously to remotely access the goflex home box
>
> # apt-get remove tightvncserver xrdp xfce4
> xfce4-goodies xfonts-base x11-xserver-utils
>
> then I installed following packages only:
>
> # apt-get install xfce4 xfonts-base
> # apt install tightvcserver

It's basically the same packages being installed. The dependencies brought in all necessary packages this time.

>
> then changed /.vnc/xstartup
>
> nano /.vnc/xstartup
>
> removed:
> xsetroot -solid grey
> /etc/X11/Xsession
>

Now this is interesting! it means there was some changes in X11.


> now the file looks like:
>
> #!/bin/sh
> xrdb $HOME/.Xresources
> startxfce4 &
>
>
> restarted vncserver and then connected from
> windows 10 system using vnc viewer from real vnc
> and ssh tunnel in putty.
>
> and it worked!!!

Cool!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
February 28, 2019 09:53PM
Hello bodhi ! I just learned about linux. Can you tell me how to install the debian operating system on a goflex home device? Because I don't know where to start. Thanks so much !
Re: Install Debian on old GoFlex Home
March 01, 2019 04:36AM
pigbone,

The installation instruction requires some basic Linux knowledge (not for beginners). See if you are comfortable with this:

Debian installation
https://forum.doozan.com/read.php?2,12096

U-Boot installation
https://forum.doozan.com/read.php?3,12381

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Install Debian on old GoFlex Home
March 01, 2019 06:13AM
I will follow each step below right? Do you have any special instructions for goflex home ? Thanks Admin Bobhi !!!
Step 1 : Debian installation
https://forum.doozan.com/read.php?2,12096
Step 2 : U-Boot installation
https://forum.doozan.com/read.php?3,12381
Re: Install Debian on old GoFlex Home
March 01, 2019 07:16AM
Hi pigbone,

Here are some pointers and summary of how I installed debian on my GoFlex_home Box:
For
> Step 1 : Debian installation
> https://forum.doozan.com/read.php?2,12096

on that page just go to the "Updated 24 Jul 2017" and follow the instructions for that update.

> Step 2 : U-Boot installation
> https://forum.doozan.com/read.php?3,12381

If you will be upgrading your box from Stock OS then first you need to go to https://forum.doozan.com/read.php?3,27280 and download the U-Boot flashing utilities from the link provided on that page and place these files in Stock OS directories as mentioned in the post.

Whole process is very easy, once you get the hang of it. Don't hesitate to ask questions.

Have you already accessed your GoFlex_home using ssh?


Regards,

Navi
Re: Install Debian on old GoFlex Home
March 01, 2019 07:26AM
Navi

ok Thanks My friend !



Edited 1 time(s). Last edit at 03/01/2019 11:05AM by pigbone.
Re: Install Debian on old GoFlex Home
March 01, 2019 11:17AM
Navi Wrote:
-------------------------------------------------------
> Hi pigbone,
>
> Here are some pointers and summary of how I
> installed debian on my GoFlex_home Box:
> For
> > Step 1 : Debian installation
> > https://forum.doozan.com/read.php?2,12096
>
> on that page just go to the "Updated 24 Jul 2017"
> and follow the instructions for that update.
>
> > Step 2 : U-Boot installation
> > https://forum.doozan.com/read.php?3,12381
>
> If you will be upgrading your box from Stock OS
> then first you need to go to
> https://forum.doozan.com/read.php?3,27280 and
> download the U-Boot flashing utilities from the
> link provided on that page and place these files
> in Stock OS directories as mentioned in the post.
>
>
> Whole process is very easy, once you get the hang
> of it. Don't hesitate to ask questions.
>
> Have you already accessed your GoFlex_home using
> ssh?
>
>
> Regards,
>
> Navi

Hi Navi
In step 1, I can't type mkimage command, saying "command not found" error will ask you to support me
https://www.flickr.com/photos/130591582@N05/47196769102/in/dateposted-public/
https://www.flickr.com/photos/130591582@N05/33372959608/in/dateposted-public/
Re: Install Debian on old GoFlex Home
March 01, 2019 12:04PM
Hi pigbone,

Please confirm the platform you are executing step 1 on? are you using a system with linux?
I used a desktop running Mint 19 Live to execute the procedure to make bootable debian rootfs USB. Step 1 procedure can be done without having the Goflex_home box involved.

If your Linux box does not have mkimage, then install it by giving the following command:

apt-get install u-boot-tools

Regards,

Navi

PS: https://packages.debian.org/jessie/u-boot-tools



Edited 1 time(s). Last edit at 03/01/2019 12:47PM by Navi.
Re: Install Debian on old GoFlex Home
March 01, 2019 01:37PM
Hi My Friend !! I tried a lot of ways and still couldn't do it. I see on the page https://archlinuxarm.org/platforms/armv5/seagate-goflex-home very detailed instructions on installing Goflex home products. Can you guide me to install debian like this? I am available at donate floor 10-20 $ for your help.



Edited 1 time(s). Last edit at 03/01/2019 01:57PM by pigbone.
Re: Install Debian on old GoFlex Home
March 01, 2019 11:45PM
pigbone Wrote:
-------------------------------------------------------
> Can you guide me to install debian
> like this? I am available at donate floor 10-20 $
> for your help.

-------------------------------

Hi Pigbone,

The installation process link you provided for archlinuxarm installation uses Stock OS of Goflex home. I am not sure if that can be done for Debian version of Linux. (Bodhi may have more insight into this).

In our case we are going to first make a Debian Bootable USB on independent computer running linux. I am assuming you have access to a laptop running windows, therefore download linux mint or ubuntu and make a bootable live usb to run a mint or ubuntu live session.

1.) First download mint ISO file, choose the 64 bit or 32 bit version based on your laptop processor. ( I used 64 bit mate version, since my Laptop is running Window10 64 bit)

https://linuxmint.com/download.php

2.)Download Etcher, install it and then use etcher to make a bootable live USB. ( https://www.balena.io/etcher/ )

here is tutorial on how to do this:

https://linuxmint-installation-guide.readthedocs.io/en/latest/burn.html

3.) boot your Laptop using this Live USB. (After you have booted into Mint Live USB, make sure your Laptop is able to connect to the local network and internet either using wifi or LAN port on your Laptop).

4.) Launch terminal in mint

5.) Become root by giving following command:

sudo -i

6.) install mkimage (Make sure your Laptop is connected to the internet and then type following command in terminal):

apt-get install u-boot-tools

7.) Now plugin the USB stick you want to install debain rootfs on (into second USB port, do not remove Linux Live USB Stick) and follow the steps you were trying to do before.

https://forum.doozan.com/read.php?2,12096 (go to the "Updated 24 Jul 2017" and follow the instructions.) IMPORTANT: Make sure you change the name of the box in "cat dts/kirkwood-goflexnet.dtb >> zImage.fdt" from kirkwood-goflexnet.dtb to kirkwood-goflexhome.dtb )

after this you will have a USB stick with debain installed on it. Keep this USB stick aside for the time being and:

8.) Now you will need to install uboot on the GoFlex_Home box by following the instructions in:

U-Boot installation
https://forum.doozan.com/read.php?3,12381

BUT FIRST: Since you will be upgrading your GoFlex-Home box from Stock OS, you need to go to https://forum.doozan.com/read.php?3,27280 and download the U-Boot flashing utilities from the link provided on that page, then SSH to Goflex_Home Box and place these files in Stock OS directories as mentioned in the post.

Please attempt to do steps 1 to 6 above first and see if you are able to boot linux on your laptop and connect to internet. ( booting from live linux USB stick does not make any changes to your existing operating system, so it is safe)

Regards,

Navi



Edited 5 time(s). Last edit at 03/02/2019 11:33PM by Navi.
Re: Install Debian on old GoFlex Home
March 03, 2019 01:25AM
Hi Navi ! Thanks your support me !
At step 8: I still steal the usb to my laptop or plug in the goflex. Can you tell me more about this step ?
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: