Its back to work

by Andy on September 10, 2007

Its back to work today after being off of work for the baby. I was running updates on my Ubuntu Laptop…wait let me back up…i have a laptop that i dual boot WinXP and Ubuntu and have my winxp booting first so unless you take action xp loads because my wife dosnt like Linux and so i made it ease so she dosnt have to do anything to get to xp well i was updating Ubuntu and it over wrote the grub boot loader so it took out the xp all together so i had no way to to boot to windows well i fixed it with help from Javafreak

First you need to type this into a terminal window

The GRUB boot menu configuration is in the file
/boot/grub/menu.ls

1. backup menu.ls:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst-backup

2. edit menu.ls:
sudo gedit /boot/grub/menu.lst

Then you need to add this back in

### 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/sda1
title Windows XP
root (hd0,0)
savedefault
makeactive
chainloader +1

Previous post:

Next post: