LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-04-2003, 10:40 AM   #1
markshifman
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
grub bootloader problem


I have recently gotten a new Dell computer with
PROMISE FastTrak TX4000/376/378/S150 TX Series Linux Driver Version 1.00.0.18
and 2 SATA hard Drives. XP is on (hda) and Redhat9 on (hdb). I farkeled grub/lilo and ended up having to use fixboot since fixmbr didn't do anything. Now it will boot XP when I boot from hd0. When I change so it boots from hd1 I get

root(hd1,0)
error 22: no such partition.

my partition table is given below:
/sbin/sfdisk -l

Disk /dev/sda: 14467 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sda1 0 - 0 0 0 Empty
/dev/sda2 0 - 0 0 0 Empty
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 * 0+ 14465 14466- 116198113+ 7 HPFS/NTFS

Disk /dev/sdb: 14467 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sdb1 * 0+ 32 33- 265041 83 Linux
/dev/sdb2 33 2072 2040 16386300 83 Linux
/dev/sdb3 2073 2326 254 2040255 82 Linux swap
/dev/sdb4 2327 14466 12140 97514550 f Win95 Ext'd (LBA)
/dev/sdb5 2327+ 14466 12140- 97514518+ 83 Linux

the grub.conf generated at setup is given below:

default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8smp)
root (hd1,0)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,3)
chainloader +1

I am afraid to grub-install /dev/hda again since this is what I think fried me.

Any help getting grub with RH9 and XP working correctly would be greatly appreciated.
Thanks
 
Old 11-04-2003, 10:50 AM   #2
gamu829
Member
 
Registered: Sep 2002
Location: Portland, OR, US
Distribution: Fedora 2
Posts: 47

Rep: Reputation: 15
Your grub.conf looks reasonable, although I don't understand why XP is on the fourth rather than the first partition of your first drive. I am dual booting XP and RH9 on my system, but without SATA drives. My grub.conf is below:

default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
#
title Red Hat Linux (2.4.20-20.9custom: v2.1 hpt374 driver)
root (hd1,0)
kernel /vmlinuz-2.4.20-20.9custom ro root=LABEL=/ hda=ide-scsi
initrd /initrd-2.4.20-20.9custom.img
#
title WinXP Home
rootnoverify (hd0,0)
chainloader +1
 
Old 11-04-2003, 11:06 AM   #3
markshifman
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I have a bad feeling the devices were shifted by fixboot and somehow grub isn't finding it.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with bootloader grub crashdoyle Fedora 3 09-05-2005 10:21 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
Grub bootloader problem linmith Slackware 2 02-13-2005 03:15 PM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
grub, bootloader problem DrGnome Linux - Software 6 04-13-2004 04:20 PM

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

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