LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-28-2004, 01:40 AM   #1
LifeShye
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
Question Dual Booting


well I have 2 hardrives a 40gb with a winxp install and a 160 gb with a Redhat Fedora Core 2 install and it is partitioned to have 60gb for Redora Core and 100gb for what ever i might put there =p, When i finished installing Fedora Core 2 on the 160 gb hd, it seemed to work just fine, but when i restart ithe comp and choose to load windows it just takes me back to the boot screen within 1 sec...Right now my 40gb with xp is the master hd, and the 160 is slaved to it, if anyone can help that would be great, my aim is Lifeshye
 
Old 08-28-2004, 01:46 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
boot from a FC2 cd using "linux rescue" at the boot prompt

follow the instructions there

at the end
#chroot /mnt/sysimage

then do

#vi /etc/grub.conf

post that here

also post the output of
"fdisk -l /dev/hda"



"fdisk -l /dev/hdb"

regards
 
Old 08-28-2004, 10:16 AM   #3
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
#example grub.conf on Red Hat
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Gentoo (2.4.20-gentoo_r6)
root (hd1,0) #<- linux is on hdb
kernel /vmlinuz-2.4.20-gentoo_r6 ro root=/dev/hdb2 hdd=ide-scsi
title Windows XP
rootnoverify (hd0,0) #<--hd0 if win is on /dev/hda
chainloader +1

Yours may be completely opposite
Linux may be on /dev/hda and is thus hd0
If win is on /dev/hdb then hd1 is used
 
Old 08-31-2004, 05:40 PM   #4
LifeShye
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,1)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,1)/grub/splash.xpm.gz
title Fedora Core (2.6.8-1.521)
root (hd1,1)
kernel /vmlinuz-2.6.8-1.521 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.8-1.521.img
title Fedora Core (2.6.5-1.358)
root (hd1,1)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Windows
rootnoverify (hd0,0)
chainloader +1




Disk /dev/hda: 41.1 GB, 41174138880 bytes
16 heads, 63 sectors/track, 79780 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 79768 40202631 c W95 FAT32 (LBA)



Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 12748 102398278+ e W95 FAT16 (LBA)
/dev/hdb2 * 12749 12761 104422+ 83 Linux
/dev/hdb3 12762 19262 52219282+ 83 Linux
/dev/hdb4 19263 19457 1566337+ 1f Unknown
 
Old 08-31-2004, 06:14 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

so can u boot with just ur primary hdd on??
and did u make some changes after ur instalation to ur hdd,(like swap them etc etc)

regards
 
Old 08-31-2004, 06:20 PM   #6
LifeShye
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
nope, the windows 40gb was the primary and then i got myself the 160gb and installed linux on it, and now that seems to be the only thing booting, ive tryed disconnecting my 160gb linux drive to start just winxp and it gives a bad boot error...and ive tryed just making my 160gb linux drive the master with no slaved drive and that also gets a bad boot when starting up the comp. The setup it is now seems to be the only thing that works and that is 40gb windows drive primary and 160gb slaved to primary on my ide1

Last edited by LifeShye; 08-31-2004 at 07:08 PM.
 
Old 08-31-2004, 07:41 PM   #7
LifeShye
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
the only way I can access files from the 40gb hd is by mounting it to a folder =p

Last edited by LifeShye; 08-31-2004 at 08:03 PM.
 
Old 08-31-2004, 10:14 PM   #8
LifeShye
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
ohh and no, i diddnt change anything after the installation, its the same way it was when i installed linux FC2
 
Old 08-31-2004, 10:27 PM   #9
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try going into bios and change the access mode for the Harddrive to "LBA" (don't leave it on Auto) and see if it helps.
 
Old 08-31-2004, 10:39 PM   #10
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
Somehow my last message didn't post.
You might want to again disconnect the hdb drive. Do you have a means of booting off of an emergency boot floppy that has a dos/windows version of fdisk? If so, try fdisk /mbr to reset the master boot record on that windows drive. It really sounds like your mbr on the windows disk is bad.

If you can reset the mbr on that win drive, that would be a good starting point.
 
Old 09-01-2004, 01:00 AM   #11
LifeShye
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thnx Demonbane, and everyone else for helping me, the auto to LBA is what worked =)
 
  


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 Booting SuSE 9.2 & XP Pro/dual hard drives The_Bug Linux - General 3 01-04-2006 06:44 PM
dual booting with 2 hd longbow99 Linux - Newbie 14 11-20-2004 02:47 AM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 03:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 10:05 AM
booting ,dual booting kmadhukar Linux - Newbie 1 02-02-2002 10:32 PM


All times are GMT -5. The time now is 08:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration