I need to repair the Windows XP Professional entry; after freshly installing Kubuntu (and getting wireless running!!!) I edited grub.lst w/ a timeout of 3 and Windows as the default boot entry. However after downloading 122 updates, Windows was erased from grub.lst altogether. Can someone help me?
## ## End Default Options ##
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Kubuntu (kernel 2.6.17-11)
root (hd0,5)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda6 ro quiet splash
initrd /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
boot
title Kubuntu (kernel 2.6.17-11-generic, recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda6 ro single
initrd /boot/initrd.img-2.6.17-11-generic
boot
title Kubuntu, memtest86+
root (hd0,5)
kernel /boot/memtest86+.bin
quiet
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
-
You'll need to know which partition your Windows is installed to. You can do this by finding the "Disks" application in the K menu, and then finding the Windows partition (you should recognize the size and it may be listed as an NTFS partition). From there, you'll want to edit GRUB. I'm not exactly sure of what you need to add, but I'm sure someone else will respond. If not, I'll get back to you once I'm at home at my laptop and can inspect my grub.lst.
-
Partition arrangement:
*Windows *Linux swap *Linux
I think this is how my partitions are named:
Primary: hda0
>Windows: hda1
Extended: hda3
>swap: hda4
>Kubuntu Linux: hda5 -
Someone please help; I must get Windows running again!
-
This should work!
title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1
if it doesn't try
root (hd0,0)
V you're welcome. -
Your second suggestion worked macker, thanks!
help repairing grub.lst
Discussion in 'Linux Compatibility and Software' started by Bog, Feb 26, 2007.