[Resolved] Goflex Home Successful Install: Now what?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Sun Dec 09, 2012 6:02 am

I'll take a crack at that once I get this laptop looked at. This method will always require the flash drive to be in the goflex correct? Hypothetically, if I were to flash the drive back to stock, and modify the original method of installing alarm to the correct configuration, would I eliminate that need, and keep from having to use an sata cable?
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Sun Dec 09, 2012 6:15 am

Well, you can keep the flash drive in all the time - then you won't have to do much extra. But what I had in mind is to use it to correct the partition table on the hdd using just your goflex for it instead of connecting the hdd to your computer. Beware though everything will be gone from your hdd either way if you want full 3TB of storage. So everything you did to get it to work will have to be redone.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Sun Dec 09, 2012 6:20 am

Cool, that will be the best method anyway. Since I have a better handle on how things work, it shouldn't be quite as cumbersome, and clearing the drive would eliminate any errors that may have been made. Those odd artifacts that were in the config file come from some quirk in how my computer handles copy paste through Google Chrome I discovered. May be some of those floating around, and some files that need not exist.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Sun Dec 09, 2012 6:22 am

Actually you don't even have to use you computer to create a flash drive with archlinuxarm, you can just use your goflex for it as well. :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby moonman » Sun Dec 09, 2012 6:23 am

I personally find chrome buggy for a lot of things as well. Firefox is prefered by me. Plus some tweaks for performance and adblock plus + DownThemAll plugins make it perfect :)
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Sun Dec 09, 2012 6:27 am

I tried to like Firefox. I really did, and when it works, it works well. For whatever reason though,on every system I've ever installed it one, it explodes. Something corrupts horribly and even after a clean wipe of the program, registry removal, a signed seal from the Vatican, it never comes back right.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Sun Dec 09, 2012 6:35 am

How do I go about getting the goflex to generate a flashdrive for me?
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Sun Dec 09, 2012 7:26 am

Well, with firefox what I do. Type in about:config into the address bar

search for cache
disable browser.cache.disk.enable

search for safebrowsing
and disable browser.safebrowsing.enabled and browser.safebrowsing.malware.enabled

then install adblock to rely on it instead of those 2 variables, and I also use opendns as it filters phishing urls

So to create a bootable flashdrive:
1. insert one into foflex

2. run dmesg |tail to see what it is (sda sdb sdc) - it should be sdb, but we want to make sure it is.

3. $this->bbcode_second_pass_code('', 'fdisk /dev/sdb')
(now I just copied these from installation instructions and modified a bit)

At the fdisk prompt, delete old partitions and create a new one:

Type o. This will clear out any partitions on the drive.
Type p to list partitions. There should be no partitions left.
Now type n, then p for primary, 1 for the first partition on the drive, and then press ENTER and ENTER, to accept the default values.
Exit by typing w.
4. $this->bbcode_second_pass_code('', 'mke2fs -j /dev/sdb1')
5.$this->bbcode_second_pass_code('', 'mount /dev/sdb1 /mnt')
6.$this->bbcode_second_pass_code('', 'cd /mnt
wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
tar xzvf ArchLinuxARM-armv5te-latest.tar.gz
rm ArchLinuxARM-armv5te-latest.tar.gz
sync #takes a while
cd /
umount /mnt')

now your flash drive is ready. shutdown goflex with "shutdown - now", remove the hdd and power cycle your goflex. When you can ssh in, insert the hdd back.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby moonman » Sun Dec 09, 2012 8:58 am

Now you need to repartition your 3TB drive.

See what your hdd is: either run "dmesg | tail" or "fdisk -l". Let's assume that now that you booted from usb, your hdd is sdb

1. mount it
$this->bbcode_second_pass_code('', 'mount /dev/sdb1 /mnt')

2. create backup
$this->bbcode_second_pass_code('', 'cd /mnt
tar cvzpf /backup.tar.gz . ')

3. unmount it
$this->bbcode_second_pass_code('', 'cd /
umount /mnt')

Now you need to repartition the hdd.

Install gdisk
4. $this->bbcode_second_pass_code('', 'pacman -Sy gdisk')

5. $this->bbcode_second_pass_code('', 'gdisk /dev/sdb')

d - delete partition #2

n for new partition, partition number 2, First sector: just press enter for defaults, last sector: +1G and type (Hex code or GUID) 8200 for swap

n for new partition, partition number 3, First sector: enter to use default, last sector: enter for default. Hex code or GUID: 8300 for linux partition

r for recovery, then h for hybrid mbr. In sequence put just 1. Answer N to Place EFI GPT partition first, for hex code press enter for defaults. For bootable flag answer Y. For "protect more partitions?" answer N.

m for main menu then w to write changes.

Now shut down the plug with "shutdown -h now", remove the flash drive and power cycle GoFlex

It should boot up now.

Now you need to create filesystem on the partition.

6.
$this->bbcode_second_pass_code('', 'mkswap /dev/sda2
mkfs.ext4 /dev/sda3')

7. edit fstab to reflect what you changed:
$this->bbcode_second_pass_code('', 'nano /etc/fstab')

Now in the line that you added, change
$this->bbcode_second_pass_quote('', '/')dev/sda2 /media/Storage ext4 noatime,data=ordered 0 2


to

$this->bbcode_second_pass_quote('', '/')dev/sda3 /media/Storage ext4 noatime,data=ordered 0 2


and add another line:

$this->bbcode_second_pass_code('', '/dev/sda2 swap swap defaults 0 0')

8. Reboot with "reboot" command

That's it
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Sun Dec 09, 2012 10:15 pm

I've been working on creating the flash drive for the past couple of hours now

I've made it to step 6
rm ArchLinuxARM-armv5te-latest.tar.gz
does not seem to do anything, and neither does sync, they each just continue on to the next line without any time delay or code generation as thought they are immediately done. Power cycling and waiting for it to boot from the flash drive does nothing. It won't boot at all with the flash drive in it, even after replacing the hard drive.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 253 guests