LinuxQuestions.org
Register a domain and help support LQ
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 03-25-2004, 11:11 AM   #1
mamoose
LQ Newbie
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 6

Rep: Reputation: 0
Unhappy XP Pro will not boot dual boot Redhat 9 one hard drive


Im having trouble getting xp to load. right now i have lilo as the boot manager, when i choose xp nothing happens and goes back to the manager.

things i have done
used the xp disk to repair did
fixboot
fixmbr
reinstalled lilo
this is the fdisk -l
/sbin/fdisk -l

Disk /dev/hda: 123.5 GB, 123522416640 bytes
16 heads, 63 sectors/track, 239340 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 178325 89875611 7 HPFS/NTFS
/dev/hda2 178326 178528 102312 83 Linux
/dev/hda3 178529 237260 29600928 83 Linux
/dev/hda4 237261 239340 1048320 f Win95 Ext'd (LBA)
/dev/hda5 237261 239340 1048288+ 82 Linux swap

and lilo config file

boot="/dev/hda1"
prompt
timeout="50"
message=/boot/message
root=/dev/hda3
lba32

image="/boot/vmlinuz-2.4.20-8"
label="2.4.20-8"
root="/dev/hda3"
read-only
initrd="/boot/initrd-2.4.20-8.img"

other=/dev/hda1
label="NT"

Thank you for your help.
 
Old 03-25-2004, 12:04 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Re: XP Pro will not boot dual boot Redhat 9 one hard drive

Quote:
Originally posted by mamoose
Im having trouble getting xp to load. right now i have lilo as the boot manager, when i choose xp nothing happens and goes back to the manager.

<snip>

and lilo config file

boot="/dev/hda1" This should be /dev/hda
prompt
timeout="50"
message=/boot/message
root=/dev/hda3 This doesn't belong here, remove
lba32

image="/boot/vmlinuz-2.4.20-8"
label="2.4.20-8"
root="/dev/hda3"
read-only
initrd="/boot/initrd-2.4.20-8.img"

other=/dev/hda1
label="NT"
table=/dev/hda
Add the above line

Thank you for your help.
Don't forget to run `/sbin/lilo` after editing lilo.conf

Last edited by bnice; 03-25-2004 at 12:05 PM.
 
Old 03-25-2004, 12:16 PM   #3
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Alos run fixboot to get the Xp working. You installed the lilo to the Windows partition. That is why, when picking 'NT' and loading the Windows partition, the lilo was loaded again.
 
Old 03-25-2004, 12:27 PM   #4
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
(duh, I should have seen that... more coffee!)
 
Old 03-25-2004, 01:02 PM   #5
abby
LQ Newbie
 
Registered: Mar 2004
Location: Delhi,India
Distribution: Mandrake 9.2
Posts: 6

Rep: Reputation: 0
use grub...

i had da same prob but ain't figured it....but mine worked fine wid grub...so i dint bother

i agree dis is an escape to problem....but who cares when da job is done
 
Old 03-25-2004, 07:10 PM   #6
mamoose
LQ Newbie
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy

thank you for your help so far, but I get the same results except for the lilo restarting even tried to use grub booth just sit there and do nothing. I forgot to metion that when installing linux i got a error message saying that the partion or mbr is not aligned correctly and i should make a linux boot disk. i even reinstalled windows over it self. Is there any way of saving my windows files? could I install another version of windows over linux would that be easier and then install linux back? any help is greatly appreciated thanks.
 
Old 03-26-2004, 07:48 AM   #7
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Describe the problem again. You boot, then... ? What did you change?
 
Old 03-26-2004, 08:03 AM   #8
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 30
i had a similar problem , except i have two hard drives instead of one. what i did was that put the xp cd in the cd rom, right after i turn my machine, it asked if i wanted to boot from cd which i accepted. it then took me to xp set window. i chose the recovery section. once there, i was able to see both my drives and the partitions on each one. selected the drive with the problem and deleted the partition. that solved the problem. i dont know if this will help you, good luck
 
Old 03-26-2004, 12:37 PM   #9
mamoose
LQ Newbie
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aaa
Describe the problem again. You boot, then... ? What did you change?
used the xp cd to fixmbr and fixboot
I mad the changes above to the lilo config file and did this command /sbin/lilo
I still no change
tried to change to grub and still no change
the only thing i have fixed is when selecting xp at the lilo boot screen it does not go back to lilo just says starting xp and that is it, same for grub boot gives me different info I think is was something like this
hda(0,0)
something chain +1
 
Old 03-26-2004, 03:15 PM   #10
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
XP works after fixmbr/fixboot?
Post your lilo.conf
 
Old 03-29-2004, 09:28 PM   #11
mamoose
LQ Newbie
 
Registered: Sep 2003
Distribution: Red Hat 9
Posts: 6

Original Poster
Rep: Reputation: 0
Thank You, for all of your help everyone I just ended up deleting both partions and re-installing both xp and redhat.
thanks again.
 
  


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
dual boot but can't see linux hard drive from XP battlezonehawk Linux - General 15 06-10-2007 04:01 PM
Best method for dual boot with dual hard drive? aidano Linux - Software 2 11-16-2006 01:04 PM
Dual boot on second hard drive alukardian Linux - Newbie 3 11-16-2005 09:14 PM
Dual Boot on one hard drive scripttron75 Linux - Newbie 4 09-21-2005 07:39 AM
reformat hard drive for dual boot? adroot Linux - Newbie 1 06-12-2002 02:06 PM


All times are GMT -5. The time now is 08:43 PM.

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