LinuxQuestions.org
Visit Jeremy's Blog.
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 11-13-2002, 09:11 PM   #1
Zarathustra[H]
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 8.0 and Redhat 7.3
Posts: 5

Rep: Reputation: 0
GRUB in Red Hat 8.0


Hey all!

I'm pretty muchy a n00b when it comes to linux, but I am eager to learn...

Having an issue with GRUB I was hoping somone could help me with.

First off... Here is my Partition info:

Quote:
Disk /dev/hdg: 255 heads, 63 sectors, 12161 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdg1 * 1 255 2048256 b Win95 FAT32
/dev/hdg2 256 3649 27262305 f Win95 Ext'd (LBA)
/dev/hdg5 256 3649 27262273+ b Win95 FAT32

Disk /dev/hde: 16 heads, 63 sectors, 193821 cylinders
Units = cylinders of 1008 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 203 102280+ 83 Linux
/dev/hde2 204 191741 96535152 83 Linux
/dev/hde3 191742 193821 1048320 82 Linux swap
And my GRUB.conf

Quote:
# 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/hde2
# initrd /initrd-version.img
#boot=/dev/hde
default=0
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-17.8.0)
root (hd0,0)
kernel /vmlinuz-2.4.18-17.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-17.8.0.img
title Windows 98 SE
rootnoverify (hd1,0)
chainloader +1
Note that hde is hd0 and hdg is hd1


My problem is that it boots Linux fine, but when I select to boot my windows 98 install, grub executes the commands in the config, and then nothing happens... At all...

Its not the windows 98 partition that is fucked up, casue if I unplug the linux hard drive, it boots into Windows 98 just fine. For some reason the Windows 98 partition just doesnt seem to like GRUB.


I'd appreciate any help I can get!

Thanks,
Matt
 
Old 11-15-2002, 04:18 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Windows usually wants to be on the first hard drive (nonetheless, it should work).


John
 
Old 11-15-2002, 07:47 AM   #3
Zarathustra[H]
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 8.0 and Redhat 7.3
Posts: 5

Original Poster
Rep: Reputation: 0
Interesting...

I could just switch the hard drives around to try if this will make a difference..

Can I just copy the boot partition to the other drive, using the likes of partition magic?

Will linux complain about the switched drive order?

(I know that when I did this to Windows XP once, all hell broke loose, casue it changed drive letters, and windows couldnt find its system files anymore)

Correct me if I'm wrong, but I'm assuming this would be the correct order to do things...

1. Edit grub.conf to reflect drive order change
2. edit fstab to reflect the new location of all partitions
3. move the boot partition to the other drive, in front of the windows 98 partition.
4. boot and pray...

Appreciate the help,
Matt
 
  


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
How to reload the grub in Red Hat 9.0 vvsd_prasad Linux - Software 0 07-01-2004 06:18 AM
unable to edit grub in red hat randrake Linux - Enterprise 1 05-14-2004 02:28 AM
Red Hat 9 Grub Hangs brucnbeck Red Hat 2 02-17-2004 08:57 PM
Red Hat / Win XP grub problem Kirk Warren Red Hat 1 02-13-2004 09:50 PM
Problems with GRUB (RED HAT 9 + WIN XP) nicho Linux - Software 1 11-12-2003 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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