Diff for "DualBoot"


Differences between revisions 22 and 43 (spanning 21 versions)
Revision 22 as of 2010-06-13 18:26:48
Size: 7888
Editor: 78-105-201-166
Comment: tried re-writing the Recovery Cd section but did it fairly badly
Revision 43 as of 2015-05-17 13:43:14
Size: 2492
Editor: 100
Comment: 1) Streamlined article. 2) RM'ed Windows sect. as overlaps with older, more establshed article. 2) RM'ed forums/blogs as all vetted info/"gotchas"/caveats should be in help.ubuntu.com directly.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#title Dual Boot Ubuntu and Windows

||<tablestyle="float:right; font-size: 0.9em; width:50%; background:#F1F1ED; background-repeat: no-repeat; background-position: 98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;"><<TableOfContents>>||
||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; background-repeat: no-repeat; background-position: 98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;"><<TableOfContents>>||
Line 7: Line 5:
These pages describe how to set-up your computer in order to dual-boot (or multi-boot) Ubuntu and another Operating System(s), such as Windows or even another install of Ubuntu. These pages describe how to setup your computer to dual, or multi-boot Ubuntu, with another instance of Ubuntu, and additional operating systems.
Line 11: Line 9:
First, of course, backup your data files and settings to an external backup medium before attempting any kind of install (or any other hard-drive manipulation). Accidents do happen, especially if you have not taken reasonable precautions beforehand. External hard drives, USB flash drives, and multiple DVDs or CDs are useful as external backup media. First, backup your data files and settings to an external backup medium (ex. USB hard drive) before attempting any kind of changes.
Line 13: Line 11:
One of the reasons people find linux easier to work with is that ALL the data and settings of all the users on a system are all contained within one easy to find folder. With some other operating systems (notably Windows) there are often stray parts, such as photo-albums, that are scattered elsewhere within their folders (hint look in "Application Data" folders both inside and outside the users folders). = Recovery CD for existing operating system =
Line 15: Line 13:
= Recovery Cd for existing OS(s) =
It is wise to make sure you have the ability to fix or re-install the current Operating System. It is possible that you don't like Ubuntu or that some other unusual event happens requiring you to fix the OS that is already set-up on the machine.

Many Operating Systems have an "Installer Cd" or LiveCd (or Dvd, Usb or something) that can also be used to fix most problems. Ubuntu's installer Cd can be used as a LiveCd.

For the Windows [[https://help.ubuntu.com/community/WindowsRecoveryCd | Recovery Cd]] this guide helps
 * https://help.ubuntu.com/community/WindowsRecoveryCd
As the guide says many laptops have a "Recovery Partition" at the start of the hard-drive that can be used to make a Windows Recovery Cd with the drivers for that particular laptop.

Most [[http://distrowatch.com | distros]] (such as [[http://distrowatch.com/table.php?distribution=slitaz | sliTaz]]) can fix most Windows problems and there are specialist distros (such as [[http://distrowatch.com/table.php?distribution=trinity | Trinity Rescue Kit]] and [[http://distrowatch.com/table.php?distribution=systemrescuecd | SystemRescueCd]]) that can fix a lot more. However fixing the Windows boot-loader or reinstalling Windows will need the Windows Cd or Recovery Cd.

For Ubuntu or other linux distro the newer Grub2 (GRand Unified Boot-loader) can replace the existing boot-loader quite happily although possibly not Slackware distros. So almost any linux distro will be able to repair almost any other. At 12th June 2010 only a few distros use Grub2 but those include Ubuntu, Debian, Mint and Fedora (of course). More are upgrading from grub1 as their new releases emerge. Slackware still uses Lilo so a few of their users may need their own Cd. Visit the [[http://distrowatch.com | DistroWatch]] home-page for the top 100 list of most popular distros and notice that Ubuntu is top of the list.
It is best to have OEM provided external recovery media prior to making any changes to your hard drive. If you don't have any please contact your vendor for support.
Line 30: Line 17:
Most operating systems automatically, during install, check for other currently existing operating systems. They then add the existing ones into a boot-menu along with the new one so that you can choose which OS to boot into. Windows does not but it is the exception.

It is really only Windows that ignores anything currently on your system and because of that it becomes a little more difficult to dual-boot with Windows, if Windows is installed last. There are a lot of guides on how to dual-boot with Windows on the internet because it is likely to be a person's first attempt at setting up a dual-boot system. It is also the most difficult.

If Windows is already installed or gets installed before Ubuntu then the automatic systems make it easy, just as it does with any other OS.
Most operating systems during install automatically check for other currently existing operating systems. They then add the existing ones into a boot-menu along with the new one so that you can choose which OS to boot into. However, Windows does not.
Line 38: Line 21:
Usually you already have an existing OS which you use. As you go through the Ubuntu installer you reach a section called "Partitioning Section", this offers you a choice to install Ubuntu alongside your existing OS. This does all the work for you. When you reboot the machine you get to a menu with these choices
Usually you already have an existing OS which you use. As you go through the Ubuntu installer you reach a section called "Partitioning Section", this offers you a choice to install Ubuntu alongside your existing OS. This does all the work for you. When you reboot the machine you get to a menu with these choices:
Line 47: Line 29:
If you installed Ubuntu first and a different OS last then the menu will look something like this
If you installed Ubuntu first and a different OS last then the menu will look something like this:
Line 53: Line 34:
Line 57: Line 37:
There is a more detailed guide about [[https://help.ubuntu.com/community/DualBoot/Windows | dual-booting with Windows]]. It gives advice about some fairly specific, unusual cases, more notes about preparation and some detail about more advanced layouts rather then the defaults.
Line 59: Line 38:
Below are some notes of peculiar problems with Vista and some Win7 although these may have settled down by the time you read this. Most other Windows such as Xp, 2000, ME and 98 are all fine.

''' Windows First '''</br>
When Windows is installed [[https://help.ubuntu.com/community/DualBoot/WindowsFirst | first]] it is very very much easier because the Ubuntu installer automatically sorts the boot-loader and boot-menu for you. You can use a much more complicated, more precise route, if you prefer but for a first attempt it is probably better to let the automatic system do all the work for you. Just follow the obvious section in the "Partitioning Section" of the Ubuntu installer.

''' Windows Last '''</br>
If Windows was installed [[https://help.ubuntu.com/community/DualBoot/WindowsLast | last]] then the Windows boot-loader gets used which gives no menu and just boots straight into Windows. We can [[https://help.ubuntu.com/community/DualBoot/Grub | fix]] that fairly easily.

=== Vista ===
Service Pack1 and earlier may need to be resized from inside Vista as it sometimes stops you from being able to boot into Vista at all otherwise. There is a guide on how to recover from this but i cannot find it right now.
=== Win7 ===
Apparently Windows 7 installs 2 partitions on a standard install from their Cd. The first partition being a tiny "Recovery Partition". Apparently this makes it difficult for grub to boot up the system. Since we haven't seen many questions about this in the forums i am not certain this is really a problem but i will attempt to link to some guides from a google search (or something) later.
For instructions on Windows, please see [[https://help.ubuntu.com/community/WindowsDualBoot|here]].
Line 74: Line 42:
There are a lot of guides out there but i gather the whole Mac section is being re-written. Need to find which pages to add links to in here.
Please see section 4 of [[MactelSupportTeam/AppleIntelInstallation#Dual-Boot:%20Mac%20OSX%20and%20Ubuntu | this guide]] on [[DualBoot/MacOSX| Mac Dual-boot]]. The Mac guide is not as complete as the sections for other Operating Systems but i think it is being worked on.
Line 82: Line 49:

= External Links =
 * [[http://ubuntuguide.org/wiki/Ubuntu:Karmic#Installing_Ubuntu|Ubuntuguide -- Installing Ubuntu]] -- concise and up-to-date
 * [[http://members.iinet.net/~herman546/|Illustrated Dual Boot Site]].
 * [[http://neosmart.net/wiki/display/EBCD/Linux|Dual-Booting Ubuntu and Vista with EasyBCD]]
 * [[http://neosmart.net/wiki/display/EBCD/Ubuntu|Step-By-Step Screenshot Tutorial to set-up an Ubuntu + Vista dual-boot]]
 * [[http://www.ehomeupgrade.com/entry/2622/how-to_dual-boot_ubuntu|How-To: Dual-Boot Ubuntu 6.06 (Dapper) Linux Desktop Along Side Windows XP]]
 * [[http://www.howtoforge.com/unetbootin_windows_ubuntu_fedora_p4|HowtoForge Guide: Partition Resizing using UNetbootin-PartedMagic]]


Introduction

These pages describe how to setup your computer to dual, or multi-boot Ubuntu, with another instance of Ubuntu, and additional operating systems.

Back Up Your Data

First, backup your data files and settings to an external backup medium (ex. USB hard drive) before attempting any kind of changes.

Recovery CD for existing operating system

It is best to have OEM provided external recovery media prior to making any changes to your hard drive. If you don't have any please contact your vendor for support.

Some Cases

Most operating systems during install automatically check for other currently existing operating systems. They then add the existing ones into a boot-menu along with the new one so that you can choose which OS to boot into. However, Windows does not.

General Case

Usually you already have an existing OS which you use. As you go through the Ubuntu installer you reach a section called "Partitioning Section", this offers you a choice to install Ubuntu alongside your existing OS. This does all the work for you. When you reboot the machine you get to a menu with these choices:

  1. Ubuntu
  2. Ubuntu in recovery mode = housekeeping & handy fix-it tools

  3. Old OS 1
  4. Old OS 2 (if you are making a multi-boot rather than just a dual-boot)
  5. Memtest
  6. There might be other options

If you installed Ubuntu first and a different OS last then the menu will look something like this:

  1. non-Windows other OS
  2. Ubuntu
  3. Memtest (usually)
  4. There might be other options

So, if Ubuntu is not installed last then the "recovery mode" is missed but can be edited into the list.

Windows

For instructions on Windows, please see here.

Mac

Please see section 4 of this guide on Mac Dual-boot. The Mac guide is not as complete as the sections for other Operating Systems but i think it is being worked on.

Xen Server

There is a guide but also this question might help. Note at the end it mentions using "chainloader"


CategoryHardware

DualBoot (last edited 2015-05-17 13:43:14 by 100)