Amiga.org

The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: Ni72ous on June 21, 2008, 04:19:02 AM

Title: Updated ubuntu and xp gone
Post by: Ni72ous on June 21, 2008, 04:19:02 AM
Hi all

I installed ubuntu on my laptop, had xp installed fisrt, everything went fine, got it dual booting fine, managed to get
grub to boot from xp as default, then updated ubuntu, rebooted and xp is gone from grubs menu, can someone help me
put it back in grub please else i think i will just stick my xp cd in and blow ubuntu out :(

Thanks
Title: Re: Updated ubuntu and xp gone
Post by: Jeff on June 21, 2008, 04:21:28 AM
No need to do that. Someone will come along any minute and let you know how to fix it. I think you have to edit menu.lst or something close to that.

-Jeff
Title: Re: Updated ubuntu and xp gone
Post by: Ni72ous on June 21, 2008, 04:23:35 AM
Hope so as i am a total linux noob oO

Title: Re: Updated ubuntu and xp gone
Post by: CSixx on June 21, 2008, 04:52:37 AM
open a terminal in ubuntu...

type:
sudo gedit /boot/grub/menu.lst

uncomment your XP entry...
Title: Re: Updated ubuntu and xp gone
Post by: Ni72ous on June 21, 2008, 05:24:09 AM
There was no xp entry there, only duplicated entries for
ubuntu, managed to get it to work by adding the following

title windows
root (hd0,0)
chainloader +1

i am confused about what that does/means

Thanks for your help anyway, know any good linux noob sites?
Title: Re: Updated ubuntu and xp gone
Post by: CSixx on June 21, 2008, 05:34:07 AM

what you found is your XP install..

Your disk has windows on harddrive 0, partition 0 (hd0,0) so it is still there, looks like you just need to add "make active... I've pasted my XP entry below.

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title      Microsoft Windows XP Professional
root      (hd0,0)
savedefault
makeactive
chainloader   +1