Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-07-2007, 05:45 PM   #1
LQ Newbie
Registered: Feb 2005
Location: Moscow, Russia
Posts: 15

Rep: Reputation: 0
Boot problems XP-Ubuntu-Vista


I was playing around with Win Xp, Linux and Vista and now I have a problem.

I had my XinXP installed. Then I installed Ubuntu and its GRUB became a bootmanager. Now, I installed Vista over that GRUB that also managed boot for Xin XP. Is there a way to get back an option to boot XinXP somehow? If I insatll Ubuntu again, will it find all systems (including XP) itself?

Old 10-07-2007, 05:53 PM   #2
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
I have no idea what XinXP is but, you can just reinstall grub to the mbr and then edit the men.lst to add vista, XinXP and Ubuntu.
Old 10-07-2007, 05:59 PM   #3
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Just done the same thing myself.

Got XP (in sda1), Vista(in sda2) and 9 Linux. Ubuntu in my case is in sda6.

No need to reinstall anything. Just boot up Ubuntu CD. I am using my case as an example because sda6 is the 6th partition in the first disk (hd0). It is known to Grub as (hd0,5) as Grub counts from 0. One can ask Grub to "source" the Grub files from (hd0,5) and install itself in (hd0) which is equivalent to the MBR. I has Ubuntu in a single partition. If you have it on multiple partitions it is /boot partition you need to "source" the Grub file from from. Here is the command in Ubuntu terminal ( adjust to suit your case)
sudo su
root (hd0,5)
setup (hd0)
The read command are issued inside the Grub shell. Other commands are in Bash terminal.

The above will restore Grub.

If you boot to XP, which is dual booting Vista, then you can select either XP or Vista.

Last edited by saikee; 10-07-2007 at 06:01 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista doesn't boot after ubuntu install JMC8501 Linux - General 9 06-14-2009 02:23 PM
dual boot: ubuntu, vista danfou Ubuntu 9 07-07-2007 09:48 PM
Vista and Ubuntu dual boot glore2002 Linux - Software 13 05-08-2007 09:02 AM
how to dual boot vista and ubuntu? bojox Linux - Newbie 2 01-28-2007 01:10 AM
Dual-Boot: Ubuntu now, Vista Later? leiavoia Ubuntu 1 08-27-2006 09:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration