very dumb question regarding flash drive for OS

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

very dumb question regarding flash drive for OS

Postby regder » Wed Mar 07, 2012 5:53 am

I'm sure this is very stupid, but forgive my noobness. Do you need to use a usb flash drive or can I just use a regular usb external hard drive that I intend to use as a NAS
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: very dumb question regarding flash drive for OS

Postby moonman » Wed Mar 07, 2012 6:12 am

You can use the hdd.
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: very dumb question regarding flash drive for OS

Postby WarheadsSE » Wed Mar 07, 2012 1:22 pm

As a matter of fact, we recommend spinning rust over flash :geek:
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: very dumb question regarding flash drive for OS

Postby regder » Wed Mar 07, 2012 10:10 pm

Thanks guys, too bad I dropped my external drive this morning and killed it. Ooops

Need to find another now
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: very dumb question regarding flash drive for OS

Postby regder » Wed Mar 21, 2012 6:27 am

So finally got around to doing this. Unfortunately the Pogoplug doesn't want to boot Archlinux from the hard drive, just loads into the regular Pogoplug software. If I switch it back to my usb flash drive, it works fine.

Any ideas? I redid the install from step one btw

Thanks
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: very dumb question regarding flash drive for OS

Postby moonman » Wed Mar 21, 2012 6:38 am

Now that it boots into stock OS, re-do it from scratch. :) You must have missed a step. Also do you have anything else plugged in into USB ports? With my plug I have to have my boot drive connected to the very top USB port on the back for it to boot up.
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: very dumb question regarding flash drive for OS

Postby regder » Wed Mar 21, 2012 7:18 am

Tried again, no go :(

Only have the one 2tb drive plugged in to the top port, nothing else.
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: very dumb question regarding flash drive for OS

Postby moonman » Wed Mar 21, 2012 7:47 am

run these and show the output here:
$this->bbcode_second_pass_code('', 'fdisk -l')
$this->bbcode_second_pass_code('', 'cd /tmp
mkdir usb
mount /dev/sda1 usb
cd /tmp/usb
ls -l')
$this->bbcode_second_pass_code('', 'cd /tmp/usb/boot
ls -l')
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: very dumb question regarding flash drive for OS

Postby regder » Wed Mar 21, 2012 8:03 am

Disk /dev/sda: 2000.3 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 243197 1953479871 83 Linux

drwxr-xr-x 2 root root 4096 Jan 1 01:01 bin
drwxr-xr-x 2 root root 4096 Jan 1 01:01 boot
drwxr-xr-x 2 root root 4096 Jan 1 01:01 dev
drwxr-xr-x 34 root root 4096 Jan 1 01:01 etc
drwxr-xr-x 2 root root 4096 Dec 21 2011 home
drwxr-xr-x 10 root root 4096 Jan 1 2000 lib
drwx------ 2 root root 16384 Jan 1 00:53 lost+found
drwxr-xr-x 2 root root 4096 Dec 21 2011 media
drwxr-xr-x 2 root root 4096 Dec 21 2011 mnt
drwxr-xr-x 2 root root 4096 Dec 21 2011 opt
dr-xr-xr-x 2 root root 4096 Dec 21 2011 proc
drwxr-x--- 2 root root 4096 Jan 14 2012 root
drwxr-xr-x 2 root root 4096 Dec 21 2011 run
drwxr-xr-x 2 root root 4096 Jan 1 2000 sbin
drwxr-xr-x 4 root root 4096 Jan 1 2000 srv
drwxr-xr-x 2 root root 4096 Dec 21 2011 sys
drwxrwxrwt 2 root root 4096 Jan 14 2012 tmp
drwxr-xr-x 9 root root 4096 Jan 1 2000 usr
drwxr-xr-x 14 root root 4096 Jan 1 2000 var

-rw-r--r-- 1 root root 2851432 Jan 14 2012 uImage

thanks!
regder
 
Posts: 42
Joined: Fri Mar 02, 2012 12:21 am

Re: very dumb question regarding flash drive for OS

Postby moonman » Wed Mar 21, 2012 8:13 am

Ok, I your problem seems to be that your boot partition is >32GB. I *think* U-Boot has problems with large boot partitions.

Now start over from step 4 and create more partitions with fdisk. Make your first partition < 20 GB. Mine is 10GB :) Then continue with other steps as instructed in the guide.

EDIT: You will probably need a swap partition ~1 Gig, and the rest can be used to store whatever you want. So create 3 partitions with the sizes I specified. When you boot up ArchLinux you will need to format the Storage partition and make use of swap (in the guides)
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

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests