Dual boot (Ubuntu and Windows XP) Installation Process
Two hard disks in my system.
First HD 20 GB for Linux.
Second HD with three NTFS partitions. Windows XP is first installed in one of these partitions.
Next, Linux Ubuntu 11.10 is installed in first HD.
Ubuntu is booted normally. There is no grub showing option to boot Windows XP.
When Ubuntu is booted, click on Home Folder from the Ubuntu Desktop.
Select “File System” option.
Click on boot/grub/grub.cfg
There is no trace of Windows XP entry.
Go to terminal mode and type following to upgrade grub.
$ sudo update-grub
Restart system.
Now you will see the grub with the following options
Ubuntu, with Linux 3.0.0-12-generic
Ubuntu, with Linux 3.0.0-12-generic (recovery mode)
Memory test(memtest86+)
Memory test(memtest86+, serial console 115200)
Windows NT/2000/XP(loader)(on /dev/sdb5)
If you select '1' option, Ubuntu booted normally.
Click on boot/grub/grub.cfg
Now you will see Windows XP entry in grub.cfg as follows.
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows NT/2000/XP (loader) (on /dev/sdb5)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 4EA8BEAAA8BE8FC7
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
If you select '5' option, it says
NTLDR is missing
Press Ctlr+Alt+Del to restart
How to solve this problem? Lets see next Steps...
No comments:
Post a Comment