{"id":15533336,"url":"https://github.com/b3b/mbd","last_synced_at":"2026-03-19T06:01:44.957Z","repository":{"id":2389256,"uuid":"3355215","full_name":"b3b/mbd","owner":"b3b","description":"Multiboot USB drive creation","archived":false,"fork":false,"pushed_at":"2013-01-19T00:16:05.000Z","size":211,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-19T09:49:23.191Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b3b.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-04T20:41:14.000Z","updated_at":"2023-07-16T05:37:02.000Z","dependencies_parsed_at":"2022-09-09T19:11:37.467Z","dependency_job_id":null,"html_url":"https://github.com/b3b/mbd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b3b/mbd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fmbd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fmbd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fmbd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fmbd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b3b","download_url":"https://codeload.github.com/b3b/mbd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b3b%2Fmbd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28752671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T11:35:56.243Z","updated_at":"2026-01-25T12:02:29.640Z","avatar_url":"https://github.com/b3b.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nMultiboot flash drive creation\n\n## Core statements\n* Linux boots Linux\n* no boring installs, just `cp my.iso /to/my/usb_drive/`\n* do best for known distro images, try to boot random (even if they do not want to)\n\n## Software involved\n* [GNU sed](http://www.gnu.org/s/sed/)\n* [NetbootCD](http://netbootcd.tuxfamily.org/)\n* [Syslinux](http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project)\n* [Tiny Core Linux](http://distro.ibiblio.org/tinycorelinux/)\n\n## Boot process\n* Syslinux, or another bootloader, boots the NetbootCD image\n* User scramble through dialogs, and select an image to boot\n* kexec loads the kernel from the selected image, using _improved_ initrd with _improved_ cmdline\n* mbd takes control before the initrd /init, and performs distro specific preparations\n* initrd /init prepare root filesystem\n* mbd take control again, before filesystem switch, and performs some special tasks\n* /init continue boot\n\n# Usage\n## Get\nRun next commands:\n\n    git clone git://github.com/b3b/mbd.git\n    cd mbd\n\n## Configure\nRun\n    \n    autoconf\nRun _configure_ with the _target_device_ environment variable set to partition device file. If /dev/_PARTITION_ is your USB flash drive partition device file (as \"sdx1\", or \"disk/by-uuid/NNNN\"), run\n    \n    ./configure target_device=/dev/PARTITION\n\n### Additional options\n* isolinux\\_dir=\"DIR\" - install to _DIR_ directory on USB flash drive. _DIR_ is \"isolinux\" by default\n* --without-bootloader - do not install Syslinux bootloader on the device. Use this option to preserve existent bootloader. Need this option if target filesystem is not FAT32\n* mbd\\_label=\"LABEL\" - set filesystem label to _LABEL_, \"MBOOTDISK\" by default\n\nIf _without-bootloader_ option is used, it is necessary to set target filesystem label to be the same as _mbd\\_label_ value. Label can be set with the _mlabel_ command (for FAT32), _e2label_ command (for ext2/ext3/ext4).\n\n## Build\nOn build stage, script will download NetbootCD and Tiny Core Linux live CDs; download and build GNU sedstream editor. Run\n\n    make\n\n## Install\nNeed root privileges. Script will prepare and copy _mbd_ files to the target device.\nIf option _without-bootloader_ is not set, script will install the bootloader (Syslinux) on the target device. Else, if option _without-bootloader_ is used, script will suggest examples of bootloaders menu entries.\nRun\n\n    make install\n\n## Use\nPut LIVE CDs (*.iso) into the images directory (\"isolinux/iso\" by default) on your USB flash drive. Example, if MP is flash USB drive mount point:\n\n    cp my-cool-live-cds/*.iso MP/isolinux/iso/\n    mkdir MP/isolinux/iso/Debian\n    cp my-cool-live-debian-cds/*.iso MP/isolinux/iso/Debian/\n\nBoot from USB flash drive, and follow the menus\n\n## Uninstall\nFrom mbd source directory, run\n\n    make uninstall\n\n# Special Use\nAdd desktop link to Live CD desktop. Run configure with the _desktop_link_ environment variable set. Example:\n\n    ./configure target_device=/dev/PARTITION desktop_link='http://xn--c1apc3a.xn--p1ai/'\n\nBoot Live CD from running system (if system has _kexec_ support enabled, and _dialog_ program installed). Example, if MP is flash USB drive mount point:\n\n    cd MP/isolinux\n    mkdir /tmp/mbd\n    sh mbd_menu -t /tmp/mbd\n\n# Tested with\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctr\u003e\u003cth\u003eDistribution\u003c/th\u003e\u003cth\u003eStatus\u003c/th\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://live.debian.net/\"\u003eDebian Live\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://fedoraproject.org/wiki/FedoraLiveCD\"\u003eFedoraLiveCD\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://grml.org/download/\"\u003eGrml\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.linuxmint.com/download.php\"\u003eLinux Mint CD\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.sabayon.org/mirrors\"\u003eSabayon Linux\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.slitaz.org/en/get/index.html#stable\"\u003eSliTaz LiveCD\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://tails.boum.org/download/index.en.html\"\u003eTails\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://distro.ibiblio.org/tinycorelinux/downloads.html\"\u003eTiny Core Linux\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.ubuntu.com/download/ubuntu/download\"\u003eUbuntu\u003c/a\u003e\u003c/td\u003e\u003ctd\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.damnsmalllinux.org/\"\u003eDamn Small Linux\u003c/a\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003enot\u003c/b\u003e work\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://www.slax.org/get_slax.php\"\u003eSlax\u003c/a\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003enot \u003c/b\u003ework\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3b%2Fmbd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb3b%2Fmbd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3b%2Fmbd/lists"}