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 - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-05-2006, 04:41 PM   #1
sanjeebko
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Unhappy Dual operating system: Grub dont detect Windows Xp installed in Sata Harddisk


This is my Harddisk Partation.
_____________________________________
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1972 15840058+ c W95 FAT32 (LBA)
/dev/hda2 1973 3897 15462562+ c W95 FAT32 (LBA)
/dev/hda3 3898 14593 85915620 f W95 Ext'd (LBA)
/dev/hda5 3898 7836 31639986 b W95 FAT32
/dev/hda6 11662 14593 23551258+ 7 HPFS/NTFS
/dev/hda7 7837 7849 104391 83 Linux
/dev/hda8 7850 11661 30619858+ 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2612 20980858+ c W95 FAT32 (LBA)
/dev/sda2 2613 24320 174369510 f W95 Ext'd (LBA)
/dev/sda5 2613 7927 42692706 7 HPFS/NTFS
/dev/sda6 7928 16671 70236148+ 7 HPFS/NTFS
/dev/sda7 16672 24320 61440561 7 HPFS/NTFS
__________________________________________________________________
i have installed Windows XP in /dev/sda1 and linux fedora core 5 in
/dev/hda7(swap) and /dev/hda8(/).
grub detects fedora core 5. but while i select windows xp , it shows
error message .

my grub.conf :
__________________________________________________________________
# 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,6)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,6)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd1,6)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5.img
title Windows Xp
rootnoverify (hd1,0)
chainloader +1
____________________________________________________________________
this file was origanally created by Fedora core 5 installation .while selecting windows Xp in grub, it shows a error and restarts the grub. how can i install both windows xp and fedora core 5 in such case.

please reply me soon in full detail(i am using linux for first time).
 
Old 04-05-2006, 06:27 PM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Does your Fedora core install boot and/or run properly? You have what looks like some errors or your written your post wrong. You say your swap is /dev/hda7, but you've got /dev/hda7 setup up as Linux, not swap. Your hexcode should be 82, not 83.

Code:
/dev/hda7 7837 7849 104391 83 Linux
should say..

Code:
/dev/hda7 7837 7849 104391 82 Swap
As far as your chainloading problems, check out this thread I found on another forum. They have some good advice.

http://www.fedoraforum.org/forum/arc...php/t-348.html

Or if your lazy, here is a working grub.conf snippet from a guy with a similar problem,

Code:
title WinXP64
rootnoverify (hd2,0)
makeactive
map (hd2) (hd0)
map (hd0) (hd2)
chainloader +1

Last edited by Penguin of Wonder; 04-05-2006 at 06:29 PM.
 
Old 04-05-2006, 07:30 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Windows is strange because it always wants to be the first drive. You need to remap the drives so Windows can boot up. The lines below should boot up Windows.

title Windows Xp
rootnoverify (hd1,0)
makeactive
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
 
  


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
why the Fedora4 cannot be installed to SATA harddisk? wee Linux - Newbie 3 12-09-2005 01:22 AM
Just installed dual-boot, dont get GRUB jmorris8 Linux - Newbie 4 09-27-2005 04:50 AM
RAID1 and GRUB - error loading operating system kenji1903 Linux - General 3 06-06-2004 10:27 PM
Has anybody successfully installed a windows/linux dual boot system on a Compaq PC? bugsbunny Linux - Newbie 16 04-03-2004 01:24 PM
dual operating system problems sheeptree Linux - Newbie 3 02-21-2004 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:51 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