Windows add to Grub
Fdisk
If you only have Windows installed after Ubuntu was installed on your computer, Grub has therefore not found when installing Ubuntu. You should so have to add. This goes as follows. First you need to know what hard drive and / or partition the Windows installation. This may be using Fdisk. Fdisk is a text-based program, meaning that through the terminal is running and no graphical interface has.
So open your terminal via "Applications" -> "Tools" -> "Terminal Window". Type the following:
You have now your password. Do this. You get an overview of the hard disks and partitions in your computer.
"dev" stands for Device. This is simply computer. "sd" to "sda" implies that this is a SATA or SCSI hard disk is. The "a" means that this is the first disk in the primary locked. The first hard disk so. If you use IDE instead of SATA, like me, you will "hda" view.
The figures after "sda" indicate the partition number.
Windows Add
Now you know open your "menu.lst" via the famous road. Go to the bottom and copy the following to the list:
Code:
title Microsoft Windows XP Professional root (hd0, 0) save default makeactive chainloader loader 1
Here, the attention, at root (hd0, 0) fill in the first figure in which hard disk it is. For me this is "sda". The "a" is the first letter in the alphabet. Computers, however, start counting at 0. It is the same as a 0. Since GRUB does not distinguish between "sd" and "hd", fill in root always "hd" in. The number behind the decimal point is the partition number. As you can see the picture above is my Windows partition 1. Once again, computers start counting at 0. Windows is by me to "hd0, 0.
If you're still in "menu.lst" is, you can purge the list, so you boot screen is what looks netter. If you can name in the startup screen in menu.lst the "title" to them. You can also the parts you do not intend to simply use the list.
So, I this:
Code:
title Ubuntu 8.04.1, kernel 2.6.24-9-generic root (hd0, 4) kernel / boot/vmlinuz-2.6.24-21-generic root = UUID = 61f48300-4426-4b94-8ac2-e4421968645c ro quiet splash initrd / boot/initrd.img-2.6.24-21-generic quiet title Ubuntu 8.04.1, kernel 2.6.24-9-generic root (hd0, 4) kernel / boot/vmlinuz-2.6.24-21-generic (recovery mode) root = UUID = 61f48300-4426-4b94-8ac2-e4421968645c ro single initrd / boot/initrd.img-2.6.24-21-generic title Ubuntu 8.04.1, memtest86 + root (hd0, 4) kernel / boot / memtest86 +. bin quiet
went to this:
Code:
title Ubuntu root (hd0, 4) kernel / boot/vmlinuz-2.6.24-21-generic root = UUID = 61f48300-4426-4b94-8ac2-e4421968645c ro quiet splash initrd / boot/initrd.img-2.6.24-21 -generic quiet title Windows XP Professional root (hd0, 0) save default makeactive chainloader loader 1
The startup screen looks as follows:
Abstract concepts list:
chain loader
Grub gives control to the program, namely windows.
makeactive
Is the root partition (hd0, 0 in my Windows) active partition.
save default
Ensures that the previous default GRUB remembers.
Aware that when you remove these rules, you do not check box in the case of faulty hardware or a damaged boot partition.
Bookmarks