Dual Boot Into Windows Trouble
Hello. I am currently running Ubuntu 7.04 with KDE and would like to be able to dual boot to windows xp. Originally, one of my friends set up this version of Linux on my computer. GRUB was was on along with it and windows was another boot option I originally had. However, I recently updated my Ubuntu using adept and in doing so, windows was replaced on the boot list by the update. In the end, I would now like to find a way to get windows back onto my boot list. I know this probably isn't enough information about my system to explain to me how to accomplish this, so if there's any other info you need please just let me know. Also, know that I hardly know what I"m doing with Linux still, so I may ask a few questions about the answers you give me. Thank you for your time.
|
The first thing needed is to find out able the disk landscape of your computer. As root run
Code:
fdisk -l That should return a list of partitions, of which one or more hopefully contains your Windows stuff. Post the results here (in code tags, please). Also, post your /boot/grub/grub.conf or /boot/grub/menu.lst file here (again, please be courteous, and use code tags) From there, we can begin to piece the recovery process together. --- rod. |
Alright,
Code:
fdisk -l Code:
Disk /dev/sda: 200.0 GB, 200049647616 bytes Also, my /boot/grub/menu.lst is as follows: Code:
# menu.lst - See: grub(8), info grub, update-grub(8) |
I think you need to add some lines to your /boot/grub.nenu.lst file. Here is the end of mine...
kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST # This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for a non-linux OS # on /dev/hda1 title Microsoft Windows XP Home Edition root (hd0,0) savedefault makeactive chainloader +1 See how it adds on an extra entry beneath the "### END DEBIAN AUTOMAGIC KERNELS LIST" line. My XP is on my hda1 partition, and so is called "hd0,0" in grub. To explain... a = 0 b = 1 1 = 0 2 = 1 so... hdb2 is 1,1 hda2 is 0,1 hda1 is 0,0 sda2 is 0,1 I would add an option in to your /boot/grub.nenu.lst like mine to read... # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda2 title Microsoft Windows XP Home Edition root (hd0,1) savedefault makeactive chainloader +1 |
Awesome, Windows XP now appears in GRUB.
In the end I added the following: Code:
# This is a divider, added to separate the menu items below from the Debian Thanks a lot for the help and knowledge. And I think it makes enough sense now that if I install another OS I don't think I'll need to ask for help. Thanks again. |
All times are GMT -5. The time now is 08:21 AM. |