LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-07-2004, 08:42 PM   #1
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Dual boot issue w/ WinXP Pro & Mandrake 10 using GRUB


Ok, I know there's about a million threads on dual boot issues with Windows/Linux, but none of them seem to help. Here's a description of what's going on:

A while ago I was told to get Linux, so I got it (Fedora Core 2-test2) and dual booted (via GRUB) with Windows XP. (I had XP installed before FC2, XP was on hda, FC2 on hdb) Everything worked fine, I just used default settings for GRUB, and never ran into an issue.

Fast foward a few weeks to when FC2-test3 was released. At this point I'm comfortable with Linux, so I decide to install Linux on a partition of hda (the faster drive), and install Windows again on hda later. So I format hda (through the FC installer), and install FC to it.

A few weeks goes by, and I get my hands on Adobe Premere, which I need Windows for. So I decide to install WinXP again, not anticipating issues, since it worked the first time. At this point, I have FC2 on hda1 (ext3), and I've got hda2 (FAT32) all ready to sit WinXP on. Starting with Win98 (because WinXP install wasn't booting itself), I install Windows. Once Windows is installed, I use GRUB to boot to Win98 to finish the installer (it copies the files, then the final config stuff happens after a reboot). When I select Windows from the GRUB menu, I get "SYSTEM DISK ERROR"

After unsuccessfully looking for a solution to my issue, I attempt to install Windows XP again. I can't get the CD to boot itself, but I find winnt.exe in the /i386 directory, which appears to be the WinXP installer. I run it, it copies files over, then it reboots (to finish setup). I select Windws from the GRUB menu, and now I get "Disk Error".

A few days goes by, and I finally come across a bug in FC2 that messes up dual boot w/ WinXP, so I decide to move to Mandrake 10 instead. In the Mandrake 10 install, I format each one of my partitions, and repartition. At the moment, I have my Linux partition as hda2, my Windows partition as hda1, and a swap partition. After doing that, I ran winnt.exe again, it reinstalled itself, and I'm still getting the same error.

My windows entry for GRUB (although I've tried just about every combination I could find, including map, and rootnoverify) is:
root (hd0,1)
chainloader +1

I've been bashing my head over this issue for the last week, and I've finally decided to post here. Any help would be quite appriciated.

Thanks,
Adam A Flynn
 
Old 06-08-2004, 12:37 AM   #2
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
I believe it should be this

rootnoverify (hd0,0)
chainloader +1

try that and see what happens...try this one too

root (hd0,0)
chainloader +1
 
Old 06-08-2004, 04:37 AM   #3
Miky
Member
 
Registered: Dec 2002
Location: London / Paris
Distribution: Debian (optionally Free/OpenBsd)
Posts: 72

Rep: Reputation: 15
On my laptop it works with
title Windoz
root (hd0,3)
chainloader +1

My windows partition is the 4th primary partition (starting at 0)

bye
 
Old 06-08-2004, 03:24 PM   #4
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
As I said, I've tried a number of GRUB configurations. rootnoverify has no effect, nor does pointing it to hd0,0.
 
Old 06-08-2004, 04:07 PM   #5
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
installing windows after linux should have converted your system to the windows bootloader. grub should have been wiped out (you may be trying to modify the nt bootloader???). the easiest way to go about setting up a dual boot system is to install windows before linux.

also, you may not be entirely installing winxp by executing winnt.exe on the disc. i suggest you configure your bios to boot from cd before booting from the hard drive to be able to properly install windows.

Last edited by zero79; 06-08-2004 at 04:09 PM.
 
Old 06-08-2004, 07:45 PM   #6
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
I've reinstalled GRUB after installing winXP [using setup(hd0)], and I've made my BIOS boot from CD, but it's being a bugger about it. (It keeps saying that there's a system disk error, so there's probably something wrong with my XP CD).

What's the Linux equivilant to format C: under DOS? I'm trying to completly wipe hda so that I can be sure my install is from a 100% clean system. Also, is parted any good at messing with the partition table without formatting the drive? (So that I can install Windows, then partition, then install Linux)
 
Old 06-08-2004, 09:05 PM   #7
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
to completely wipe all your partitions run "cfdisk" and if you want it on a disk other than /dev/hda you much type "cfdisk /dev/hdb" for /dev/hdb Delete all the partitions, write it to the disk, and then install windows, then install linux(es)
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot issue Win XP pro Mandrake 10.0 Mickey1 Linux - Newbie 10 03-31-2004 09:10 AM
WinXP Pro / Mandrake 9.2 Dual Boot X PsychoTron X Linux - Newbie 17 12-18-2003 02:34 PM
I need help with grub and trying to dual boot rh9 and winxp pro slicker Red Hat 2 08-30-2003 10:44 AM
Dual boot WinXP Pro and Linux mandrake 9.0 ShadoWolf Linux - Newbie 4 03-23-2003 03:55 AM
Dual boot WinXP Pro and Linux mandrake 9.0 ShadoWolf Linux - General 9 03-13-2003 12:01 PM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration