[Server-devel] Booting from a big USB stick

Adam Holt holt at laptop.org
Tue Mar 19 21:22:16 EDT 2019


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 <tony_anderson at usa.net> 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-request at lists.laptop.org wrote:
> > Send Server-devel mailing list submissions to
> >       server-devel at 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-request at lists.laptop.org
> >
> > You can reach the person managing the list at
> >       server-devel-owner at 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 <internet.in.a.boxx at gmail.com>
> > To: server-devel at lists.laptop.org
> > Subject: [Server-devel] Raspberry Pi Model B3+ - booting from big USB
> >       Stick - failure
> > Message-ID:
> >       <
> CANOPhHBjmdRisODdWBjKfS8guUkjSz71p_v15t-YmOEB9LOEPA at 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 at 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 <holt at laptop.org>
> > To: Internet Box <internet.in.a.boxx at gmail.com>
> > Cc: server-devel <server-devel at lists.laptop.org>
> > Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
> >       USB Stick - failure
> > Message-ID:
> >       <
> CAHaBuGfTQKVYEUkcHwd6Edk7X2shROGvTbi7gLRXN+++-EvhRg at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > On Tue, Mar 19, 2019 at 4:54 PM Internet Box <
> internet.in.a.boxx at 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 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: <
> http://lists.laptop.org/pipermail/server-devel/attachments/20190319/ad0d99c4/attachment-0001.html
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Tue, 19 Mar 2019 17:15:48 -0400
> > From: Adam Holt <holt at laptop.org>
> > To: Internet Box <internet.in.a.boxx at gmail.com>
> > Cc: server-devel <server-devel at lists.laptop.org>
> > Subject: Re: [Server-devel] Raspberry Pi Model B3+ - booting from big
> >       USB Stick - failure
> > Message-ID:
> >       <
> CAHaBuGf_eR_fwZD_iz81fyEBZFOZ9p+ALd4GcpLDeLcagB-moQ at mail.gmail.com>
> > 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 manual step-by-step
> > instructions below *might* work -- entirely at your own risk -- and you
> > will certainly need Linux expertise if so:
> >
> >
> https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch
> >
> >
> > On Tue, Mar 19, 2019 at 5:09 PM Adam Holt <holt at laptop.org> wrote:
> >
> >> On Tue, Mar 19, 2019 at 4:54 PM Internet Box <
> internet.in.a.boxx at 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 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".
> >>
> >
>
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>


-- 
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20190319/c819750e/attachment-0001.html>


More information about the Server-devel mailing list