Giter Site home page Giter Site logo

sokoow / globalhack-laptop-installer Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 1.67 MB

Globalhack entry - easy laptop automated imager

Home Page: https://devpost.com/software/help-education-sector-to-produce-more-laptops-for-students#updates

License: MIT License

Shell 6.66% Dockerfile 18.77% Makefile 20.49% Python 54.08%

globalhack-laptop-installer's People

Contributors

bartsmykla avatar sokoow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

3sky lupuse

globalhack-laptop-installer's Issues

[iPXE hosting]Clone netboot.xyz

Have a look at netboot.xyz repos, and create a clone of it. Use the PXE file I'll provide as an example of a laptop builder. Assumptions are:

  • that you have an S3-compatible bucket somewhere on public cloud that contains OS and config file data + a CDN
  • that your netboot instance uses this bucket (or its URL)
  • somehow test this setup to see if it invokes a OS installer from this S3 bucket

[iPXE hosting]Parametrize netboot.xyz clone

Rip out almost all components of netboot, and leave:

  • two choices: default boot from HD, and "Install an image"
  • think about localizations for different languages
  • test the whole lot

[docs]PDF manual stub

We'll need a simple, maybe even image/based manual for the whole lot. General assumptions:

  • user downloads a small-ish USB/ISO
  • then they burn the ISO on USB using something like https://www.balena.io/etcher/
  • then they need to connect an ethernet cable to their laptop from their home router (sorry, no easy way to do this through wifi)
  • then they boot into ISO/USB, select 'install/image my laptop'
  • wait for 45 minutes-ish
  • reboot and remove USB key, voila!

[USB-image]Create a stub of ISO/USB installer

So the idea more or less is to create a basic builder for iPXE from USB. Why USB ? Cause not everybody will have their home router configured properly enough with DHCP/BOOTP, and we don't have time to teach people how to do that. By publishing an ISO and USB image to boot from, we're cutting away all unnecessary complexity.

Here's what has to be done:

  • read about how iPXE and netboot.xyz works
  • try to setup packer and vagrant - this is for your virtualbox test environment. If you don't know vagrant or packer, I'll be trying to publish examples of it soon.
  • try to boot an iPXE without the OS on virtualbox first, then point it to execute netboot.xyz over the internet
  • create a simple ISO and USB image with packer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.