[Goflex Home 3TB] Newbie help

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

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Sun Mar 18, 2012 1:43 pm

I'm just going to try the USB solution first just to make sudr the uboot is ok.

I presume that building the usb is exactly the same as the HDD version except it is on the usb?
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Sun Mar 18, 2012 2:40 pm

Ok..... Finally some good news.
I have created a usb boot and it has booted, it has an ip address and I can ssh into it.

What do I need to do now??
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby JackDanielZ » Sun Mar 18, 2012 5:10 pm

Hi dannyp,

How did you create your usb? When I tried it, it didn't find the uInitrd file.

Daniel
JackDanielZ
 
Posts: 9
Joined: Sun Jan 22, 2012 12:29 pm

Re: [Goflex Home 3TB] Newbie help

Postby moonman » Sun Mar 18, 2012 11:07 pm

@dannyp See my last post on the last page on creating HMBR. Try different things and report back what works and what not
@Daniel boot up linux live cd, create an ext2/3 partition on USB drive, label it "rootfs", extract archlinuxarm tarball as root ("sudo su" then "tar xvzf <path to arch tar.gz> <path to the usb partition>") to it.
Last edited by moonman on Mon Mar 19, 2012 12:32 am, edited 2 times in total.
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [Goflex Home 3TB] Newbie help

Postby WarheadsSE » Sun Mar 18, 2012 11:14 pm

We actually suggest sudo su, then tar. (don't as why, it just doesn't always work as just sudo.)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 12:03 am

@Daniel, I did it exactly as moonman has indicated in the last post.

@moonman, I don't need the usb now. I can now ssh into a booted drive woohoo.

I installed gdisk then ran it. both partitions where type 0700 but the usb was 8300 so i used option 't' to change both partitions type code to 8300.

Then used option r for recovery and h for hybrid.

I put both partitions in the sequence, at 'Place EFI GPT partition first question I answered no. I used hex code 83 for both partitions giving the first the bootable flag and then answered no to the protect more patitions question. Then m for main menu and w to write.

Removed the usb and did reboot and the light flashed then went solid. ssh into the drive ok.
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby moonman » Mon Mar 19, 2012 12:28 am

Thanks for the tip WarheadsSE, fixed my post

Great, it boots up. Now check if the partitions are recognized at their full size.Run "df -h"
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: [Goflex Home 3TB] Newbie help

Postby dannyp » Mon Mar 19, 2012 12:36 am

Doesn't look like it.....hmmmmmmm

login as: root
root@192.168.1.20's password:
Last login: Mon Mar 19 00:31:56 2012 from danny.home
[root@alarm ~]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 2.0G 17G 11% /
/dev/root 20G 2.0G 17G 11% /
devtmpfs 61M 0 61M 0% /dev
run 61M 144K 61M 1% /run
shm 61M 0 61M 0% /dev/shm
tmpfs 61M 0 61M 0% /tmp
[root@alarm ~]#

can't see the 2.7TB partition but using gdisk it is there...

Command (? for help): p
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 709390A1-C9CE-4C4D-AE66-B17583A50FD1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 2048 41945087 20.0 GiB 8300 2 41945088
2 41945088 5860533134 2.7 TiB 8300 Linux/Windows data

any ideas???
Goflex Home 3TB Alarm
- SAMBA, MYSQL, SICKBEARD, COUCHPOTATO, HEADPHONES, WEBMIN, SABNZBD.

Goflex Home 2TB Alarm
- SAMBA, SUBSONIC, WEBMIN.

Raspberry PI Model B 512K
- RASPBMC
dannyp
 
Posts: 36
Joined: Wed Mar 14, 2012 8:45 am
Location: UK

Re: [Goflex Home 3TB] Newbie help

Postby tomcheng76 » Mon Mar 19, 2012 2:09 am

$this->bbcode_second_pass_quote('dannyp', 'D')oesn't look like it.....hmmmmmmm

login as: root
root@192.168.1.20's password:
Last login: Mon Mar 19 00:31:56 2012 from danny.home
[root@alarm ~]# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 2.0G 17G 11% /
/dev/root 20G 2.0G 17G 11% /
devtmpfs 61M 0 61M 0% /dev
run 61M 144K 61M 1% /run
shm 61M 0 61M 0% /dev/shm
tmpfs 61M 0 61M 0% /tmp
[root@alarm ~]#

can't see the 2.7TB partition but using gdisk it is there...

Command (? for help): p
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 709390A1-C9CE-4C4D-AE66-B17583A50FD1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 2048 41945087 20.0 GiB 8300 2 41945088
2 41945088 5860533134 2.7 TiB 8300 Linux/Windows data

any ideas???


congrats for ssh access :)
did you create the mount point in /etc/fstab ?
try
blkid /dev/sda2
tomcheng76
 
Posts: 130
Joined: Mon Dec 13, 2010 11:24 am

Re: [Goflex Home 3TB] Newbie help

Postby moonman » Mon Mar 19, 2012 4:32 am

Or if you want automounting to work
Label that 2.7 TB partition and install the udev-automount
$this->bbcode_second_pass_code('', 'tune2fs -L <partition name> /dev/sda2
pacman -S udev-automount')
reboot, then do df -h

after reboot you should be able to access the partition through /media/<partition name>
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: 3387
Joined: Sat Jan 15, 2011 3:36 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests