I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows. How do I remove Ubuntu? Back to top. GNU GRUB. More recently, the GRand Unified Boot loader (commonly known as GRUB) seems to have somewhat taken the boot loaders crown from LILO. GNU GRUB is actively developed by the Free Software Foundation and. Ian Shields is a freelance Linux writer. He retired from IBM at the Research Triangle Park, NC. Ian joined IBM in Canberra, Australia, as a systems engineer in 1973, and has worked in Montreal.
39 users responded in ' How to install Windows 7 from Ubuntu without burnning a disc '.
Dual Boot Windows and Linux Grub. Dual Booting Debian Linux and Windows. This page covers the use of Grub with Debian Sarge/Etch/Lenny (2.
For a procedure that covers LILO with Debian Woody (2. WARNING: Modifying the boot sector and partition table on a hard- drive is RISKY BUSINESS! Make sure you have a complete backup of your system, the original Windows CD, and the proper boot/recovery floppies before attempting to set up a dual- boot system. The commands given on this page worked for me. HOWEVER, that is no guarantee they will work for you or that you will make the correct selections.
USE OF THIS PAGE IS AT YOUR OWN RISK. Setting up Debian Linux on its own dedicated system is the much preferred way to go, particularly when it comes to playing around with the networking functionality related to servers. Used Pentium- III clone systems can be gotten on auction sites like e.
Bay for less than $1. However, if a separate system is not feasible or affordable, you can install Debian on your current system in a dual- boot configuration. Dual- boot is also useful if you wish to install Linux on a notebook to take advantage of all of the free network monitoring and testing tools available (bing, wireshark, mrtg, nmap, ntop, etc.).
When you install Windows XP, the Linux partitions can be removed and new partitions created and formatted with the appropriate file system type during the installation process. Windows XP allows you to create more than. We developed this procedure using Windows 98 with a FAT (16) partition but it shares the same boot structure as 95 and ME (since we don't have any experience with XP Home we can't say for sure, but assume it's the same as 95. 1.3. Suggestions / Feedback. I rely on you, the reader, to make this HOWTO useful. THis HOWTO is probably incomplete even if it tries to be accurate to the best of our knowledge. If you have any suggestions, corrections. LILO (Linux Loader) and GRUB (GRand Unified Bootloader) are both configured as a primary boot loader (installed on the MBR) or secondary boot loader (installed onto a bootable partition). Both work with supporting operating.
When setting up a dual- boot system you can either have unpartitioned space on single hard- drive or a second unpartitioned hard- drive in the system. There are commercial and shareware utilities available that you can use to resize existing partitions. These would allow you to free up some space on an existing hard- drive that currently has a single Windows partition taking up the entire drive.
Use of this type of utility is not covered here. When you have two different OSs installed on a hard- drive, it's like having two different systems in one box. The trick is to be able to choose which OS you want to run when the machine boots up.
This is where a "boot manager" comes in. It runs from the MBR (master boot record) of your hard- drive and allows you to select which partition you wish to boot. There are commercial and shareware boot managers available.
In addition, Windows NT/2. XP Pro systems have a boot manager of their own (NTLDR) so no 3rd- party boot manager is needed. Linux also comes with boot managers called LILO and Grub. If dual- booting a Windows 9. ME system you have no choice but to use LILO or Grub (or a 3rd party boot manager) because these versions of Windows don't have their own boot manager the way NT/2.
XP Pro do. When you install Debian other bootable partitions are automatically detected and Grub is set up with a menu which allows you to select them at system boot. As you will see below, with Debian and NT/2.
XP Pro you have a choice of whether you want to use NTLDR or Grub. We cover both scenarios below. Assumptions. The procedures on this page assume the following. You have a working installation of Windows on the system you wish to set up for dual- boot. You have either a second, partition- less hard- drive installed in your system or you have unpartitioned space on the hard- drive which contains your Windows installation. If you're going to set up a dual- boot system with 9x/ME you will use Grub instead of a 3rd- party boot manager.
Setting up dual- boot system is not a one- way deal. It takes a little work, but you can un- do it by removing LILO or Grub (or a 3rd- party boot manager) from the MBR by rewriting it. How you re- write an MBR differs from one version of Windows to the next.
We cover a some of these scenarios in the Un- Doing Dual- Boot section below. Note that some Windows versions REQUIRE THAT YOU HAVE THE ORIGINAL CD to boot off of to re- write the MBR. This page is divided into sections for 9x/ME and NT/2. XP Pro. In addition, the NT/2. XP Pro section has different procedures for using NTLDR and Grub as the boot manager (i.
NOTE that this page is not meant to be a stand- alone procedure. It is meant to provide the additional steps necessary to set up a dual- boot configuration. These additional steps need to be integrated with the appropriate steps given on the Debian Installation page. We developed this procedure using Windows 9.
FAT (1. 6) partition but it shares the same boot structure as 9. ME (since we don't have any experience with XP Home we can't say for sure, but assume it's the same as 9. ME). Because the 9x/ME versions of Windows don't come with a boot manager utility, you'll have to use Grub as your boot manager. You could also use a 3rd- party boot manager at a later point.).
IMPORTANT: You'll want to know whether your hard- drive is formatted as FAT or FAT3. FDISK later). To find out, open My Computer and right- click on the C: drive and select Properties. Note the "File system: " type. Run the Debian installation routine as detailed on the Installation page up to Step 4 and you'll see the "Partitioning disks" screen. Seletct the Manually edit partition table partitioning method and press Enter. On the partition list screen arrow down to the line that contains the words "FREE SPACE" (which will be unpartitioned space on your primary (IDE1) drive or a partitionless second (IDE2) drive) and press Enter.
If you don't have a line with the words "FREE SPACE" it means the space you plan to use for Debian is already partitioned. You'll have to delete this partition (DON'T DELETE THE WRONG ONE!) so a Linux partition can be created.). On the "How to use this free space" screen select Automatically partition the free space and press Enter. This will create both the root and swap partitions.). When asked for a partitioning scheme use the default All files in one partition scheme by pressing Enter. On the next screen you should see that you have a "#1 Primary" partition formatted as FAT which will be your Windows partition, a "#2 Primary" partition which is the root partition for your Debian installation, and a logical swap partition (#5).
Arrow down to Finish partitioning and write changes to disk selection and press Enter and answer Yes at the confirmation screen. The partitions will be created and the base packages will be installed. Then you will be asked if you want to "Install the GRUB boot loader to the master boot record".
Answer Yes to this. The first part of the Debian installation will complete and you'll be prompted to remove the CD and Continue to reboot the system. At this point you can return to Step 5 of the Debian installation routine on the Installation page. Grub will load Debian by default. Your Windows 9x/ME OS will be the third Grub menu selection (behind Debian and Debian Recovery).
If you want to change this to default to your Windows installation, you'll need to edit the file. You can use the nano editor to open this file.) Look for the line. Default 0and change the 0 to a 3. You can also change the timeout value at the same time, which is the value the Grub menu stays on the screen before it boots the default OS. We developed this procedure using Windows 2. NT and XP use the same boot manager program (NTLDR).
You have two options when setting up a dual- boot system with NT/2. XP. Because these versions of Windows have their own boot manager, you can use it or you can use Linux Grub.
Regardless of the boot manager you use, the Debian installation starts out the same as that for 9x/ME. Run the Debian installation routine as detailed on the Installation page up to Step 4 and you'll see the "Partitioning disks" screen. Select the Manually edit partition table partitioning method and press Enter. Single Hard- Drive Setup. On the partition list screen arrow down to the line that contains the words "FREE SPACE" which will be unpartitioned space on your primary (IDE1) drive (which also contains the Windows partition) and press Enter. On the "How to use this free space" screen select Automatically partition the free space and press Enter.
This will create both the root and swap partitions.). When asked for a partitioning scheme use the default All files in one partition scheme by pressing Enter. Back on the partition list screen you should see that you have a "#1 Primary" partition formatted as FAT or NTFS which will be your Windows partition, a "#2 Primary" partition which is the root partition for your Debian installation, and a logical swap partition (#5). If you plan on using NTLDR arrow the highlight bar to the #1 Primary partition (your Windows partition) and press Enter.
Look at the Bootable flag setting. If it's not set to on, press Enter to change it to on. Select Done setting up the partition and press Enter to return to the parition list screen. Arrow down to Finish partitioning and write changes to disk selection and press Enter and answer Yes at the confirmation screen. Two Hard- Drive Setup. On the partition list screen arrow down to the line under IDE2 that contains the words "FREE SPACE" which will be unpartitioned second hard- drive and press Enter.
On the "How to use this free space" screen select Automatically partition the free space and press Enter. This will create both the root and swap partitions.). When asked for a partitioning scheme use the default All files in one partition scheme by pressing Enter. Back on the partition list screen you should see that you have a "#1 Primary" partition under IDE1 formatted as FAT or NTFS which will be your Windows partition and a "#1 Primary" partition under IDE2 which is the root partition for your Debian installation. You'll also have a logical swap partition (#5) under IDE2. If you plan on using NTLDR arrow the highlight bar to the #1 Primary partition under IDE2 (your Debian root partition) and press Enter. Look at the Bootable flag setting.
If it is set to on, press Enter to change it to off. Select Done setting up the partition and press Enter to return to the parition list screen. Look at the IDE2 line in the parition list. In the same line is the hard- drive designation. It will either be hdb, hdc, or hdd. Write down what it is as you will need it later.