goflex home boot only from usb

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

goflex home boot only from usb

Postby jtkarc » Sun Jan 13, 2013 9:55 pm

hello (sorry for my poor english)
last year i have succesfully 'linux' my goflex home with
http://archlinuxarm.org/platforms/armv5 ... oflex-home

i have done the same on my second goflex home 2To, but it dont want to start from disk.

- i cant do recovery with goflex_2_7_1_firmware
- it starts with GoFlexRescue on usb flashdisk (only if hard disk is removed)
after i can plug the hard disk and access to it (led is green solid)

i have tried to follow again http://archlinuxarm.org/platforms/armv5 ... oflex-home
but after /sbin/halt,
usb remove, the goflex always dont want to boot from hard disk.

could you tell me how to solve this?
is it uboot issue, or hard disk issue?

please
jtkarc
 
Posts: 2
Joined: Sun Jan 13, 2013 9:44 pm

Re: goflex home boot only from usb

Postby moonman » Sun Jan 13, 2013 11:19 pm

We would need netconsole log for both u-boot and kernel to figure out what the issue is. If you can boot from USB, don't follow the installation instructions anymore! You overwrite the U-Boot every time and eventually you may semi-brick or brick your device and it will be 1000x times more difficult to recover.

Boot from USB, when it boots insert your sata drive and repartition it and reinstall everything from scratch. Assuming that your USB flash drive and the sata drive are the only straoge devices attached and you didn't have SATA drive attached when booting, your sata drive should show up as sdb:

1.
$this->bbcode_second_pass_code('', 'fdisk /dev/sdb')

[Copying from installation instructions:]
$this->bbcode_second_pass_quote('', 'A')t 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, to accept the default value for the beginning of the partition and +20G for the next prompt.
Create a partition for the remainder of the drive. Type n, then p for primary, 2 for the second partition on the drive, and then press ENTER to accept the rest of the default values.
Exit by typing w.


2. $this->bbcode_second_pass_code('', 'mke2fs -j /dev/sdb1')

3. $this->bbcode_second_pass_code('', 'tune2fs -L "rootfs" /dev/sdb1')

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

5. $this->bbcode_second_pass_code('', 'cd /mnt
wget http://archlinuxarm.org/os/ArchLinuxARM-armv5te-latest.tar.gz
tar xvzf ArchLinuxARM-armv5te-latest.tar.gz
sync')

6. $this->bbcode_second_pass_code('', 'cd /
umount /mnt')

Now your sata drive should be bootable. We would still need to see netconsole log if it doesn't boot.
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 boot only from usb

Postby pepedog » Sun Jan 13, 2013 11:37 pm

Also if you want to shutdown/halt, use poweroff command
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: goflex home boot only from usb

Postby jtkarc » Mon Jan 14, 2013 7:33 am

thank moonman and pepedog, now it works!!!
i was working on sda, but the hard disk is on sdb when usb flash is connected.

thanks again!
jtkarc
 
Posts: 2
Joined: Sun Jan 13, 2013 9:44 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests