Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Adam Holt
> My dream is an RPi3 based schoolserver with a 1TB (or 2TB) external
hard-drive at under $150 (about 1/3 of NUC-based server).

Or $35 RPi4 in 2020 which might even raise your hard-disk transfer rate
well above the current USB2 theoretical max of 60 MBytes/sec -- just don't
count on SATA or NMVe or M.2 (:

My point earlier was simply that well-meaning people who are unfamiliar
with the developing world (quite the opposite of Tony Anderson) should
avoid wasting their money buying $68 400GB
 and $130 512GB
 microSD cards for Raspberry Pi...the
reasons are not always obvious in the rich world:

   1. Tiny $~100 items (a microSD card is smaller than a penny) can
   "silently disappear" in classrooms/countries where that represents a
   month's salary.  Recriminations across the school become very serious in
   cases of theft, sometimes resulting in cancellation of their computer
   program.  Yep "thoughtless generosity" can frequently backfire.
   2. Even the temptation of theft can create dangerous social disruption
   in impoverished schools/countries especially -- whereas a wealthy volunteer
   typically won't give a thought to $100, not realizing this is equivalent to
   leaving $10,000 in cash completely unprotected in a classroom in a rich
   part of the world -- e.g. in places like NY City where teachers salaries of
   $100,000 to $120,000/year exist (and are no longer uncommon).
   3. A USB hard disk can be a much better use of funds than a microSD card
   among groups that want a "full library experience" (as you point out).
   Particularly if they have people who are experienced/intelligent enough
   (like yourself) to fill those TB disks with high-quality and
   locally-relevant local-language materials.  Conversely I've met many
   well-meaning NGO's and govts who do not have a clue how to fill even a
   fraction of their 1TB disks with pedagogically relevant/useful/legal OER's
   (open educational resources) *so our road remains long :)*

--
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Tony Anderson

Hi, Adam

As you know this is an area where we agree to disagree. Currently the 
schoolserver's valid, useful content exceeds 500GB. I really do not want 
to get into the game of deciding what is worthwhile and what is not. It 
is clear that the planned expansion of OSM will require increased 
capacity. If local content is seriously supported, the amount will 
increase even further. At one time OLPC estimated storage of the Journal 
would take 2GB per XO. A typical Rwanda school has 200 XOs potentially 
requiring 400GB of additional space.


My dream is an RPi3 based schoolserver with a 1TB (or 2TB) external 
hard-drive at under $150 (about 1/3 of NUC-based server).


Tony

On 3/20/19 9:26 AM, Adam Holt wrote:
On Tue, Mar 19, 2019 at 9:22 PM Adam Holt > wrote:


Thanks Tony.

Another option is to buy a $19.99 128MB 100 MByte/sec microSD @
https://amazon.com/dp/B06XWZWYVP

I meant $19.99 128*GB*

Or a $39.99 256GB 100 MByte/sec microSD @
https://amazon.com/dp/B072HRDM55

The 400GB, 512GB and 1GB cards are completely excessive &
irrelevant for impoverished nations especially  unless you
happen to be a rich photographer/videographer of course, and want
to donate your time to an important cause in which case do let us
know...we will happily put your skills (and dollars) to work for a
more purposeful cause.


I meant 1*/TB/*



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Adam Holt
On Tue, Mar 19, 2019 at 9:22 PM Adam Holt  wrote:

> Thanks Tony.
>
> Another option is to buy a $19.99 128MB 100 MByte/sec microSD @
> https://amazon.com/dp/B06XWZWYVP
>

I meant $19.99 128*GB*

Or a $39.99 256GB 100 MByte/sec microSD @ https://amazon.com/dp/B072HRDM55
>
> The 400GB, 512GB and 1GB cards are completely excessive & irrelevant for
> impoverished nations especially  unless you happen to be a rich
> photographer/videographer of course, and want to donate your time to an
> important cause in which case do let us know...we will happily put your
> skills (and dollars) to work for a more purposeful cause.
>

I meant 1*TB*


> On Tue, Mar 19, 2019 at 9:04 PM Tony Anderson 
> wrote:
>
>> Hi, Gerhard
>>
>> The trick is to separate the server software from the content. Install
>> the basic IIAB on a smaller SD card (e.g. 16GB). Then mount the 128GB
>> usb drive (mount /dev/sdb1 /media/usb0 for example). IIAB expects the
>> content to be in /library. This should be possible by a symbolic link
>> such as /media/usb0/XC /library. XC is a folder containing the content
>> whereas usb0 is a partition. The original installed content in /library
>> on the sd card needs to be copied to the XC folder on the USB stick
>> before the symbolic link is made. In principle, Ansible should recognize
>> the /library (XC folder) and operate as expected.
>>
>> Tim Moody has an img of the basic installation which should be perfect
>> to set up the SD card (simple dd). I am looking forward to trying that.
>> I am hoping that the img sets the 'box' (hotspot). This should mean
>> everything can be done headless via ssh.
>>
>> As always, it will be an adventure.
>>
>> Tony
>>
>> On 3/20/19 5:29 AM, server-devel-requ...@lists.laptop.org wrote:
>> > Send Server-devel mailing list submissions to
>> >   server-devel@lists.laptop.org
>> >
>> > To subscribe or unsubscribe via the World Wide Web, visit
>> >   http://lists.laptop.org/listinfo/server-devel
>> > or, via email, send a message with subject or body 'help' to
>> >   server-devel-requ...@lists.laptop.org
>> >
>> > You can reach the person managing the list at
>> >   server-devel-ow...@lists.laptop.org
>> >
>> > When replying, please edit your Subject line so it is more specific
>> > than "Re: Contents of Server-devel digest..."
>> >
>> >
>> > Today's Topics:
>> >
>> > 1. Raspberry Pi Model B3+ - booting from big USB Stick - failure
>> >(Internet Box)
>> > 2. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
>> >failure (Adam Holt)
>> > 3. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
>> >failure (Adam Holt)
>> > 4. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
>> >failure (Adam Holt)
>> >
>> >
>> > --
>> >
>> > Message: 1
>> > Date: Tue, 19 Mar 2019 21:54:29 +0100
>> > From: Internet Box 
>> > To: server-devel@lists.laptop.org
>> > Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
>> >   Stick - failure
>> > Message-ID:
>> >   <
>> canophhbjmdrisoddwbjkfs8guukjsz71p_v15t-ymoeb9lo...@mail.gmail.com>
>> > Content-Type: text/plain; charset="utf-8"
>> >
>> > Hello all,
>> >
>> > i am gerhard from berlin and i am experimenting with iiab
>> >
>> > i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
>> > (costs are only 18€)
>> > ok
>> > then i wanted to let work this magic sentence
>> >
>> > curl d.iiab.io/install.txt | sudo bash
>> >
>> > but i got an error message in the beginning:
>> >
>> > tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
>> /dev/mmcblk0p2
>> > zu öffnen
>> > Es kann kein gültiger Dateisystem-Superblock gefunden werden.
>> > root@raspberrypi:/home/pi#
>> >
>> > so i stick in this.
>> >
>> > any solution for this problem
>> >
>> >
>> > regards
>> >
>> > gerhard. MD
>> >
>> > Berlin
>> > -- next part --
>> > An HTML attachment was scrubbed...
>> > URL: <
>> http://lists.laptop.org/pipermail/server-devel/attachments/20190319/f56163fd/attachment-0001.html
>> >
>> >
>> > --
>> >
>> > Message: 2
>> > Date: Tue, 19 Mar 2019 17:09:35 -0400
>> > From: Adam Holt 
>> > To: Internet Box 
>> > Cc: server-devel 
>> > Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
>> >   USB Stick - failure
>> > Message-ID:
>> >   <
>> cahabugftqkvyeukchwd6edk7x2shrogvtbi7glrxn+++-ev...@mail.gmail.com>
>> > Content-Type: text/plain; charset="utf-8"
>> >
>> > On Tue, Mar 19, 2019 at 4:54 PM Internet Box <
>> internet.in.a.b...@gmail.com>
>> > wrote:
>> >
>> >> Hello all,
>> >>
>> >> i am gerhard from berlin and i am experimenting with iiab
>> >>
>> >> i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
>> >> (costs are only 18€)
>> >> ok
>> >> then i wanted to let work this magic sentence
>> >>
>> >> curl d.iiab.io/install.txt | sudo bash
>> >>
>> >> but i got an error 

Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Adam Holt
Thanks Tony.

Another option is to buy a $19.99 128MB 100 MByte/sec microSD @
https://amazon.com/dp/B06XWZWYVP

Or a $39.99 256GB 100 MByte/sec microSD @ https://amazon.com/dp/B072HRDM55

The 400GB, 512GB and 1GB cards are completely excessive & irrelevant for
impoverished nations especially  unless you happen to be a rich
photographer/videographer of course, and want to donate your time to an
important cause in which case do let us know...we will happily put your
skills (and dollars) to work for a more purposeful cause.


On Tue, Mar 19, 2019 at 9:04 PM Tony Anderson  wrote:

> Hi, Gerhard
>
> The trick is to separate the server software from the content. Install
> the basic IIAB on a smaller SD card (e.g. 16GB). Then mount the 128GB
> usb drive (mount /dev/sdb1 /media/usb0 for example). IIAB expects the
> content to be in /library. This should be possible by a symbolic link
> such as /media/usb0/XC /library. XC is a folder containing the content
> whereas usb0 is a partition. The original installed content in /library
> on the sd card needs to be copied to the XC folder on the USB stick
> before the symbolic link is made. In principle, Ansible should recognize
> the /library (XC folder) and operate as expected.
>
> Tim Moody has an img of the basic installation which should be perfect
> to set up the SD card (simple dd). I am looking forward to trying that.
> I am hoping that the img sets the 'box' (hotspot). This should mean
> everything can be done headless via ssh.
>
> As always, it will be an adventure.
>
> Tony
>
> On 3/20/19 5:29 AM, server-devel-requ...@lists.laptop.org wrote:
> > Send Server-devel mailing list submissions to
> >   server-devel@lists.laptop.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >   http://lists.laptop.org/listinfo/server-devel
> > or, via email, send a message with subject or body 'help' to
> >   server-devel-requ...@lists.laptop.org
> >
> > You can reach the person managing the list at
> >   server-devel-ow...@lists.laptop.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Server-devel digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Raspberry Pi Model B3+ - booting from big USB Stick - failure
> >(Internet Box)
> > 2. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
> >failure (Adam Holt)
> > 3. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
> >failure (Adam Holt)
> > 4. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
> >failure (Adam Holt)
> >
> >
> > --
> >
> > Message: 1
> > Date: Tue, 19 Mar 2019 21:54:29 +0100
> > From: Internet Box 
> > To: server-devel@lists.laptop.org
> > Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
> >   Stick - failure
> > Message-ID:
> >   <
> canophhbjmdrisoddwbjkfs8guukjsz71p_v15t-ymoeb9lo...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hello all,
> >
> > i am gerhard from berlin and i am experimenting with iiab
> >
> > i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
> > (costs are only 18€)
> > ok
> > then i wanted to let work this magic sentence
> >
> > curl d.iiab.io/install.txt | sudo bash
> >
> > but i got an error message in the beginning:
> >
> > tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
> /dev/mmcblk0p2
> > zu öffnen
> > Es kann kein gültiger Dateisystem-Superblock gefunden werden.
> > root@raspberrypi:/home/pi#
> >
> > so i stick in this.
> >
> > any solution for this problem
> >
> >
> > regards
> >
> > gerhard. MD
> >
> > Berlin
> > -- next part --
> > An HTML attachment was scrubbed...
> > URL: <
> http://lists.laptop.org/pipermail/server-devel/attachments/20190319/f56163fd/attachment-0001.html
> >
> >
> > --
> >
> > Message: 2
> > Date: Tue, 19 Mar 2019 17:09:35 -0400
> > From: Adam Holt 
> > To: Internet Box 
> > Cc: server-devel 
> > Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
> >   USB Stick - failure
> > Message-ID:
> >   <
> cahabugftqkvyeukchwd6edk7x2shrogvtbi7glrxn+++-ev...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > On Tue, Mar 19, 2019 at 4:54 PM Internet Box <
> internet.in.a.b...@gmail.com>
> > wrote:
> >
> >> Hello all,
> >>
> >> i am gerhard from berlin and i am experimenting with iiab
> >>
> >> i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
> >> (costs are only 18€)
> >> ok
> >> then i wanted to let work this magic sentence
> >>
> >> curl d.iiab.io/install.txt | sudo bash
> >>
> >> but i got an error message in the beginning:
> >>
> >> tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
> >> /dev/mmcblk0p2 zu öffnen
> >> Es kann kein gültiger Dateisystem-Superblock gefunden werden.
> >>
> > That seems to be German for:
> >
> > File 

Re: [Server-devel] Booting from a big USB stick

2019-03-19 Thread Tony Anderson

Hi, Gerhard

The trick is to separate the server software from the content. Install 
the basic IIAB on a smaller SD card (e.g. 16GB). Then mount the 128GB 
usb drive (mount /dev/sdb1 /media/usb0 for example). IIAB expects the 
content to be in /library. This should be possible by a symbolic link 
such as /media/usb0/XC /library. XC is a folder containing the content 
whereas usb0 is a partition. The original installed content in /library 
on the sd card needs to be copied to the XC folder on the USB stick 
before the symbolic link is made. In principle, Ansible should recognize 
the /library (XC folder) and operate as expected.


Tim Moody has an img of the basic installation which should be perfect 
to set up the SD card (simple dd). I am looking forward to trying that. 
I am hoping that the img sets the 'box' (hotspot). This should mean 
everything can be done headless via ssh.


As always, it will be an adventure.

Tony

On 3/20/19 5:29 AM, server-devel-requ...@lists.laptop.org wrote:

Send Server-devel mailing list submissions to
server-devel@lists.laptop.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.laptop.org/listinfo/server-devel
or, via email, send a message with subject or body 'help' to
server-devel-requ...@lists.laptop.org

You can reach the person managing the list at
server-devel-ow...@lists.laptop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Server-devel digest..."


Today's Topics:

1. Raspberry Pi Model B3+ - booting from big USB Stick - failure
   (Internet Box)
2. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
   failure (Adam Holt)
3. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
   failure (Adam Holt)
4. Re: Raspberry Pi Model B3+ - booting from big USB Stick -
   failure (Adam Holt)


--

Message: 1
Date: Tue, 19 Mar 2019 21:54:29 +0100
From: Internet Box 
To: server-devel@lists.laptop.org
Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
Stick - failure
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hello all,

i am gerhard from berlin and i am experimenting with iiab

i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
(costs are only 18€)
ok
then i wanted to let work this magic sentence

curl d.iiab.io/install.txt | sudo bash

but i got an error message in the beginning:

tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch, /dev/mmcblk0p2
zu öffnen
Es kann kein gültiger Dateisystem-Superblock gefunden werden.
root@raspberrypi:/home/pi#

so i stick in this.

any solution for this problem


regards

gerhard. MD

Berlin
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 2
Date: Tue, 19 Mar 2019 17:09:35 -0400
From: Adam Holt 
To: Internet Box 
Cc: server-devel 
Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
USB Stick - failure
Message-ID:

Content-Type: text/plain; charset="utf-8"

On Tue, Mar 19, 2019 at 4:54 PM Internet Box 
wrote:


Hello all,

i am gerhard from berlin and i am experimenting with iiab

i succeded in booting my raspberry pi model b3+ from a 128 GB USB Stick
(costs are only 18€)
ok
then i wanted to let work this magic sentence

curl d.iiab.io/install.txt | sudo bash

but i got an error message in the beginning:

tune2fs: Datei oder Verzeichnis nicht gefunden beim Versuch,
/dev/mmcblk0p2 zu öffnen
Es kann kein gültiger Dateisystem-Superblock gefunden werden.


That seems to be German for:

File or directory not found when trying to open /dev/mmcblk0p2
Can not find a valid file system superblock.


What exact OS are you running?

Internet-in-a-Box strongly recommends Raspbian -- any one of the 3 from
this page:
https://www.raspberrypi.org/downloads/raspbian/


PS click "installation guide" near the very top of that page if you're not
used to burning/flashing images using Etcher, Win32 Disk Images or "dd".
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 3
Date: Tue, 19 Mar 2019 17:15:48 -0400
From: Adam Holt 
To: Internet Box 
Cc: server-devel 
Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
USB Stick - failure
Message-ID:

Content-Type: text/plain; charset="utf-8"

HI Gerhard,

Can you please use a microSD card, instead of a USB stick?

Internet-in-a-Box is not normally installed onto a USB stick!

In fact I don't know if this has ever been attempted before, so you're
making your life difficult :-)

Then again if that is your choice, it is possible