LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 01-06-2004, 12:55 AM   #1
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 78

Rep: Reputation: 15
grub.conf problem


need help to configure my grub.conf file
im runing RedHat 9.0...
...and i have a P4-celeron, geForce2MX400 64Ram, 256MB DDRAM,... a 20GB Maxtore 7,200 RPMs and a 8,4GB Quantum Fireball 5,400 RPMs
the Maxtor is Master (C:\ + D:\)and on C:\ it has winXP instaled
the Quantum is on Slave an has RH9.0 instaled

my grub.conf file looks like this...
##########################grb.conf##################################
<linux.k-security.de> anu:[~]$ cat /boot/grub/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 (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows
rootnoverify (hd1,0)
chainloader +1
####################################################################
with this grub.conf when i select Windows i only get
rootnoverify (hd1,0)
chainloader +1
or soemthing like that and it stays like that...

from fdisk -l i get...
########################FDISK#######################################
<linux.k-security.de> anu:[~]$ fdisk -l
Disk /dev/hda: 20.5 GB, 20547841536 bytes
255 heads, 63 sectors/track, 2498 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 510 4096543+ b Win95 FAT32
/dev/hda2 511 2498 15968610 f Win95 Ext'd (LBA)
/dev/hda5 511 2498 15968578+ b Win95 FAT32

Disk /dev/hdb: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 962 7622842+ 83 Linux
/dev/hdb3 963 1027 522112+ 82 Linux swap
####################################################################

im booting into linux from bios... changing the hdd from where to boot... but it would be nice if i can use a boot manager for that :>
 
Old 01-06-2004, 01:41 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
add these lines


makeactive
boot
 
Old 01-06-2004, 05:41 AM   #3
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
<linux.k-security.de> anu:[~]$ fdisk -l
Disk /dev/hda: 20.5 GB, 20547841536 bytes
/dev/hda1 * 1 510 4096543+ b Win95 FAT32

If that's the case, it should be:

title Windows
rootnoverify (hd0,0)
chainloader +1

(I THINK)
 
Old 01-06-2004, 06:30 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,056

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
I concur with je_fro
Grub is zero aligned - i.e. you count from zero, not one.
In addition to that suggestion, you will of course, have to also update your RH section to point to hd1.
HTH
 
Old 01-06-2004, 09:16 AM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
that's correct
 
  


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
grub.conf problem BlandoCal Fedora 23 12-12-2003 04:23 AM
Grub.conf problem BlandoCal Linux - Software 4 12-10-2003 09:05 PM
SiI680 cards and grub.conf problem prospectofdeath Linux - General 1 11-23-2003 04:50 AM
grub.conf problem usr Linux - Newbie 1 10-25-2003 03:01 PM
grub.conf problem taoweijia Linux - Newbie 2 09-20-2003 12:18 AM


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