LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-16-2008, 04:18 PM   #1
Ricio
Member
 
Registered: Sep 2003
Location: Colombia
Distribution: Debian
Posts: 220

Rep: Reputation: 30
Exclamation Linux/XP Dual Boot Problem


I have installed rocks cluster linux on one pc and transfer an image of winxp to the same pc on the second partition... I have configured grub to boot both of them... but when I try to start from win xp, it stays at chainloader +1 and then nothing...

what could be wrong?? how could I fix this?
 
Old 10-16-2008, 05:24 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Windows wants to be on the first primary partition. It seems to work better if you put Windows first on the first primary partition and then linux on a logical partition.
 
Old 10-16-2008, 05:36 PM   #3
Ricio
Member
 
Registered: Sep 2003
Location: Colombia
Distribution: Debian
Posts: 220

Original Poster
Rep: Reputation: 30
I know but I have to since when installing rocks cluster it forces / on first partition, deleting windows... so what I do, is move windows with gparted to the second partition, then make the image, and then transfer it... it has worked before, on another computer, but when I do it in another, win xp just stays blank...
 
Old 10-16-2008, 06:12 PM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I did not say it could not be done, you have to hide the first partition and make windows think it is the first. I am not sure if it will work with grub in the first partition but here is a tutorial on dual booting by chainloading. It has a lot more than you need but explains hiding partitions.

http://www.justlinux.com/forum/showthread.php?t=147959
 
Old 10-16-2008, 06:20 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
If the original was installed on a computer that has a different chipset, you may need to run recovery from the xp install cd. It seems unlikely that XP would have trouble booting from second or even third primary. Just for certainty's sake, could you pust the output of fdisk -l and (the relevant parts of) your grub menu.lst?
 
Old 10-16-2008, 06:40 PM   #6
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
I've helped others in another forum who have easily installed and booted Windows from any primary partition, not just the first one. In fact, it is even possible to boot Windows from a logical partition with a little bit of work. But if you move Windows from one primary partition to another one, in the least you will have to change the C:\boot.ini file so that it specifies the correct Windows partition; that may be all you need to do. Your boot.ini file should look similar to:
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP" /fastdetect /NoExecute=OptIn
So "partition(2)" would mean windows is on hda2/sda2, but only if sda1 is not labeled as an extended partition; Windows only counts primary partitions and logical partitions, not the extended partition "container". Let me know if your boot.ini file is correct, and we can work from there if you want.
 
  


Reply


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
linux boot problem on dual boot mac mini dla-nor Linux - General 2 06-13-2007 07:02 AM
Linux/XP dual boot problem CJohnM Linux - Newbie 9 09-18-2006 12:09 PM
Dual Boot Problem (linux-XP) kostis Linux - Software 3 03-19-2006 11:30 AM
Linux Dual Boot Problem vibhory2j Linux - General 2 08-26-2004 07:54 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM


All times are GMT -5. The time now is 06:39 AM.

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