LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 08-01-2003, 11:17 PM   #1
scottym
LQ Newbie
 
Registered: Aug 2003
Location: Red Bank, NJ
Distribution: Redhat 9 - 2.4.20-8
Posts: 7

Rep: Reputation: 0
Unhappy RH 9 Problem Booting with Grub


Hi,

I have the 2.4.20-8 version of Redhat installed on both my laptop and desktop machines. I use Grub to boot both machines. My laptop works fine, however, I can't boot my desktop machine from my /boot partition on my harddrive. My Kernel command is kernel /vmlinuz-2.4.20-8 ro root=LABEL=/dev/hdf2 hdc=ide-scsi and the initrd command is initrd /initrd-2.4.20-8.img. Both the kernel and initrd commands seem to load from the Grub command line. When I enter the boot command the machine freezes. I tried setting my root to the floppy drive, since I can boot from the floppy, and load the kernel from the floppy. Again, it seems to load and so does the initrd but my machine freezes when I type boot.

I can boot my desktop from the boot diskette, which I don't believe uses Grub, but I have no luck trying to boot from the HD (using Grub).

Equipment:
- Two 120 GB Maxtor Drives
- Maxtor/Promise ATA133 PCI HD adapter (Primary Master and Slave on Maxtor/Promise controller).
- Plextor 16/10/40 CDR (Primary Master on MB)
- Intel 850MV Motherboard (up to date BIOS)
-1.8 GHz Pentium IV
- Geforce2 MX440 AGP Graphics Card
- 1 GB RDRAM

Any help will be greatly appreciated.

ScottyM

more info re: my grub problem ( post #2)

I made a grub boot diskette and attempted to boot from my diskette. I get the same result when booting from grub off the HD.

After selecting my Linux installation from the grub menu, I see the following output:

" Booting 'Red Hat Linux (2.4.20-9)'

root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
[Linux-bzImage, setup=0x1400, size-0x11098a]
initrd /initrd-2.4.20-8.img
[Linux-initrd @ 0x37fcc000, 0x23c23 bytes]"

after the preceding message is displayed, the computer hangs.
My grub.conf file follows:

[root@localhost smollica]# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdf2
# initrd /initrd-version.img
#boot=/dev/hdf1
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
[root@localhost smollica]#

The layout for my two hard drives follows:

[smollica@localhost smollica]# fdisk -l /dev/hde

Disk /dev/hde: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 10791 86678676 7 HPFS/NTFS
/dev/hde2 10792 14945 33366973+ 7 HPFS/NTFS
[smollica@localhost smollica]# fdisk -l /dev/hdf

Disk /dev/hdf: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdf1 * 1 13 104391 83 Linux
/dev/hdf2 14 14692 117909067+ 83 Linux
/dev/hdf3 14693 14946 2040255 82 Linux swap

and, finally, I also included the output of my `grub-install` command:

[smollica@localhost smollica]# grub-install /dev/fd0
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

# this device map was generated by anaconda
(fd0) /dev/fd0
(hd0) /dev/hde
(hd1) /dev/hdf

Thanks again,
Scott




Last edited by scottym; 08-05-2003 at 07:25 PM.
 
Old 08-03-2003, 10:54 PM   #2
scottym
LQ Newbie
 
Registered: Aug 2003
Location: Red Bank, NJ
Distribution: Redhat 9 - 2.4.20-8
Posts: 7

Original Poster
Rep: Reputation: 0
e

Last edited by scottym; 08-05-2003 at 07:27 PM.
 
  


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
Problem With Booting XP using GRUB bowb4steve Linux - Newbie 2 10-28-2004 08:25 PM
booting problem using grub tacca *BSD 3 10-23-2004 03:58 PM
Mdk 10.1 Grub booting problem. The_fuzzy_cow Mandriva 2 10-21-2004 09:07 AM
Problem with booting windows in GRUB meinherzbrennt Linux - Newbie 17 09-10-2004 07:46 AM
Problem booting Slackware from GRUB Spooner Slackware 2 03-05-2003 04:47 PM


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