Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had to reinstall winxp (again) that seems to have overwritten the mbr so linux did not show as a choice.
Reinstalled that yep you got it Ubuntu is now the only OS I hav a choice of.
Can anyone help me restore the system so that I have a choice of OS (need windoze to help family etc..)
thanks for looking and appreciate any help you can offer
In Ubuntu the grub boot file is called menu.lst, in some other Linux such as Fedora, it's called grub.conf, but really is the same file. If you can boot up into your Ubuntu desktop, click to open a terminal window, (which is like a command prompt text window in windows), then just type in this here; sudo gedit /boot/grub/menu.lst , and hit enter. This should open that grub boot file so you can add XP to it, like the other post guy showed, title XP
root (hd0,0)
makeactive
chainloader +1
your root depends on which hard drive and partition number your XP is installed on, in this example it is the 1rst drive, first partition.
I had to reinstall winxp (again) that seems to have overwritten the mbr so linux did not show as a choice.
Reinstalled that yep you got it Ubuntu is now the only OS I hav a choice of.
Can anyone help me restore the system so that I have a choice of OS (need windoze to help family etc..)
thanks for looking and appreciate any help you can offer
To restore the M$ Win/XP you can use the XP 'fdisk /mbr' after booting the M$ XP cd.
Once you have the 'MBR' restored you follow the previous instructions.
Thanks for your responses guys, trying it out now...
so far got windows xp to shows as an option..however I then get the folowing error message
"25 error whilst parsing number"
does the fact that I have Royale xp make any difference to the entry needed?
I will keep playing and try to get it working
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.