text:
Multi-booting
From Wikipedia, the free encyclopedia
Jump to: navigation, search
[hide]This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
This article possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed. (March 2011) (Learn how and when to remove this template message)
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (March 2011) (Learn how and when to remove this template message)
This article includes a list of references, but its sources remain unclear because it has insufficient inline citations. Please help to improve this article by introducing more precise citations. (October 2013) (Learn how and when to remove this template message)
(Learn how and when to remove this template message)
GRUB, with entries for Ubuntu and Windows Vista, an example of dual booting
Multi-booting is the act of installing multiple operating systems on a computer, and being able to choose which one to boot. The term dual-booting refers to the common configuration of specifically two operating systems. Multi-booting may require a custom boot loader.
Contents
[hide]
1 Usage
2 Technical issues
2.1 Number of operating systems per storage device
2.2 Partitioning
2.2.1 Windows XP/2000
2.3 Windows and Linux
2.4 Neutral MBR
2.5 Apple Boot Camp
3 See also
4 References
5 External links
Usage[edit]
Multi-booting allows more than one operating system to reside on one computer, for example if you have a primary operating system and an alternate system that you use less frequently. Another reason for multi-booting can be to investigate or test a new operating system without switching completely. Multi-booting allows a new operating system to configure all applications needed, and migrate data before removing the old operating system, if desired. A possible alternative to multi-booting is virtualization, where a hypervisor is used to host one or more virtual machines running guest operating systems. Multi-booting is also useful in situations where different software applications require different operating systems. A multi-boot configuration allows a user to use all of this software on one computer. This is often accomplished by using a boot loader such as NTLDR, LILO, or GRUB which can boot more than one operating system. Multi-booting is also used by software developers when multiple operating systems are required for development or testing purposes. Having these systems on one machine is a way to reduce hardware costs.
Technical issues[edit]
Number of operating systems per storage device[edit]
In a multi-boot computer each of the multiple operating systems can reside on its own storage device, or some storage devices might contain more than one operating system in different partitions.
An example of a computer with one operating system per storage device is a dual-booting computer that stores Windows on one disk drive and Linux on another disk drive. In this case a multi-booting boot loader is not strictly necessary because the user can choose to enter BIOS configuration immediately after power-up and make the desired drive first in the boot-order list. However, it is more convenient to have a multi-booting boot loader on one of the drives, set BIOS once to always start booting from (i.e., load the boot loader from) that drive, and then allow the user to choose an operating system from that boot loader's menu. No special disk partitioning is necessary when each operating system has its own dedicated disk drive.
An example of a computer with multiple operating systems per storage device is a dual-booting computer that stores both Windows and Linux on the same disk drive. In this case a multi-booting boot loader is necessary. Also, the disk must be partitioned to give each operating system its own partition on the disk drive.
Partitioning[edit]
Further information: Disk partitioning
The basic concept involves partitioning a disk to accommodate each planned installation, usually including separate partitions for boot, root, data storage and backups.
Windows XP/2000[edit]
Vista's partitioners may not be compatible with XP/2000 (see Logical disk manager#Compatibility problems). If you use Windows 2000/XP, probably the safest approach (for disks under 2 TiB) is to use a CHS partition table alignment that is chosen by Windows XP/2000 (not Vista or Windows 7). If starting with a disk with nothing important on it, delete all partitions, unplug the disk or reboot, create at least one partition with Windows XP/2000 Disk Management or the XP/2000 installer, and format all FAT partitions. The alignment can be checked with Ranish Partition Manager: All partitions (including EBR extended partitions—type 05) should start at the beginning of a head, and end at the end of a cylinder. If nothing is shown in red (with error messages when you highlight them) you probably have a disk with a standard CHS partition table alignment. If you wish to edit the partition table with Linux, first run sfdisk with "--show-geometry" and "--show-pt-geometry".[1] If these return the same geometry, it should be safe to use GParted, so long as it is set to round to cylinders, and you only add partitions to the end of the partition table. If you add a partition to the middle of the extended partition table, GParted will not put them in the order they are on the disk (so that hda7 will follow hda9 instead of hda6). The order can be fixed with a Linux fdisk advanced function. Most Linux partitioners that don't use parted, may not end EBR extended partitions (type 05) on the same sector as their logical drives. When GParted or parted edit these "nonstandard" partition tables, they will "fix" all these EBRs, so that the extended partitions end on the same sector as their logical drives. The partitioner then may show these partitions as having no "errors". This can also be checked using (for example) sfdisk -l -x -us /dev/hda.[1]
Windows and Linux[edit]
Further information: Disk partitioning § Multi-boot and mixed-boot systems
One popular multi-boot configuration is to dual-boot Linux and Windows operating systems, each contained within its own partition. Windows does not facilitate or support multi-boot systems, other than allowing for partition-specific installations, and no choice of boot loader is offered. However, most current Linux installers accommodate dual-booting (although some knowledge of partitions is desirable). Commonly installations proceed without incident but upon restart, the boot loader will recognize only one of the two operating systems.[2]
There are some advantages to installing a Linux boot manager/loader (usually GRUB) as the primary bootloader pointed to by the master boot record. Windows operating systems will be found by properly installed Linux bootloaders, but Windows boot managers do not recognize Linux installations (nor does Windows deal natively with Linux file systems). However, in Vista, in order to install services packs (or other Windows updates) it may be necessary to restore the Vista boot loader first. SP2 may fail to install if it does not find certain files from the Vista boot loader, in the MBR. Similar problems may occur with SP1[3] or when there are cloned disks or partitions.[4] The MBR boot code can be backed up and restored with dd, available on System Rescue CD.
It is often recommended that Windows be installed to the first primary partition. The boot loaders of both Windows and Linux identify partitions with a number derived by counting the partitions. (Note, both Windows and Linux count the partitions according to the ordering of the partitions in the partition table, which may be different from the order of the partitions on the disk.) Adding or deleting a partition at the end of a hard drive will have no effect on any partitions prior to it. However, if a partition is added or deleted at the beginning or middle of a hard drive, the numbering of subsequent partitions may change. If the number of the system partition changes, it requires boot loader reconfiguration in order for an operating system to boot and function properly.
Windows must be installed into a primary partition (and in older systems this must be the first partition). Linux can be installed into a partition in any position on the hard drive and can also be installed into logical partitions (within the extended partition). If Linux is installed into a logical partition within the extended partition, it is unaffected by changes in the primary partitions.
Neutral MBR[edit]
An alternative to storing GRUB in the MBR is keeping Windows' or other generic PC boot code in the MBR, and installing GRUB or another bootloader into a primary partition other than that of Windows, thus keeping the MBR neutral.[5] Operating system selection at boot time consequently depends on the bootloader configured within the primary partition that has the boot or "active" flag set on its partition table entry, which could be a bootloader of DOS, OS/2, eComStation, Blue Lion[6] and/or BSD, in addition to Linux and/or Windows.
With the boot flag set on the Windows primary, the Windows Boot Manager can be used to chainload another installed bootloader by employing usage of a program like EasyBCD.[7] This means the active partition's boot manager will first prompt the user for selection what OS to boot, then load another if necessary, such as GRUB, even a bootloader installed to a logical partition, and then GRUB will load the Linux kernel as it normally would were GRUB installed to the MBR.
The active partition could also be one that exists for no purpose other than choosing an operating system to boot , such as the Boot Manager that shipped with IBM's OS/2 Warp and with eComStation.
Apple Boot Camp[edit]
Main article: Boot Camp (software)
Boot Camp allows owners of Intel-based Apple Macintosh computers to install Windows XP,Vista,7,8,and Windows10 on their Macs. The software comes bundled with Mac OS X since version 10.5 (Leopard). Previously the application was available in beta version as a download from Apple's website.
Boot Camp allows non-destructive disk partitioning and resizing of HFS+ filesystems, boot menu options, and an option to burn a CD with necessary device drivers. Since Windows XP is incompatible with Extensible Firmware Interface (the successor to legacy BIOS), the firmware on early Intel Macs needs to be updated to support BIOS emulation first. BIOS emulation is achieved with a compatibility support module (CSM). Apple does not support non-Windows partition formats or drivers so therefore configuring other operating systems is not directly possible through Boot Camp itself. However, any operating system which can utilize the BIOS emulation of Intel Macintosh can be made to work, including non-XP versions of Windows. The Ubuntu Linux distribution is particularly popular for this purpose because they provide an option to use proprietary device drivers along with open source drivers.
See also[edit]
Booting
Comparison of boot loaders
GNU GRUB
Ext2Fsd support for ext2/3/4 under Microsoft Windows
Multiboot Specification
Windows To Go
NeoSmart Technologies' EasyBCD, a free program to configure Multi-booting on Windows
XOSL, a free, graphical, open source boot loader
Virtualization
References[edit]
^ Jump up to: a b http://linux.die.net/man/8/sfdisk
Jump up ^ http://www.tomshardware.com/answers/id-2106559/booting-problem-linux-windows-boot-loader.html
Jump up ^ http://blogs.sun.com/pomah/entry/installing_windows_vista_service_pack
Jump up ^ http://news.softpedia.com/news/Vista-SP2-Fails-to-Install-on-PCs-with-Cloned-Disks-or-Partitions-111761.shtml
Jump up ^ "openSUSE Bugs/grub". openSUSE Bugs/grub. 28 January 2010. Retrieved 22 January 2017.
Jump up ^ "ArcaOS". Blue Lion, by Arca Noae. 13 November 2016. Retrieved 22 January 2017.
Jump up ^ "How to add an entry for a Linux distribution in Windows' boot menu". Linux BSD OS. 21 July 2012. Retrieved 10 July 2016.
External links[edit]
Multiboot Specification
Dual, Triple, Quad Boot a Macbook with Mac OS X, Ubuntu Linux, Windows XP, and Windows Vista
The definitive dual-booting guide: Windows 7, Linux, Vista, XP: with screenshots.
Installing Windows XP:Dual-Booting Versus Single Booting
Retrieved from "https://en.wikipedia.org/w/index.php?title=Multi-booting&oldid=811048564"
Categories:
Booting
Disk partitions
Hidden categories:
Articles that may contain original research from March 2011
All articles that may contain original research
Articles needing additional references from March 2011
All articles needing additional references
Articles lacking in-text citations from October 2013
All articles lacking in-text citations
Articles with multiple maintenance issues
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Article
Talk
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Contents
Featured content
Current events
Random article
Donate to Wikipedia
Wikipedia store
Interaction
Help
About Wikipedia
Community portal
Recent changes
Contact page
Tools
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Wikidata item
Cite this page
Print/export
Create a book
Download as PDF
Printable version
In other projects
Wikimedia Commons
Languages
العربية
Български
Čeština
Deutsch
Español
Français
한국어
Italiano
Latviešu
Magyar
മലയാളം
日本語
Norsk
Português
Русский
Suomi
Українська
中文
Edit links
This page was last edited on 19 November 2017, at 06:04.
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
Privacy policy
About Wikipedia
Disclaimers
Contact Wikipedia
Developers
Cookie statement
Mobile view
Enable previews

key: html

type: local

value: div

attrs: id class

values: mw-page-base noprint

values: mw-head-base noprint

value: a

attrs: id class lang

values: firstHeading firstHeading en

values: siteSub noprint

values: jump-to-nav mw-jump

value: span

attrs: class role tabindex

values: mw-collapsible-toggle button 0

value: b

attrs: class href

attrs: href title

value: i

value: small

values: plainlinks metadata ambox ambox-content ambox-Original_research

values: Help:Introduction to referencing with Wiki Markup/1

values: plainlinks metadata ambox ambox-content ambox-Refimprove

values: Wikipedia:WikiProject Fact and Reference Check

values: plainlinks metadata ambox ambox-style ambox-More_footnotes

values:
mw-collapsible
width:95%; margin: 0.2em 0;

values: plainlinks metadata ambox ambox-content ambox-multiple_issues compact-ambox

attrs: alt src width height class srcset data-file-width data-file-height

values:
/wiki/Computer_software
mw-redirect
Computer software

values:
/wiki/Software_developer
mw-redirect
Software developer

values: Edit section: Number of operating systems per storage device

values: Partition table alignment (page does not exist)

values:
/wiki/Disk_Management
mw-redirect
Disk Management

values:
/wiki/Extended_Boot_Record
mw-redirect
Extended Boot Record

values:
/wiki/Logical_drive
mw-redirect
Logical drive

values:
/wiki/Boot_loader
mw-redirect
Boot loader

values:
/wiki/Boot_manager
mw-redirect
Boot manager

values:
/wiki/File_systems
mw-redirect
File systems

values:
/wiki/System_Rescue_CD
mw-redirect
System Rescue CD

values:
/wiki/Primary_partition
mw-redirect
Primary partition

values:
/wiki/Extended_partition
mw-redirect
Extended partition

values:
/wiki/Windows_Boot_Manager
mw-redirect
Windows Boot Manager

values:
/wiki/Device_drivers
mw-redirect
Device drivers

values:
/wiki/Extensible_Firmware_Interface
mw-redirect
Extensible Firmware Interface

values:
nofollow
external free
http://linux.die.net/man/8/sfdisk

values:
nofollow
https://www.arcanoae.com/blue-lion/
external text

values:
reflist mw-references-wrap
list-style-type: decimal;

values: Category:Articles that may contain original research from March 2011

values: Category:All articles that may contain original research

values: Category:Articles needing additional references from March 2011

values: Category:All articles needing additional references

values: Category:Articles lacking in-text citations from October 2013

values: Category:All articles lacking in-text citations

values: Category:Articles with multiple maintenance issues

values: Discussion about edits from this IP address [ctrl-alt-n]

values: A list of edits made from this IP address [ctrl-alt-y]

values: You are encouraged to create an account and log in; however, it is not mandatory

values: You're encouraged to log in; however, it's not mandatory. [ctrl-alt-o]

values:
/wiki/Multi-booting
View the content page [ctrl-alt-c]
c

values: Discussion about the content page [ctrl-alt-t]

values: p-namespaces navigation vectorTabs p-namespaces-label

values:
p-variants
navigation
vectorMenu emptyPortlet
p-variants-label

values: Past revisions of this page [ctrl-alt-h]

values: p-views navigation vectorTabs p-views-label

values:
p-cactions
navigation
vectorMenu emptyPortlet
p-cactions-label

values:
mw-wiki-logo
/wiki/Main_Page
Visit the main page

values:
/wiki/Main_Page
Visit the main page [ctrl-alt-z]
z

values: Featured content – the best of Wikipedia

values: Find background information on current events

values:
/wiki/Special:Random
Load a random article [ctrl-alt-x]
x

values: portal navigation p-navigation p-navigation-label

values: Guidance on how to use and edit Wikipedia

values: About the project, what you can do, where to find things

values: A list of recent changes in the wiki [ctrl-alt-r]

values: portal navigation p-interaction p-interaction-label

values: List of all English Wikipedia pages containing links to this page [ctrl-alt-j]

values: Recent changes in pages linked from this page [ctrl-alt-k]

values:
/wiki/Wikipedia:File_Upload_Wizard
Upload files [ctrl-alt-u]
u

values: A list of all special pages [ctrl-alt-q]

values: Permanent link to this revision of the page

values: Link to connected data repository item [ctrl-alt-g]

values: Printable version of this page [ctrl-alt-p]

values: portal navigation p-wikibase-otherprojects p-wikibase-otherprojects-label

values:
uls-settings-trigger
Language settings
0
button
true

values: الإقلاع المتعدد – Arabic

values:
https://bg.wikipedia.org/wiki/Dual_boot
Dual boot – Bulgarian
bg
bg
interlanguage-link-target

values:
https://fr.wikipedia.org/wiki/Multiboot
Multiboot – French
fr
fr
interlanguage-link-target

values:
https://it.wikipedia.org/wiki/Dual_boot
Dual boot – Italian
it
it
interlanguage-link-target

values:
https://hu.wikipedia.org/wiki/Dual-boot
Dual-boot – Hungarian
hu
hu
interlanguage-link-target

values: മൾട്ടി ബൂട്ടിങ്ങ് – Malayalam

values: Мультизагрузка – Russian

values: Подвійне завантаження – Ukrainian

values: mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Multi-booting rootpage-Multi-booting skin-vector action-view