LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2003, 02:07 PM   #1
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
Grub Freezes


I cannot get my comuter to boot from the Linux drive. It says GRUB on the top of the screen and just sits there. I thought it was that 1024 cylinder thing, so i reinstalled making sure the boot partition came first. Still nothing. i am so frustrated right now, does anyone know what is wrong??
 
Old 04-02-2003, 02:28 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
I am not sure but if I remeber I had the same when I improperly defined kernel root device (kernel ............... root=/dev/hdaN <- N was incorrect) in grub.conf.
 
Old 04-02-2003, 02:32 PM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
its not that i've tried every possible number there. and when i compare the boot disk to grub.conf, nothing is different.......
WTF!!!!!!!!!!!!!!!!!!!

Last edited by infamous41md; 04-02-2003 at 02:33 PM.
 
Old 04-02-2003, 02:43 PM   #4
Brain Drop
Member
 
Registered: Feb 2003
Location: just outside reality
Distribution: balanced
Posts: 752

Rep: Reputation: 35
i found that reading the grub manual was so much more helpful than anything anyone could tell me. grub manual

after this your understanding will be complete (just a guess, sounds like mbr portion pointing to something that is not there)
 
Old 04-02-2003, 02:44 PM   #5
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
So try to reinstall grub with the following 2 commands (below I assume you have 1 hard drive /dev/hda and the boot loader will be put on MBR):

root (hd0,0)
setup (hd0)

It should fix the problem. If not post the grub messages.
 
Old 04-02-2003, 03:53 PM   #6
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
no i have 2 hard drives. im running linux on hdb. from what i read in that manual, it appears grub hangs on HD's greater than 32 gigs, and supposedly i have to fuckin spend $50 to update my bios?? wtf is that about. someone else must be running XP and RH8 on 2 separate drives that are both over 40 gigs. i have been sitting at this damn computer for almost a week trying to get this shit to work. i just dont get it. why the hell is this so complicated? i have never had to read so much shit in my life. the reason i need grub to work is so that i can change my damn kernel. if i just boot from the boot disk u cant make any kernel changes. i even tried copying the image of my new kernel onto the boot disk to replace the old one, but "not enuf space". bah.
 
Old 04-02-2003, 04:11 PM   #7
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Next time be more specific. In what way can I know you have 2 drives (IDE or SCSI ?) and how the Linux drive is poartitioned (it flows on the grub installation commands) ?
I assume the Linux is sitting on hdb1 with single partition and you want to place grub on MBR.
If I am right try:
root (hd1,0)
setup (hd0)
 
Old 04-02-2003, 04:18 PM   #8
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
IDE, i dont want to overwrite the MBR, then prolly nothing on my computer will work.
partition 1: boot
partitoin 2: root
partition 3: swap
partition 4: vfat
-where would i be entering thse commands? after i do "grub" at terminal window?
 
Old 04-02-2003, 04:43 PM   #9
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
The commands should be entered after invoking grub command (prompt 'grub>')
try (not checked by me):
root (hd1,0) and next
setup (hd1,0) - this will place the loader on the 1st partition of second drive (i.e. /boot on hdb1) but this case you need a another main boot loader at MBR created with another system

or
setup (hd1) - this will place the loader on MBR od hdb

But I do not want to consider in what way Linux will be started (I do not know XP booting policy and possibility of pointing which system should be started)
 
Old 04-02-2003, 04:57 PM   #10
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
and important matter: in grub.conf you should have:
root (hd1,0)
kernel /your_kernel_name ... root=/dev/hda2
against usual
kernel /boot/your_kernel_name ... .....
 
Old 04-02-2003, 05:19 PM   #11
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by dorian33
The commands should be entered after invoking grub command (prompt 'grub>')
try (not checked by me):
root (hd1,0) and next
setup (hd1,0) - this will place the loader on the 1st partition of second drive (i.e. /boot on hdb1) but this case you need a another main boot loader at MBR created with another system

or
setup (hd1) - this will place the loader on MBR od hdb

But I do not want to consider in what way Linux will be started (I do not know XP booting policy and possibility of pointing which system should be started)
-thnx for ur help, i do appreciate it. but grub is already setup on the boot partition, i chose that in the install options. that is what this will accomplish i believe.
 
Old 04-02-2003, 09:36 PM   #12
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
***********--------------_______--------------***************


PROBLEM SOLVED

~~~~~~~~~~~~_____________________~~~~~~~~~~~~~
 
Old 08-06-2003, 10:14 AM   #13
webvandals
Member
 
Registered: Aug 2003
Posts: 105

Rep: Reputation: 15
Oh man!! Please tell us *HOW* you solved your problem!!! I wonder how many others read this thread all the to the bottom only to find a dead end :-((
 
  


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 freezes with "GRUB" text on HP Visualize X-Class trainpic Linux - General 3 10-27-2009 02:32 AM
grub freezes :( daveman_t Linux - Software 6 12-24-2004 10:04 AM
Laptop freezes at GRUB west72 Linux - Newbie 4 08-23-2004 06:31 PM
GRUB _ FREEZES please help. leemoreau Linux - Newbie 1 01-23-2004 12:30 AM
grub freezes at booting! help! econfan Linux - Newbie 5 05-29-2003 09:03 PM


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