Welcome! Log In Create A New Profile

Advanced

help on installing debian (pgo not booting on it)

Posted by acognard 
acognard
help on installing debian (pgo not booting on it)
January 25, 2011 04:30PM
hi all, nice job here !
i tried to install debian using http://jeff.doozan.com/debian/ page. but my pink pogoplug does not boot on usb key.

i succesfully previously Install the new uBoot on mtd0 & Install Plugbox Linux (http://plugapps.com/index.php5?title=PlugApps:Pogoplug_Setboot).
But now, i would like to use debian.

Can u help me to solve it ? .
Sincerly,
Arnaud
Re: help on installing debian (pgo not booting on it)
January 26, 2011 02:55AM
See if your flash drive is on list of those that have worked or not worked. http://forum.doozan.com/read.php?2,1915

Try typing reboot at the pogoplug prompt.

If that doesn't work, type fw_printenv and post the output, and hopefully some wiser soul can help you out. See this thread http://forum.doozan.com/read.php?2,3568 for my recent experience.

Good luck.
Hello, tks for ur reply.
First, i started the pogoplug
Pogoplug:/$ ls -l
drwxr-xr-x    2 root     root            0 Nov  4  2009 bin
drwxr-xr-x    5 root     root            0 Feb 26  2008 dev
drwxr-xr-x    5 root     root            0 Jan  7  2011 etc
drwxr-xr-x    2 root     root            0 Nov  4  2009 lib
lrwxrwxrwx    1 root     root           11 Nov  4  2009 linuxrc -> bin/busybox
drwxr-xr-x    2 root     root            0 Dec 18  2008 mnt
dr-xr-xr-x   37 root     root            0 Jan  1  1970 proc
drwxr-xr-x    2 root     root            0 Jan  7  2011 root
drwxr-xr-x    2 root     root            0 Jan  1 00:14 sbin
drwxr-xr-x   10 root     root            0 Jan  1  1970 sys
drwxrwxrwt    3 root     root           80 Jan  1 00:00 tmp
-rw-r--r--    1 root     root       524288 Jan  7  2011 uboot-original-mtd0.kwb
drwxr-xr-x    7 root     root            0 Jan  6  2009 usr
lrwxrwxrwx    1 root     root            8 Nov  4  2009 var -> /tmp/var
and Secondly
Pogoplug:/$ reboot
But Many minutes later, nothing, not able to connect via ssh. LED is blocking on orange.
I think My usb key should work (verbatim - 4 Go), because i was ok using Plugbox Linux.

Pogoplug:/$ hdparm -tT /dev/sda
/dev/sda:
 Timing buffer-cache reads:  1324 MB in 3.00 seconds = 441.32 MB/sec
 Timing buffered disk reads:   29 MB in 3.10 seconds = 9.35 MB/sec
but some trouble :
Pogoplug:/$ lsusb
-bash: lsusb: command not found
Pogoplug:/$ dd count=100 bs=1M if=/dev/zero of=./test.img
dd: can't open './test.img': Read-only file system
Pogoplug:/$ fw_setenv
-bash: fw_setenv: command not found
Any idea ?
Tks in advance.
Arnaud
acognard
Re: help on installing debian (pgo not booting on it)
January 27, 2011 11:08AM
Hi all,
on more information :
Pogoplug:~$ fdisk -l

Disk /dev/sda: 3999 MB, 3999268864 bytes
82 heads, 18 sectors/track, 5292 cylinders
Units = cylinders of 1476 * 512 = 755712 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1        5281     3897369  83 Linux
/dev/sda2            5282        5292        8118  82 Linux swap
Hope this is correct ?
Sincerly
Re: help on installing debian (pgo not booting on it)
January 27, 2011 05:38PM
Your swap partition is very small. The recommendation is 256MB which would be 342 cylinders on your stick. But I don't think that would be a problem. What happened when you ran the installer? You can re-run the installer, it won't hurt anything. It's smart enough to figure out what was done and what wasn't.

Before you do that, try to mount /dev/sda1 and see if anything was installed on it. If the Pogo service is running, you'll need to "killall -q hbwd" and then disconnect and reconnect your stick again before trying to mount it.

The Pogo environment may not include lsusb. It's all pretty much busybox. Your dd test didn't work because the root file system gets mounted read only. You need to "mount -o remount,rw /" And fw_printenv and fw_setenv only work in Debian. The equivalent Pogo version is blparam.

http://www.plugapps.com/index.php5?title=Developers:_Pogoplug:_blparam
rat-netbook
Re: help on installing debian (pgo not booting on it)
January 27, 2011 09:12PM
kraqh3d Wrote:
-------------------------------------------------------
> Your swap partition is very small. The
> recommendation is 256MB which would be 342
> cylinders on your stick. But I don't think that
> would be a problem. What happened when you ran
> the installer? You can re-run the installer, it
> won't hurt anything. It's smart enough to figure
> out what was done and what wasn't.

That was what stuck out to me as well. I set mine to 64MB, though, and I very rarely end up getting close to 16MB of swap in use. I probably would just match the memory installed on system for a typical setup, though. (128 or 256MB)

Rerunning the installer after one has already installed the uBoot environment won't hurt anything as the script checks to see if it's already up to date. So by this point, I would repartition and make sure everything is sized appropriately and rerun the installer.
acognard
Re: help on installing debian (pgo not booting on it)
January 28, 2011 12:53PM
hi all, tks four all these informations.
by the way, my usb is well filled (i think it is)
Pogoplug:/tmp/usb$ ls -l
drwxr-xr-x    2 root     root         4096 Jan  1 00:48 bin
drwxr-xr-x    2 root     root         4096 Jan  1 00:50 boot
drwxr-xr-x    5 root     root         4096 Jan  1 00:48 dev
drwxr-xr-x   41 root     root         4096 Jan  1 00:50 etc
drwxr-xr-x    2 root     root         4096 Dec 14  2010 home
lrwxrwxrwx    1 root     root           33 Jan  1 00:48 initrd.img -> boot/initrd.img-2.6.32-5-kirkwood
drwxr-xr-x    9 root     root         8192 Jan  1 00:47 lib
drwx------    2 root     root        16384 Jan  1 00:29 lost+found
drwxr-xr-x    2 root     root         4096 Jan  1 00:35 media
drwxr-xr-x    2 root     root         4096 Dec 14  2010 mnt
drwxr-xr-x    2 root     root         4096 Jan  1 00:35 opt
drwxr-xr-x    2 root     root         4096 Dec 14  2010 proc
drwx------    2 root     root         4096 Jan  1 00:35 root
drwxr-xr-x    2 root     root         4096 Jan  1 00:49 sbin
drwxr-xr-x    2 root     root         4096 Jul 21  2010 selinux
drwxr-xr-x    2 root     root         4096 Jan  1 00:35 srv
drwxr-xr-x    2 root     root         4096 Jan  1  2011 sys
drwxrwxrwt    2 root     root         4096 Jan  1 00:49 tmp
drwxr-xr-x   10 root     root         4096 Jan  1 00:35 usr
drwxr-xr-x   13 root     root         4096 Jan  1 00:35 var
lrwxrwxrwx    1 root     root           30 Jan  1 00:48 vmlinuz -> boot/vmlinuz-2.6.32-5-kirkwood

I 'm going to re install it, with a correct fdsisk, & will let you know once done.
Sincerly.
Arnaud
acognard
Re: help on installing debian (pgo not booting on it)
January 29, 2011 01:29PM
Hi all, no positiv progress.
What i am sure is new debian installation is ok, and is seen on network (by a ping on it) and tracing using AirSnare.

so i am not able to connect using ssh ... and LED is fixing on orange.
Any idea ?
Regards.
Arnaud
acognard
Re: help on installing debian (pgo not booting on it)
January 29, 2011 05:19PM
hello everybody,
i am crazy now because of that (fu..) pogoplug ! too many hours trying to play with my debian :(
now, i am not able to connect to it using ssh :(.
i disconnect usb, switch off/on and led is green. but not able to use via my.pogoplug.com. anyway. i want to install a debian.
so, on my desktop now i read my usb and i get this :

# ls -l
ls: ne peut accéder selinux: Erreur d'entrée/sortie
total 88
drwxr-xr-x  2 root root  4096 jan  3  2000 bin
drwxr-xr-x  2 root root  4096 jan  3  2000 boot
drwxr-xr-x  5 root root  4096 jan  3  2000 dev
drwxr-xr-x 41 root root  4096 jan  3  2000 etc
drwxr-xr-x  2 root root  4096 déc 14 22:53 home
lrwxrwxrwx  1 root root    33 jan  1  2000 initrd.img -> boot/initrd.img-2.6.32-5-kirkwood
drwxr-xr-x  9 root root  8192 jan  3  2000 lib
drwx------  2 root root 16384 jan  1  2000 lost+found
drwxr-xr-x  2 root root  4096 jan  1  2000 media
drwxr-xr-x  2 root root  4096 déc 14 22:53 mnt
drwxr-xr-x  2 root root  4096 jan  1  2000 opt
drwxr-xr-x  2 root root  4096 déc 14 22:53 proc
drwx------  2 root root  4096 déc 14 22:53 root
drwxr-xr-x  2 root root  4096 jan  3  2000 sbin
d?????????  ? ?    ?        ?            ? selinux
drwxr-xr-x  2 root root  4096 jan  1  2000 srv
drwxr-xr-x  2 root root  4096 jan  1 06:54 sys
drwxrwxrwt  2 root root  4096 jan  3  2000 tmp
drwxr-xr-x 10 root root  4096 déc 28  2009 usr
drwxr-xr-x 13 root root  4096 jan  1 06:35 var
lrwxrwxrwx  1 root root    30 jan  1  2000 vmlinuz -> boot/vmlinuz-2.6.32-5-kirkwood

trying to install again using my pc and not pogo.
See u.
Arnaud
acognard
Re: help on installing debian (pgo not booting on it)
January 29, 2011 05:28PM
wouaah, good news for me : my pogo is accessible ! My webcam was off and dhcp gave webcam ip to my pogo :).
so, i continue by playing again tuto from my desktop...
Arnaud
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: