Help -- PogoPlug not booting from USB drive

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

Re: Help -- PogoPlug not booting from USB drive

Postby Hypnosis4U2NV » Wed Sep 12, 2012 10:12 pm

Any idea why this won't take?

$this->bbcode_second_pass_code('', '[root@Pogoplug ~]# fw_setenv usb_rootfstype ext3
bash: fw_setenv: command not found
')
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help -- PogoPlug not booting from USB drive

Postby moonman » Wed Sep 12, 2012 10:26 pm

$this->bbcode_second_pass_code('', 'pacman -Sy uboot-env')
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: Help -- PogoPlug not booting from USB drive

Postby Hypnosis4U2NV » Wed Sep 12, 2012 10:28 pm

Thanks! Though still running an error:

$this->bbcode_second_pass_code('', '[root@Pogoplug ~]# fw_setenv usb_rootfstype ext3
Cannot parse config file: Invalid argument')
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help -- PogoPlug not booting from USB drive

Postby WarheadsSE » Wed Sep 12, 2012 10:42 pm

Installing the package said you had to edit the config, right?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Help -- PogoPlug not booting from USB drive

Postby moonman » Wed Sep 12, 2012 11:17 pm

Yes, sorry I forgot to mention this.

You need to edit /etc/fw_env.config and uncomment "/dev/mtd2 0x0000 0x20000 0x20000
" (just remove # preceding the line).

$this->bbcode_second_pass_code('', 'nano /etc/fw_env.config ')
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: Help -- PogoPlug not booting from USB drive

Postby Hypnosis4U2NV » Wed Sep 12, 2012 11:19 pm

Actually, it doesn't mention it but I really don't understand how or what to do with it when I do open it in an editor..

$this->bbcode_second_pass_code('', '>>> To print u-boot env please use fw_printenv
>> Configuration file located at /etc/fw_env.config
')

EDIT: Nevermind, just saw the post above.. Thanks!

$this->bbcode_second_pass_code('', '[root@Pogoplug ~]# fw_setenv usb_rootfstype ext3
Warning: Bad CRC, using default environment
')

?
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help -- PogoPlug not booting from USB drive

Postby moonman » Thu Sep 13, 2012 12:20 am

Ok comment out the first one and uncomment the second one. I can't remember which one you need for your device.
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: Help -- PogoPlug not booting from USB drive

Postby Hypnosis4U2NV » Thu Sep 13, 2012 12:26 am

OK, that got it to work.. I guess the Seagate Dockstar was the one that needed uncommenting.. Now off to do the tune2fs..
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help -- PogoPlug not booting from USB drive

Postby Hypnosis4U2NV » Thu Sep 13, 2012 12:35 am

Tried that command after unmounting the drive but it gave me an error:

$this->bbcode_second_pass_code('', 'Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 19077852 3840204 14268536 22% /
udev 762596 4 762592 1% /dev
tmpfs 308560 812 307748 1% /run
none 5120 0 5120 0% /run/lock
none 771396 400 770996 1% /run/shm
/dev/sdb1 153834852 1638496 144381940 2% /media/41d3f829-7498-4ebe-9653-c7ba67358264
pak@ubuntu:~$ umount /dev/sdb1
pak@ubuntu:~$ tune2fs -j /dev/sdb1
tune2fs 1.42 (29-Nov-2011)
tune2fs: Permission denied while trying to open /dev/sdb1
Couldn't find valid filesystem superblock.')

EDIT: Had to get into su and then do it.. Now it works..

$this->bbcode_second_pass_code('', 'root@ubuntu:/home/pak# tune2fs -j /dev/sdb1
tune2fs 1.42 (29-Nov-2011)
Creating journal inode: done
This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@ubuntu:/home/pak# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 19077852 3842064 14266676 22% /
udev 762596 4 762592 1% /dev
tmpfs 308560 816 307744 1% /run
none 5120 0 5120 0% /run/lock
none 771396 400 770996 1% /run/shm
root@ubuntu:/home/pak# fdisk -l

Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000acd55

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 38766591 19382272 83 Linux
/dev/sda2 38768638 41940991 1586177 5 Extended
/dev/sda5 38768640 41940991 1586176 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885184 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581807 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x93734e0e

Device Boot Start End Blocks Id System
/dev/sdb1 63 312576704 156288321 83 Linux
')

83 is EXT3 I assume..
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help -- PogoPlug not booting from USB drive

Postby Hypnosis4U2NV » Thu Sep 13, 2012 1:24 am

A couple of questions:
I had the Boot Drive plugged in the USB port in the front of the Pogoplug, plugged the other 2 drives in the back and it didn't boot.. Do I use the rear top USB port for the boot drive?

I plugged in just the boot drive in the top rear USB port by itself and then plugged in the other 2 drives after it booted from the drive (same scenario as I was having before converting it to ext3) but the 2 drives did not auto-mount.. In Webmin, I mounted them and set them to mount at boot and saved.. Is there anything funny you can see with the settings below:

Image

Here is my fstab configuration:

$this->bbcode_second_pass_code('', '#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
/dev/sdb1 /media/Elements ext3 user 0 0
/dev/sdc1 /media/Maxtor ext3 user 0 0
')

Should I add "auto" or "default" for the options of those drives?
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests