LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-19-2006, 04:09 PM   #1
geeceeaxp
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
GRUB Freezing on any OS choice


Ok, I just installed FC4 on my system from the dvd. everything went well and it rebooted to show GRUB. It shows linux as well as windows xp pro, but when i try to pick linux to load my system would lock up. I have to then reboot the computer by switching off the power. I tried it repeatedly and found that the system freezes if i pick anything other that windows, i cant even go into command line. i was wondering if someone could help me. here is my system details:

Hardrives: I have 3 harddrives, 2 IDE and one SATA. windows is one the first IDE HD and linux is on the second. the linux hard drive is partitioned into two, one partition holding linux and the other for windows.
Video: Nvidia Geforce 5500 AGP
Ram: 1gb
Leadtek Winfast TV Tuner Card
Soundblaster 24bit Sound Card
Thanks a lot in advance.
 
Old 01-19-2006, 05:14 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Can you boot from you DVD in rescue mode? (I.e.: At the first prompt, enter linux rescue).

If you can, does it find your FC4 installation?

Can you set root as suggested by the message? If so, can you do a cat /boot/grub/grub.conf and a ls /boot to verify that the files referenced in the grub.conf file are where they are supposed to be? You should have something like this:
Code:
# ls /boot/grub/
device.map     grub.conf          jfs_stage1_5      reiserfs_stage1_5  ufs2_stage1_5
e2fs_stage1_5  menu.lst           splash.xpm.gz      vstafs_stage1_5
fat_stage1_5   stage1             xfs_stage1_5
ffs_stage1_5   iso9660_stage1_5   minix_stage1_5    stage2
# ls /boot
config-2.6.12-1.1390_FC4smp      initrd-2.6.14-1.1656_FC4smp.img  System.map-2.6.14-1.1656_FC4smp
grub                             memtest86+-1.55.1
(Note: The above has been edited by hand for clarity.)

The corresponding lins in the grub.conf file should look like this:
Code:
title Fedora Core 4 (2.6.14-1.1656)
        root (hd1,1)
        kernel /vmlinuz-2.6.14-1.1656_FC4smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.14-1.1656_FC4smp.img
What it sounds like to me is that your root setting, which tells GRUB where to find your /boot directory is not set properly. The root (hd1,1) line above is telling grub to look in the second partition of the second hard drive for the Linux /root directory. (Note that GRUB counting starts at zero, not one.)

If you have a floppy drive, you might consider creating a GRUB boot floppy so you can easily try different settings. (Search the forums here for details on creating GRUB boot floppies, or just "Google It.")
 
Old 01-21-2006, 09:35 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I have 2 questions as well...

can your bios boot to your sata b4 the ides? we could then put a bootloader onto the sata.

(2) when you have go a live cd such as kanotix or knoppix or that rescue cd can you post the output of your fc4 /etc/fstab file ....if you have only the fc4 dvd you may need to look at using the chroot command to force your dvd to read from the hard drive but I am not sure if that confuses you
 
Old 01-21-2006, 04:02 PM   #4
geeceeaxp
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0
i forgot to mension, i am a newbie so i dont know to much about linux. i got into the rescue mode of FC and was able to get into the grub folder but i dont know how to edit it. is there a program that i can use to open the file while in rescue mode? also with the etc/fstab, can you tell me how to open that file while in rescue mode? thanks sorry about the trouble.
 
Old 01-21-2006, 05:29 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by geeceeaxp
i forgot to mension, i am a newbie so i dont know to much about linux. i got into the rescue mode of FC and was able to get into the grub folder but i dont know how to edit it. is there a program that i can use to open the file while in rescue mode? also with the etc/fstab, can you tell me how to open that file while in rescue mode? thanks sorry about the trouble.
Well, there a several editors you can use. One of the easiest (and probably also most complicated) to use is emacs. That's because, even on a command line screen, emacs gives you a (pseudo) wysiwyg display.

For simple editing, use emacs /etc/grub/grub.conf, use your arrow keys to move around, backspace to delete the character before the cursor, just type to enter text, and <ctrl>-x, <ctrl>-c to exit. (If you've made any changes, you'll be asked if you want to save them, and a backup file (/etc/grub/grub.conf~) will be created before your changes are saved.

That's why it's "easy." If you look at the emacs tutorial, you'll see that there are, literally, thousands of command sequences you can use for different things. That's why it also the most complicated editor.

Other people here would recommend, for example, vi or vim or ed or gedit or nano or pico. (Hey, Linux is about choice! )

I'm prejudiced towards emacs mostly because I learned it whilst using the Multics system at MIT. (In case you're interested, Multics was the Multi-user system that was "cut down to size" to make the original UNIX single-user system by the Bell Labs people who were pulled from the Multics project when Bell Labs dropped out.)

Edit: Oh, about the grub.conf file. When you enter "rescue" mode, one of the last things you'll see printed is a comment something like "chroot /mnt/sysimg to set your root to youur installed system's root." You'll need to do that for the /boot/grub/grub.conf path to work, and for the search path to be set properly so the editors can be found. I think -- but I'm not sure -- that the "rescue" mode has only a limited number of editors available, perhaps only vi.

Last edited by PTrenholme; 01-21-2006 at 05:48 PM.
 
Old 01-21-2006, 11:08 PM   #6
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
no probs at being new....I am sometimes myself.

its a good idea to play with linux in a protected environment so you should consider getting a live cd.....I prefer kanotix but knoppix is also good.....its a full operating system running off a cd or dvd.....so a little slow but has office like products like open office or a very good wordpad like program called kwrite or kate.....which you can use to open the file /etc/fstab.....and to get there you just click on the icon button for the relevant partition and a file manager opens up....could not be simpler?
 
  


Reply



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
out of the blue freezing when loading FC4 kernel with grub jh559 Linux - Software 1 10-31-2005 05:41 PM
Reinstalling GRUB and Solaris choice zillah Solaris / OpenSolaris 5 09-19-2005 10:07 AM
grub freezing iamstinke Linux - Hardware 1 04-26-2005 05:04 PM
which choice? goldie Linux - Newbie 5 08-22-2004 07:28 PM
Computer freezing while booting kernel in Grub anorman Linux - Software 2 05-03-2004 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:17 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
Open Source Consulting | Domain Registration