Tuesday, 7 March 2017

How to Create a Bootable Multiboot USB for Linux and Windows

I welcome, in fact, one and all. Today we have a very interesting topic, which for a long time and often many of you have requested, using a feedback form , and the special predlagalku.
This article is for those who want to make a multiboot USB flash drive with ustanovochnik operating systems, the Windows , the Linux , and perhaps even that multiple LiveCD and all kinds of tools, such as Check Disk, RAM and all such things.
Bootable USB Flash or HDD drive is convenient because it is possible to eliminate the use of CD / DVD to install the operating system and the use of diagnostic tools such as Memtest , MHDD, the Acronis TI's . "Multiboot" the flash drive or hard drive are good that you can not format the entire disk for each program, and once to install everything you need and the right to choose at boot time through the menu personally created.
Especially this thing useful for those who do not have CD / DVD -reader, and it is necessary to install the system, then checked for viruses , then something else.

Create a multiboot USB flash drive with the help of Grub4Dos

The Forest Raised a Christmas Tree. There are many programs to create multiboot USB flash drive, each of which has its advantages and disadvantages. However, the most versatile and flexible tool is such a thing as Grub4Dos . Kratenko tell you what kind of a beast:
GRUB4DOS - a universal boot loader based on the GNU the GRUB . It can be controlled from the command line or by using a configuration file in its capabilities include:
  • Loading of the MBR
  • Loading of the section
  • Download the DOS 6.22 / 7.x / 8.0 the Windows 9x / Me, ) loader io.sys )
  • Loading FREEDOS loader (kernel.sys)
  • Download Windows NT / 2000 / XP boot loader ntldr )
  • Download Windows Vista / 7/8 bootloader bootmgr )
  • Loading Linux kernel loading the kernel )
  • Support for multiple file systems
  • Download from any device available in the BIOS 'e
  • Downloading disk images the HDD, Floppy, the ISO )
  • Change prioritization download (using the mapping)
  • Upload images over the network
  • Support mode LBA
This loader is, in fact, a small console operating system supports the command line, a plurality of control commands, file management, access control, modification partitions, in addition, supports a variety of file systems can read data from any of the defined BIOS devices, supports booting the network does not depend on the geometry of discs able to work with remote terminals, etc .. and it at a rate of slightly more than 200 kilobytes! :)
Another Grub has a built-in help system, which is in response to the <help> always displays a list of commands available to perform, and in response to the <help command-name> will give more information. Backfill line key ( TAB ) tells not only the syntax, but also, in some cases, variants of its extension (available devices, partitions) .
Well, let's start.
What we need to create, in fact, a dual boot flash:

  • Flash card, the amount which suits your needs.
  • Sam grub4dos . You can download it  .
  • Installer grubinst . You can download it  .
  • As a utility, for example, the image Memtest ,  and  to test the RAM and hard drive, respectively, as well as work with disk partitions. You can download it all in one archive  .
  • Let's take, for example, operating system Linux Mint 15 Olivia is . Rocks (on the page you just have to choose one of the servers in any country). The downloaded (as of this writing it was called LinuxMint 15-cinnamon-the dvd--32bit.iso ) rename to mint.iso
Any other programs and operating systems you are reading this article, can easily add your own. The purpose of the material - to show you how it looks and works, to give a basis, and after that will cope.
How to take off with this:
  • Extract the downloaded archive grubinst . Run from the resulting file folders grubinst_gui.exe . Important! Starting must be carried out by an administrator, ie, " Right mouse button on the file - Run as Administrator ", otherwise you risk to run into problems.
  • In the window that appears, namely, in the line " the Disk ", very carefully we indicate our stick. If an error occurs, you risk to overwrite the boot sector, which is fraught.
    Grub4Dos how to use
  • We press the button the Install . If all goes well, you will see here is the message:
    Grub4Dos installation
  • Close this window by pressing the buttons  the Enter . Go to unpack the archive grub4dos , downloaded earlier. Inside will be a folder with the same name. We go inside it. Copy all of its contents to the root of the stick (again - not the folder and its contents) .
    Grub4Dos install multiboot stick
  • Actually, the flash drive is ready, but it is still necessary to add all sorts of tools that we would like to load from it. Let's do that.
  • Here, at the root of the stick, where we copied the contents of the archive grub4dos , create a folder boot
    root multiboot stick
  • Next we download  . This design theme for our menu, so it was simpatichnenko, not just shaped as letters on a black screen. The downloaded file, not unpacking, copy the folder in the boot .
  • There also copy the downloaded earlier pm.iso , vcr35r.iso , mt420.iso and mint.iso . As a result, inside the folder boot have the following picture:
    boot folder on the flash drive dual boot
  • Done! Actually, you only have to reboot, set in the BIOS to boot from USB boosters and test USB flash drive.
Now a few words about all sorts of installation archives and so on. Globally, you can connect almost anything. iso , which involve loading, i.e. everything that previously was loaded with the CD / a DVD , you can now throw the stick in the form. iso image and loaded in this way. I deliberately did not give an example with system installers, so as not to spread images of Windows and does not promote  in very much its explicit manifestation. However, in principle, explain how connected all these images in general.
boot folder on the flash drive dual boot
At the root of the stick, which we copied grub4dos there I've found the menu.lst . You can open it in  , or whatever you use it for the opening of the ordinary. the txt   (. in fact, is not the txt , but open by " right mouse button - Open with ") . This is the kind of file is a configuration in which stipulate that run to and from a folder, what theme to use, and all that jazz. Current content of this file is set by me (if you are, of course, rocked grub4dos the link above) and looks like this:
timeout 30
gfxmenu /boot/theme.gz
the default 0
Loading title from the hard disk
find --set-root --ignore-floppies --ignore -cd / bootmgr || --set-root the find --ignore-the floppies --ignore-the cd / ntldr
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
rootnoverify (hd0)
chainloader (hd0) +1
Loading title LinuxMint
map --unmap = 0: 0xff
map --unhook
root (hd0,0)
map /boot/mint.iso (0xff) || --mem /boot/mint.iso map (0xff)
map --hook
root (0xff)
the kernel / casper / vmlinuz file = / the cdrom / preseed / mint.seed the boot = casper the iso-scan / the filename = / the boot / of the mint. quiet switch splash the iso - the locale = en_US
errorcheck off
the initrd /casper/initrd.lz
the initrd /casper/initrd.gz
errorcheck on
map --unmap = 0: 0xff
title Download Partition Magic - Working with sections of hard drives
map /boot/pm.iso (0xff) || --mem /boot/pm.iso map (0xff)
map --hook root (0xff)
chainloader (0xff)

Loading title vcr35r.iso - Test Hard Disk Drive [Victoria is]
map /boot/vcr35r.iso (0xff) || --mem /boot/vcr35r.iso map (0xff)
map --hook root (0xff)
chainloader (0xff)
Loading title mt410.iso - Test RAM [Memtest]
map /boot/mt410.iso (0xff) || --mem /boot/mt410.iso map (0xff)
map --hook root (0xff)
chainloader (0xff)
title Restart the computer
title Computer shutdown
Very briefly to explain, what's what:
  • timeout specifies the time until you select an item (if that person is not made, the selection is done automatically)
  • gxmenu specifies the path to the theme (background image and fonts) clearance of our flash menu
  • title - the name itself defines the item in the menu
  • map   - is used to emulate a disk by specifying the path to the image

1 comment:

  1. Thanks, one more great utility to add to yumi, multiboot or multisystem