LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-14-2003, 07:33 AM   #1
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Rep: Reputation: 15
XP/RH9 Dual-Boot Help (On 1 HD)


I know you've seen something similar to this before, and I've read most of the posts, but I can't find anyone who's partitioning up one HD for both XP and RH9 w/out the luxury of Partition Magic or a full-blown XP install disc.

One hard drive (40 GB) on the computer wife brought home for late night coding/compiling. It came w/ XP recovery disc only and was partitioned as follows:
hda1 0.031 39.221 Dell "Dell System" (MBR)
hda2 39.221 39146.021 NTFS Win XP

At the time, I was under the impression that /boot needed to be in top 1024 cylinders. So I present to you one disk, partitioned as follows (w/out Partition Magic):
hda1 0.031 39.221 FAT "Dell System" (MBR)
hda2 39.221 164.221 ext2 /boot
hda3 164.221 16167.021 extended
hda5 164.221 ~2200.000 swap
hda6 ~2200.000 16167.021 ext2 /
hda4 16167.021 39146.021 NTFS Windows XP Pro

Pushed XP Pro back in order to get /boot w/in 1024 cylinders, and in the process just figured it would be easier to leave a big hole near \boot where Linux could go. Did it all by partitioning original hda2--one big NTFS partition--and then installing XP to both partitions. Played around in regedit, made XP treat second, newer partition as the main XP (system vol), and then formatted the older partition that had original XP on it. Went through all of that because I'm not going to pay $70 for P-Magic just so I can move one lousy NTFS partition.

BTW, the "parted" utility on my linux rescue disk keeps warning me that Windows won't like my hd1 partition. Can't remember why--had something to do with size and allocation.

Put GRUB on MBR. grub-conf file looks like:
default=0
timeout=20
splash=something, something
title RH Linux (2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=TITLE/
initrd /initrd-2.4.20-8.img
title Win XP
rootnoverify (hd0,4)
chainloader +1

Also, the specifics on devices, monitor I gave during the RH install
process didn't stick in my XFree86 config file.

Result:
When I boot Linux from GRUB menu, all the diagnostics go okay and I go to a blank screen. Tried to mess with my inittab file, but it's completely blank, which throws me off the trail other Linux neophytes have left before me.

When I boot XP from GRUB menu, I receive a "Error 13: Invalid or unsupported executable format" message from GRUB with the final 2 lines of my grub.conf file listed below the mesage.

By reinstalling XP, I can get it to boot up again, but that's not what I want, as an XP reinstall messes with the MBR, gets rid of GRUB, and flags hd4 as "boot." (Note: When I'm in XP after disabling GRUB, XP acts as though it doesn't notice the Linux partition. The system volume is still C:, and everything seems okay.)

I have a feeling I've got a lot of work cut out for me. Don't mind
doing the work (I'll reformat, eliminate partitions, and reinstall
everything if that's what it takes), just want to get it done. Any
help appreciated.
 
Old 10-14-2003, 08:37 AM   #2
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
I have a 40 GB Hd and on it Gentoo linux and windows XP as follows:
hda1:NTFS windows
hda2:FAT32 Music
hda3:/boot
hda4:Extended
hda5:swap
hda6:linux Root

and runnning lilo as my bootloader, I don't have my config right now but I'll post it when I get out of school.
 
Old 11-16-2003, 10:37 AM   #3
terry.trent
Member
 
Registered: Oct 2003
Location: Virginia
Distribution: SUSE, Feather, Red Hat 9
Posts: 53

Rep: Reputation: 15
what was the results!!!! i am having the same problem!!!
 
  


Reply



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
dual boot problem RH9 and XP maxiejo Linux - Laptop and Netbook 6 06-17-2004 03:19 PM
Dual boot w/ XP and RH9.0 celticX Linux - Newbie 2 05-15-2004 06:16 PM
Dual-boot problem of xp and rh9 ddshan Linux - Newbie 1 10-14-2003 01:15 PM
WinXP/RH9 Dual Boot Shademeister Linux - Newbie 7 08-08-2003 06:40 PM
help, dual boot xp and RH9 mamed Linux - Newbie 2 06-29-2003 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 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
Open Source Consulting | Domain Registration