LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2007, 10:19 PM   #1
tataiermail
Member
 
Registered: Apr 2006
Location: calcutta, IND
Distribution: RHEL AS 4, openSUSE 10.2
Posts: 48

Rep: Reputation: 15
dual booting from two diff. ide hdd not working


hi all,

i have an IDE CD-ROM ( as /dev/hda)
and in hdb i am having rhel as 4, and in hdc am having win xp.
i know my hdc is having an okward structure, but still i cant configure grub to do dual booting. check out my disk layouts below.

*********************************************
[root@inet ~]# fdisk -l

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 1900 4865 23824395 f W95 Ext'd (LBA)
/dev/hdb3 14 1768 14097037+ 83 Linux
/dev/hdb4 1769 1899 1052257+ 82 Linux swap
/dev/hdb5 1900 4852 23719941 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/hdc: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 2 2550 20474842+ f W95 Ext'd (LBA)
/dev/hdc2 * 2551 5005 19719787+ 7 HPFS/NTFS
/dev/hdc5 2 2550 20474811 b W95 FAT32

Disk /dev/hdd: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 2491 20008926 7 HPFS/NTFS
*********************************************************

and here is my current grub.conf:
********************************
#boot=/dev/hdb
default=0
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-22.EL.img
title Other
rootnoverify (hd1,4)
chainloader +1
*************************************
currently i am choosing two diff hdd from BIOS to boot into either OS.

any suggestion will be helpful.

regards,

suman
 
Old 04-26-2007, 11:14 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,462

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Try
Code:
title Other
rootnoverify (hd1,1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 04-28-2007, 11:00 PM   #3
tataiermail
Member
 
Registered: Apr 2006
Location: calcutta, IND
Distribution: RHEL AS 4, openSUSE 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
map

can u explain a bit what does the map command do ?

regards,
 
Old 05-10-2007, 03:30 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,462

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Windoze requires it be installed on the disk the BIOS selects as the boot disk.
The maps merely make it appear (to 'doze) it is located on the first disk.

Doesn't affect anything else.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting with a SATA and an IDE Neccophiliac Linux - Hardware 1 09-20-2005 10:30 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM
Dual Boot diff Hard Disk diff OS on Suse 9.1 wilhem Linux - Newbie 1 08-13-2004 06:06 PM
RH 9 ide + WinXP SATA + dual booting Ev D Linux - Hardware 0 07-21-2003 07:19 AM


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