Coder Social home page Coder Social logo

garywill / multibootudisk Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 1.0 1.08 MB

A different (and old-fashioned) way to make a multi-boot (legacy BIOS) udisk on Linux. Can boot Linux/Windows

Shell 100.00%
linux multiboot udisk syslinux grub4dos bootloader boot-from-iso usb-flash-drives live usb

multibootudisk's Introduction

Multi boot Udisk

Make a multi-boot udisk (usb flash disk) on Linux.

Can boot Windows/Linux.

Can boot from a .iso file, in this case no need extracting to udisk.

Still able to use this udisk space as general storage. (All files are on an FAT32 partition)

How it work

Uses syslinux as udisk's legacy BIOS bootloader.

On syslinux menu, an entry to boot grub4dos (a fork of grub) (Github page).

On grub4dos menu there are many entries to boot various maintain tools, systems, system installations. (You can customize your entries)

Why this way?

syslinux is a legacy bootloader which is competitable for many machines.

grub4dos supports .iso file boot.

What it can boot

For now I successfully boot:

  1. Clonezilla , a linux cloning tool
  2. Windows PE (support iso boot)
  3. puppy linux
  4. Windows 7/8 and it's Installation
  5. Windows XP and it's Installation (support iso boot) (workaround. some machines fail)
  6. Ubuntu (support iso boot)

Usage

Procedure: (Following can be done by the shell script makemultiboor.sh.)

  1. Make an msdos partition table on udisk
  2. Make a partition on udisk, for example /dev/sdb1
  3. Set /dev/sdb1 boot flag
  4. Format /dev/sdb1 as FAT32
  5. Write syslinux MBR to target /dev/sdb
  6. Copy syslinux files, grub4dos files and others to /dev/sdb1 (copy all files in ubasic folder to udisk)

Manually put your .iso files to udisk.

Some support booting from .iso file, some doesn't. For those that doesn't support, you need to extract them and put files into udisk. To find out which support and which doesn't, try it yourself or google "grub4dos boot iso <what you want to boot from .iso>".

Above should be done before you put other files (photo, music etc. for general storage) into udisk, to make sure the system or .iso files is physically continous and not far away from MBR.

grub4dos/menu.lst is the key to success. Read it and modify it according to your need.

In this repo syslinux and grub4dos binaries are not latest.

multibootudisk's People

Contributors

garywill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mutanthost

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.