LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-10-2004, 10:53 AM   #1
js_530
Member
 
Registered: Jul 2003
Posts: 162

Rep: Reputation: Disabled
XP Pro NTFS and Red Hat Boot with Grub on Seperate Drives


I've updated my friend's kernel to 2.6.5. 2.6.x doesn't allow boot disks, which was how he booted before. Windows XP Pro is on the first hard drive and uses NTFS. Red Had 9 is on the second hard drive. I've installed Grub on the MBR of /dev/hda, but whenever it boots, it shows error code 21, on stage 1.5, meaning "unknown boot error".
fdisk -l:
Disk /dev/hda: 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/hda1 * 1 4865 39078081 7 HPFS/NTFS

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 4177 33551721 c Win95 FAT32 (LBA)
/dev/hdb2 * 4178 4190 104422+ 83 Linux
/dev/hdb3 4191 9899 45857542+ 83 Linux
/dev/hdb4 9900 9964 522112+ f Win95 Ext'd (LBA)
/dev/hdb5 9900 9964 522081 82 Linux swap

The Grub config file:
# 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=(hdb3,1)/grub/splash.xpm.gz
title Red Hat Linux (2.6.5)
root(hdb3,1)
kernel /bzImage ro root=LABEL=/ hdd=ide-scsi
title Red Hat Linux (2.4.20-6smp)
root (hdb3,1)
kernel /vmlinuz-2.4.20-6smp ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-6smp.img
title DOS
rootnoverify (hd0,0)
chainloader +1

Thanks in advance.
 
Old 04-10-2004, 05:07 PM   #2
arrruken
Member
 
Registered: Apr 2003
Distribution: gentoo
Posts: 238

Rep: Reputation: 32
I dont understand the point of this:
root=LABEL=/ hdd=ide-scsi
Is the second hard drive scsi? If not,
Try this:
default=1
timeout=10
splashimage=(hdb3,1)/grub/splash.xpm.gz
title Red Hat Sucks (2.6.5)
root(hdb3,1)
kernel /bzImage ro root=/dev/hdb3
title Red Hat Sucks (2.4.20-6smp)
root (hdb3,1)
kernel /vmlinuz-2.4.20-6smp ro root=/dev/hdb3
initrd /initrd-2.4.20-6smp.img
title DOS
rootnoverify (hd0,0)
chainloader +1

Last edited by arrruken; 04-10-2004 at 05:08 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No drives found to boot Red Hat Linux error during install rbradtx Red Hat 2 09-17-2005 05:05 PM
Dual Boot - Win2k Server NTFS and Red Hat 9.0 llace Linux - Newbie 0 06-27-2004 01:42 PM
Dual Boot - Win2k Server NTFS and Red Hat 9.0 llace Linux - Newbie 0 06-27-2004 01:28 PM
dual boot, W2k NTFS/Red Hat andyoye Linux - Software 11 04-05-2004 06:53 AM
dual boot SuSE / XP on seperate drives with GRUB uploadjoe Linux - Software 2 02-20-2003 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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