GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mohanjith/debootstick: Generate a bootable live image from any Debian/Ubuntu filesystem tree.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

212 Commits
212 Commits

Folders and files

NameName
Last commit message
Last commit date
debian
debian
 
 
disk-layouts/target
disk-layouts/target
 
 
scripts
scripts
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
debootstick
debootstick
 
 
debootstick.8
debootstick.8
 
 

Repository files navigation

debootstick

Turn a chroot environment into a bootable image.

Trivial example:

$ debootstrap --variant=minbase focal focal_tree http://archive.ubuntu.com/ubuntu/
$ debootstick --config-root-password-none focal_tree img.dd
$ dd if=img.dd of=/dev/<your_device> bs=10M

Your USB device now embeds a live Ubuntu system and can be booted on any UEFI or BIOS computer.

From docker image to raspberry pi SD:

A more interesting example:

$ docker run -it --name mycontainer --entrypoint /bin/bash eduble/rpi-mini
> [... customize ...]
> exit
$ mkdir mycontainer_fs; cd mycontainer_fs
$ docker export mycontainer | tar xf - ; docker rm mycontainer
$ cd ..
$ debootstick --config-root-password-none mycontainer_fs rpi.dd
$ dd if=rpi.dd of=/dev/mmcblk0 bs=10M

Your Raspberry Pi now boots your customized OS!

Embedded OS features

The embedded system is:

  • ready to be used (no installation step)
  • viable in the long-term, fully upgradable (including the kernel and the bootloader)
  • compatible with BIOS and UEFI systems (PC) or Raspberry Pi boards

More information on the wiki

On the wiki at https://github.com/drakkar-lig/debootstick/wiki, you will find:

  • A more complete workflow for designing and testing an image
  • How to install debootstick
  • How to combine debootstrap or docker with debootstick
  • How to test images with kvm
  • Design notes, FAQ

About

Generate a bootable live image from any Debian/Ubuntu filesystem tree.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.