06.03.2020
Posted by 

This guide will explain how to create a USB drive that can be used to install OSX, Windows, and Linux from a single USB drive. This USB drive can be very helpful in urgent situations such as: fixing broken OSX install (chameleon, kext, etc), installing/repairing Windows, or running Live CD of any Linux OS. Disclaimer I am not responsible for any consequences to your system by following the guide below. If you do follow this guide, please make sure to attain a valid purchased copy of the OSes you plan on installing. I am not responsible for your actions. This guide is just my experience and am sharing it with you guys for educational purposes. This entire guide, including creating OSX installer USB is solely for experimental reasons.

Dos

Requirements. USB drive of 16GB or greater is recommended. An existing working install of OS X.

Grub for dos alternatives for mac download

An existing working install of Windows. An existing working install or live version of Linux. YUMI – Multiboot USB Creator Preface:. We will create three partitions on the USB: 1) for OSX installer 2) for Linux and Windows installers 3) for storage. The thrid partition is not required but recommend. We will use traditional methods to create OSX installer USB but targeted to the first partition.

Load up Linux and insert your USB drive. Go to terminal and insert the following commands: gptsync is only available on ubuntu up to trusty Tahir. This is replace by gdisk but I don’t have the steps handy to create the hybrid mbr. I now have a 4 partition 128GB USB flash drive: - macOS installer partition - macOS Sierra 10.2.4 partition ( I can boot into this when I mess up my mackintosh) - multiboot partition - Linux (clearlinux, cents, fedora), Windows (creator’s update) - expat data sharing partition.

Thanks Goja:.) Format usb flash drive as GPT.) Yumi will add all the ‘other’ OS (windows or linux) onto the partition you select when you run Yumi. The “multiboot” partition must be fat32 which windows/Yumi will see no matter what partition # it is.) Later we use gptsync to update the hybrid MBR so that the Yumi 'installs' can be booted from. this step caused me lot of grief.) You can use any partition for any purpose. I did not follow the layout suggested by Zythyr.) You can put more than one windows installer onto the “multiboot” partition according to Yumi. I have not tried this.

Edited April 7, 2017 by justvisiting. Boondoggle, This is not a tv drama, life comes first and therefore there is no burden of proof upon anyone. Detail your specific steps and issues so someone can help 2. My bios is dumb and I have to select a boot device for this to boot the yumi MULTIBOOT partition. Maybe you do too. I press my bios boot selection key and my USB flash drive MULITBOOT partition shows as UEFI (Fat) Lexar USB (Fat) Lexmark USB If I pick the first I can boot my USB Mac installer or USB live OS X partitions If I pick second I see yumi boot screen and options When I have chance I will nuke my USB key and recreate and take some notes.

Maybe iwe can solve this or maybe we identify the problem. saturday april 15 I made this test to show that a multi boot USB key does NOT need to have its first partition be FAT32/NTFS.) download GPT fdisk for Windows and/or macOS, whichever you are more comfortable with:.A ) In MacOS 1) Run Disk Utility - Erase USB - GUID Partition scheme BE CAREFUL, PICK CORRECT DISK - create 4 partitions named as following: - MacFS1 - MacFS2 - Multiboot - MacFS3 all are MacOS extended Partitions, Journaled, sized to my needs for this test.B ) in Windows 10, Creators Edition 1) download Yumi Multiboot USB creator. For this test, the version used was: 2) Computer Management - Disk Management, find USB key's partition labeled 'multiboot' and quick format as FAT32 - Make note of 'Disk Number', my USB key showed up as 'DISK 2 Removable' 3) run YUMI - Because I made four partitions, the 'step 1' dropdown box shows me 4 drive letters for my USB key: 'D: FDD' 'E: FDD' 'F: FDD' 'G: Multiboot 7GB FAT32' - I selected my usb key's 'multiboot' labeled partition. Justvisiting: I'm not sure what the 'tv drama' comment is about. I never said you had to drop all your life responsibilities and post something.

I don't expect people to respond in any timely fashion. That said, I have two comments: 1) Yes, when someone posts a solution to a OP's question the burden is most definitely on them to prove it's correct.

The more detail the better. Your initial posting left questions/methods unanswered. 2) I really appreciate all the time you put into your last post.

That's an amazing amount of detail! I was working on a multiboot USB for my MacBook this weekend with mixed results, although I was able to have a single USB for OSX and Yumi. It had some GRUB issues (namely manually turning EDD off), but was mostly successful.

I will try out your steps tonight. Thanks again!! Justvisiting: I tried your flow tonight and it did not go well - we may have to agree to disagree. I will start by posting comments on each step and then proposing an alternate solution in a few days.

Step 1: You mention that you initially partition all partitions as JHFS+ (extended, journaled). If, however, the Multiboot partition is initially created this way you will not be able to change it to FAT32 in step 2 using Windows disk manager. Create the Multiboot partition as MS-DOS or FAT and you can. Step 2: Windows disk manager will initially not have the correct partition labeled as 'Multiboot'. It will label the first partition (the 200MB EFI partition) as 'Multiboot' - as I and other posters continue to repeat, Windows only mounts the first partition on an external drive.

As Goja pointed out, you will need to use BootICE (version 1.2.0.1, not the most recent) to set the desired FAT32 as accessible. Step 3: Yumi won't list the JHFS+ partitions, so you will only see anything formatted FAT32 (our 'Multiboot' partition and possibly the EFI partition). Step 4 (Yumi): This went fine, I love Yumi. Step 5: (gdisk): When I started gdisk it did not say that the MBR was already hybrid (and why should it?).

In fact, it complained about a corrupt GPT. I did follow the instructions here to the letter regardless. Results: The stick only shows up in legacy BIOS, it is not U/EFI capable.

This makes sense as none of the steps include EFI boot code. Ultimately I'd like to have a bootable drive that didn't require me to change the BIOS to boot (other than secure boot I suppose).

In a couple days I'll post my Yumi (Windows + ISOs) and Mac solution. I'm guessing it will only be legacy BIOS ready. EFI's a pain. Again, I do not know the exact issue you face. 'not going well' is not clear enough about the steps you tried and the result you saw. Are you using windows 10? Is your windows 10 HD MBR or GPT?

Is your motherboard booting as UEFI or as legacy/BIOS? I have windows 10 (10.0.15063) My HD is GPT format (Intel SSD) my BIOS lets me boot into 'UEFI OS on P1:Intel' Step1) I format USB in macOS to get the GPT partition table.

I formated as JHFS+ because it is easier for Disk Utility to add+resize JHFS+ partitions and then later reformat one partition as FAT32 in Disk Utility. Step 2) In computer management - Disk management, my Windows system sees ALL the partitions on my USB key (I tested Lexar 128 and I tested Kingston 16GB) and in Disk Management, I can format any partition to be FAT32. This is a fundamental feature of windows - seeing all partitions on a drive. I am using a USB3 port. I never tested USB2 because it is not conveniently in the front of my PC. Sorry for the delay in posting.

OK, I've got something that is a composite of the OP, justvisting, and Goja. Right now I have a reliable, repeatable (I've done this now with three sticks on multiple versions of OSX and Windows) process for Mac and Windows multiboot. It's a legacy boot, but as justvisiting states, I don't think the pieces are there yet to make it work well. Sebus, we'll need to use something like Clover to have more than 3 boot choices (legacy MBR constraint of 4 partitions). Here are my steps: 1) Use diskutil in your favorite OSX to partition the flash drive.

My last (64GB) stick looked like this: diskutil partitionDisk /dev/disk2 GPT FAT32 MULTIBOOT 32G JHFS+ OSX1011 8G JHFS+ OSX1012 8G FAT32 STORAGE 4G If you plan on including 3 (or more) OSX versions you should make sure to put the FAT32 multiboot first (of course we can't do this with a legacy MBR!). Otherwise it will be the 5th (or later) partition and will not be accessible in Windows. After partitioning, eject all and move to Windows (I've used 7 and 10 for this with success).

2) Run BootICE. You'll need version 1.2.0.1, which you can find here (the latest versions don't seem to handle this): Select your drive and choose 'Parts Manage'. Then find your multiboot FAT32 paritition and choose 'Set Accessible'. Without this, Windows will not be able to access your multiboot partition (it will only be able to access the initial EFI FAT32 partition). 3) Get YUMI (not the UEFI version, at least not now) from here: Run it, select your now visible multiboot partition, and proceed to download and install your programs. Some things to consider:.

As justvisiting noted, install Windows system discs as 'Unlisted ISO (Grub)'. If you are creating an ISO from a DVD, use something like UltraISO to extract & inject the boot sector, and don't forget to make sure it's UDF. When running some of these distros on a Mac you need to set 'edd=off' to avoid lengthy/forever probing. You can set that by pressing the tab key (at the GRUB menu) and then adding that switch.

Eject your drive and head back to your Mac. 4) Use UNIBeast to install your desired OSX versions. You can find it here: You may need multiple versions to support all your versions of OSX. I chose 'Legacy Mode' for all my installations and it works fine with option-booting our MacBooks. Eject all partitions again and head back to Windows one last time.

5) Get gdisk from here: The goal here is to make sure the boot is 'hybrid.' As justvisiting stated, it usually is, but if it isn't follow his steps above (post #14, step C) to get it there.

I have booted into the follow set of distros on both MacBook and Windows boxes: Windows 7, Windows 10, OSX 10.11, OSX 10.12, Caine, CloneZilla, UBCD, Tails, Kali, ESET Rescue disk, Ubuntu 16.04, Hiren's Boot, and my Reflect and Veeam rescue ISOs. They all currently reside on the same flash drive. Thanks so much for everyone's help, and let me know if this helpful at all and if I need to modify or retest it.

One of the most frightening things about Linux is the horrible word bootloader. The primary reason for this is the fact that most new Linux users have only ever used Windows operating systems. In the Windows world, they have never bothered with bootloaders. For them, the issue of a system booting was a transparent one. At most, they would use Windows Recovery Console to fix problems for them. Thus, they have been spared the need to learn about the single most important piece of software on a computer - the little program that makes it all work.

This article is supposed to provide you with basic understanding of the GRUB bootloader. If you have read my other Linux articles, you are familiar with partitioning and Linux notation, as well as with the command line. The next logical step is to enhance this knowledge by taking one step further. Understanding how GRUB works and what boot entries in the boot menu mean will help you understand how the operating systems work, how to fix, recover or modify the GRUB menu to suit your needs, and how to setup different work environments with several operating systems. In the past, we have relied on the installation setups to make the hard work for us. In fact, setting up GRUB, while frightening, is a quite simple and fully reversible procedure.

Mastering the GRUB is a very important step in building up the confidence to use Linux. So if you are ready, read on. But first of all, a foreword of wisdom. This article is a compilation of sources and examples that will help you learn about GRUB.

Of course, it's all out there somewhere, on the Internet. However, new Linux users will probably find the notion of spending hours searching for relevant pieces of information (especially if their PC won't boot) somewhat frustrating. The goal of this guide is to help provide simple and quick solutions to most common problems regarding multi-boot setups and installation of Linux operating systems. Table of contents.

Everything is a file To be able to successfully master the secrets of GRUB, you must understand one of the basic foundations of.NIX-based operating systems. Everything is a file. Even hard disks and partitions are treated as files. There is no magic. If you remember this, you will find the supposedly perilous task of tampering with partitions no different than playing with files using a file explorer (or the command line).

Now that we have established this, we can move on to the more technical parts of grubbing. Introduction GNU GRUB is a bootloader (can also be spelled boot loader) capable of loading a variety of free and proprietary operating systems. GRUB will work well with Linux, DOS, Windows, or BSD. GRUB stands for GRand Unified Bootloader. GRUB is dynamically configurable. This means that the user can make changes during the boot time, which include altering existing boot entries, adding new, custom entries, selecting different kernels, or modifying.

GRUB also supports mode. This means that if your computer has a fairly modern BIOS that can access more than 8GB (first 1024 cylinders) of hard disk space, GRUB will automatically be able to access all of it. GRUB can be run from or be installed to any device (floppy disk, hard disk, CD-ROM, USB drive, network drive) and can load operating systems from just as many locations, including network drives. It can also decompress operating system images before booting them. You can learn much, much more from the official. What about LILO? You may have heard about another Linux bootloader called LILO (stands for LInux LOader).

While a sensible option for many Linux users, I believe that GRUB is a better choice, for several reasons:. LILO supports only up to 16 different boot selections; GRUB supports an unlimited number of boot entries.

LILO cannot boot from network; GRUB can. LILO must be written again every time you change the configuration file; GRUB does not. LILO does not have an interactive command interface.

All in all, it seems that GRUB is the winner. So let's see what this baby can do. How does GRUB work? When a computer boots, the BIOS transfers control to the first boot device, which can be a hard disk, a floppy disk, a CD-ROM, or any other BIOS-recognized device. We'll concentrate on hard disks, for the sake of simplicity.

The first sector on a hard is called the Master Boot Record (MBR). This sector is only 512 bytes long and contains a small piece of code (446 bytes) called the primary boot loader and the partition table (64 bytes) describing the primary and extended partitions. By default, MBR code looks for the partition marked as active and once such a partition is found, it loads its boot sector into memory and passes control to it.

GRUB replaces the default MBR with its own code. Furthermore, GRUB works in stages. Stage 1 is located in the MBR and mainly points to Stage 2, since the MBR is too small to contain all of the needed data. Stage 2 points to its configuration file, which contains all of the complex user interface and options we are normally familiar with when talking about GRUB. Stage 2 can be located anywhere on the disk.

If Stage 2 cannot find its configuration table, GRUB will cease the boot sequence and present the user with a command line for manual configuration. Stage 1.5 also exists and might be used if the boot information is small enough to fit in the area immediately after MBR. The Stage architecture allows GRUB to be large (20-30K) and therefore fairly complex and highly configurable, compared to most bootloaders, which are sparse and simple to fit within the limitations of the Partition Table.

GRUB notation This section is intended to help you get familiar with GRUB, without touching anything. The next section deals with actual files and manual configuration.

GRUB has its own notation, which is very similar yet somewhat different from the general notation a typical Linux user might be used to. Now, here's an example of a typical GRUB entry. (hd0,1). The brackets are a must; all devices listed in GRUB menu must be enclosed in brackets. hd stands for hard disk; alternatively, fd stands for floppy disk, cd stands for CD-ROM etc. The first number (integer for geeks) refers to the physical hard drive number; in this case, the first drive, as they are counted from zero up. For example, hd2 refers to the third physical hard drive.

The second number refers to the partition number of the selected hard drive; again, partitions are counted from zero up. In this case, 1 stands for the second partition. From here, it is evident that GRUB (menu) does not discriminate between IDE or SCSI drives or primary or logical partitions. The task of deciding which hard drive or partition may boot is left to BIOS and Stage 1. As you see, the notation is very simple.

Primary partitions are marked from 0 to 3 (hd?,0), (hd?,1), (hd?,2), (hd?,3). Logical partitions in the extended partition are counted from 4 up, regardless of the actual number of primary partitions on the hard disk, e.g. The entries alone are not enough to boot an operating system though.

GRUB also needs to know what operating system images to load. These are assigned as parameters to each of the called devices, including special flags (switches). For example, Windows Safe Mode is a special flag. Here is an example of a GRUB menu booting only Ubuntu.

Here's an example of a GRUB menu from a computer with triple boot (SUSE 10.2, Ubuntu 6.10 and Windows XP). This is the actual menu.lst on one of my real machines. Let's try to understand what the entries mean. Only uncommented lines count. Comments are marked with #.

The lines that have a series of small gray xs showing are in indication that text therein belongs to the line preceding it. In other words, there text simply dropped to another line to visually accommodate the text editor and screen resolution limitations.

Title openSUSE 10.2 root (hd0,2) kernel /boot/vmlinuz. Initrd /boot/initrd.img. This is the first operating system entry in the menu. title is as simple as it sounds. It's merely a string that's meant to help the user read the menu in human terminology.

root (hd0,2) tells GRUB where its configuration files are located. In this instance, they can be found under (hd0,2)/boot/grub. kernel /boot/vmlinuz. Boots the actual kernel image. There can be many such images available. The fact there is no device specified before the /boot/vmlinuz indicates the image is located on the same partition as the GRUB itself. This is often the default case for your primary choice of operating system.

initrd /boot/initrd.img. Is the temporary file system that makes system preparations - adapts generic kernel image to specific hardware - before the real root is loaded. The extra switches used after the kernel indicate where the actual root is located, what graphic mode is used and where the swap partition resides. This article will not go into detail regarding the more advanced GRUB configurations.

Title Ubuntu, kernel. (/dev/sda9) kernel (hd0,8)/boot/vmlinuz. Initrd (hd0,8)/boot/initrd.img. Again, title indicates a name, in this case fancily adorned with technical details. kernel (hd0,8)/boot/vmlinuz. Points to the 9th partition on the first hard disk (hd0,8). Accidentally, the root flag (/dev/sda9) indicates that the root partition is the same as the one containing the kernel image.

Normally, this is the case, and for the sake of simplicity, you will want this option during your installations. initrd (hd0,8)/boot/initrd.img. Nothing new here. Note regarding kernel images and root partitions: On older computers with BIOS that do not support access to more than the first 1024 cylinders, you might setup a boot partition that contains the kernel image, while the root itself is located elsewhere. But people with computers younger than the botched Y2K crisis need not worry.

Grub for dos windows

Another thing you might notice is that the Ubuntu entry is fairly detailed. This feature is called Multi-boot Compliance; openSUSE recognizes Ubuntu and can accurately call its images (including special switches) and mount the partitions. However, most operating systems are only partially multi-boot compliant. A little later on, I will show you how the Ubuntu entry could have been treated differently, with the same results.

Title Windows rootnoverify (hd0,0) chainloader (hd0,0)+1. rootnoverify (hd0,0) means that openSUSE cannot understand Windows operating system, i.e.

No multi-boot compliance. Therefore, the operating system is called without any fore-knowledge of the kernel. GRUB assumes that the relevant boot images will be found on the target partition and mounted by the other operating system bootloader.

As you can see, Windows was installed on the first partition of the first hard disk. This is the most convenient option.

chainloader (hd0,0)+1 feature is used for operating systems that cannot be booted directly. Not surprisingly, Windows operating systems cannot be booted directly. They are booted by the method of chainloading. As the name implies, GRUB passes the control of the boot sequence to another bootloader, located on the device to which the menu entry points.

This can be a Windows operating system, but also any other, including Linux. Back to Ubuntu. You remember that I have told we could have booted Ubuntu in an alternative way? Indeed, we could have simply chainloaded it, just like Windows. Title Windows 95/98/NT/2000 root (hd0,0) makeactive chainloader +1 title Linux root (hd0,1) kernel /vmlinuz root=/dev/hda3 ro By now, you should be able to 'read' GRUB language with ease.

We begin with the title. Root specifies the partition where we expect to find the Windows kernel and mounts it ( rootnoverify would leave this job to the Windows bootloader). Makeactive command sets the active partition on the root disk (above) to GRUB root device. This means that the next command, chainloader, is executed without the target partition specified (as the target partition is the same, now). The second entry is even simpler. We name a Linux, we call its partition and we boot the kernel.

In this case, we see the very interesting case where the kernel image and root (/) partition of the operating system are NOT located on the same partition. This would be a very likely case for older computers - or ones with a specific boot partition. Finally, the crazy stuff:. You see, it's very simple! Once you get the hang of it, it actually becomes fun.

For more information, you must read the. In particular, you need to familiar with. GRUB configuration Most of the time, you will not want or need to touch GRUB. When you install operating systems, especially in the right sequence (inconsiderate OS first - like Windows, flexible OS later - Linux and family), the GRUB will be installed automatically and relevant entries appended.

Nevertheless, you should know when and what to do if things go wrong. Installation of GRUB GRUB can be installed to a variety of devices.

Most people will be interested in setting up GRUB on their hard disk. Nevertheless, it does not hurt to know learn about other options. Of course, you can skip forward. Before we install anything, we need to know where our files are. If installed, GRUB menu is located on the root partition under. Cd /usr/lib/grub/i386-pc dd if=stage1 of=/dev/fd0 bs=512 count=1 dd if=stage2 of=/dev/fd0 bs=512 seek=1 Just a short explanation: if stands for input file, of stands for output file, /dev/fd0 refers to the first mounted floppy device, bs specifies the block size (in bytes), count instructs how many blocks should be copied, and seek tells how many blocks should be skipped before writing. Not surprisingly, since we need to write the files to the first two sectors of the floppy disk, we write stage1 to the first sector, and copy stage2 to the second (skip first, then write).

Now that we have taken this deep fancy for the command line, I'll leave you with the nuances of different commands for homework. More on dd on. Regarding the GRUB on floppy, that's it. Since we have copies the stages from OS image, all of the required information is there. Of course, you can always make manual adjustments.

But that's the next chapter. Installing GRUB natively Native install means placing GRUB Stage 1 in the first sector of the hard disk ( MBR or Partition Table). This means you will be able to boot without a secondary device, like a floppy disk (which have become a rarity nowadays). However, this also means that if you install an inconsiderate OS later on (like Windows) or try to repair the MBR for some reason (by running fdisk /MBR from DOS prompt), you will erase the GRUB and render all systems listed in the menu.lst unbootable. To install GRUB in MBR, you will need to boot from external media (floppy, live Linux CD). Then, once you reach the GRUB prompt, execute the following commands: Find the GRUB root device.

Find /boot/grub/stage1 GRUB will search for all available Stages 1 and present them. Mac os x 10.8 color picker. drop. If you have more than one operating system image present (e.g. SUSE, Kubuntu, Mandriva), you will have more than one stage1 available. Example - Let's say the computer has the following operating systems installed on different partitions:. SUSE on (hd0,1).

Kubuntu on (hd0,2). Mandriva on (hd0,4) All these will be returned as potential roots for GRUB device (as each OS has its own files). If you wish to use SUSE GRUB, then you will setup the GRUB root device to (hd0,1). Find /boot/grub/stage1 (optional) root (hdX,Y) setup (hd0) quit You can also setup GRUB on another drive or partition, but then you will have to chainload GRUB to another bootloader for this to work. Easy peasy orange squeasy!

Installing GRUB with grub-install This method is considered less safe (according to the Manual), as it guesses the mapping. Still, for total newbs in need of dire help, this might be the preferred method. You only need to invoke a single command - namely, where to install the bootloader. Furthermore, this command can be written in several ways, all equivalent. Grub-install hd0 After you have installed the GRUB, your operating systems should boot.

Once booted, you can once again start playing with GRUB, manually changing settings - adding and removing entries, chainloading other bootloaders, or even hiding and unhiding partitions. Setting up GRUB manually (after installation) You can reconfigure or reinstall GRUB at any moment. First, before you make any changes to the GRUB configuration file, it is most warmly recommended that you backup the existing menu. You might even consider copying to another machine or printing the menu, in case things go bunkerous.

Sudo grub After a few moments, the GRUB command line should show up. You can identify it by the grub prompt.

Alternatively, you can reach the GRUB command line during bootup. When the GRUB menu loads, press C on the keyboard. Adding a new operating system to the GRUB menu Let's say you have installed yet another operating system on your machine, Sabayon. During the installation, you skip the GRUB setup. This means that the original GRUB remains untouched - and it does not contain an entry about Sabayon.

For all practical purposes, Sabayon is not bootable. Note: GRUB menu entries are called stanzas (probably a twist of instance?). So, we need to add Sabayon to the list. If you know where Sabayon is installed, you just need to add its entry to the menu.lst. Root (hdX,Y) chainloader +1 Optionally, you will use the find command to get around. Basically, this is the whole of GRUB magic.

As you can see, it's very very simple. But for people who have never heard of GRUB and see long lists of strange commands, the prospect can be daunting. Now that we have covered the basics of grubbing, it's time for extras and some more common problems. Common problems GRUB got deleted; how to restore? This will often happen if you install Windows after Linux.

Windows assumes it's the only operating system in the world and does not try to live with existing information present in the MBR; it overwrites it. For people with dual-boot and very little knowledge of Linux, this is a disaster. Luckily, it's very easily recoverable one. The easy way Use. I have written about this tool in detail in my article, under.

The hard way. Boot from floppy disk or CD (any Linux live CD should do). Get to the grub command line. Find /boot/grub/stage1 (optional) root (hdX,Y) setup (hd0) quit The same as before!

Windows is installed on a non-first hard disk (Swapping) GRUB cannot directly boot Microsoft operating systems. And sometimes, even chainloading may not work, especially if Windows is not installed on the first hard disk. Once again, you should remember that you should always install Windows first, on the first hard disk, on the first partition (the rule of three first). Nevertheless, even if you have Windows installed on a separate disk, you can solve the problem by swapping.

You need to perform a virtual swap between hard disks. Map (hd0) (hd1) map (hd1) (hd0) After you add these two lines, you should be able to boot into Windows (or DOS, for that matter). There is more than one Windows operating system installed on one hard disk (Hide/Unhide) Again, Windows can cause problems if there's more than one instance present on a hard disk, especially if installed on primary partitions.

When you use the chainloader command, the control is transferred to the Windows boot loader, but which one? The problem is easily solved by hiding and unhiding partitions.

Grub For Dos Alternatives For Mac Free

If GRUB hides a partition, it will not be visible by Windows and prevent a possible confusion. Vice versa, if you unhide a partition, Windows will detect it and be able to boot from it, without getting confused.

Here's the example taken from the Manual that demonstrates this point. Let's say we have Windows installed on the first and the second partition of your hard disk. We wish to boot the first instance of Windows. Then, we need to execute the following set of commands to make it all work.

Unhide (hd0,0) hide (hd0,1) rootnoverify (hd0,0) chainloader +1 makeactive You resized a partition; GRUB is gone This is an interesting case. It can happen after you use a partitioning or an imaging software to make changes to the Partition Table. Usually, this will happen when you make such a change in Windows. Linux will not be informed of the change, because Windows is blind to anything else on the machine save Microsoft thingies. Consequently, GRUB will suffer. The solution is that most likely the filesystem is damaged and needs to be repaired.

Boot from a live CD and execute the following commands, assuming you know where Linux partitions are. Check the filesystem. Mount -t ext2 /dev/hdXY /mnt/sysimage OR mount -t ext2 /dev/hdXY /mnt/sysimage cd /mnt/sysimage/sbin grub You're back to the familiar grounds. For more information on Linux commands, including fsck.ext2, tune2fs and others, see on. Finally, some more tricky questions answered in Ubuntu: Useful tools GParted is a Gnome Partition Editor.

Although Linux-based, it fully supports the NTFS file system. It runs from a CD. This is a live CD specifically geared toward rescue and recovery. The tools package includes some of the most important tools available for Linux user, like GParted, QTParted, Partimage, Grub, Lilo, sfdisk, security tools, network tools, and more. Super Grub Disk is intended to run from a floppy disk or CD and is used for system rescue. Most importantly, it can be used to restore boot loaders, including GRUB, LILO and even Windows boot loader. TestDisk is a utility specially designed to recover lost partitions and make non-booting disks bootable again.

This highly useful tool can be found on a number of live CDs, including Knoppix and GParted. It supports NTFS partitions and also comes in Windows flavor. Extras for special geeks Links: My other articles: General information: That's it. If you find this article useful, please Dedoimedo!