LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 12-22-2004, 09:00 AM   #1
jiawj
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Rep: Reputation: 15
grub booting questions


I reinstalled grub with grub-install '(hd0)' and restrart system
when reboot , system into grub mini-bash
I had to run configfile (hd0,0)/grub/grub.conf to load grub.conf file and load kernel

what's wrong with my grub?
I reinstall grub again with into grub mini-bash

root (hd0,0)
setup (hd0)


my partions table message:
/dev/sda1 /boot
/dev/sda2 swap
/dev/sda3 /

pls give me an instruction

thx very much and Merry Christmas
 
Old 12-22-2004, 12:54 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,527

Rep: Reputation: 177Reputation: 177
Could you post your grub.conf file?

------------------------
Steve Stites
 
Old 12-22-2004, 08:35 PM   #3
jiawj
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Original Poster
Rep: Reputation: 15
thanks, my /boot/grub/grub.conf file:

default=0
timeout=10
title mytitle-1
root (hd0,0)
kernel /vmlinuz-2.4.21-15.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-15.ELsmp.img
 
Old 12-23-2004, 03:09 PM   #4
cormander
Member
 
Registered: Dec 2004
Location: Hawaii
Distribution: Fedora & CentOS
Posts: 72

Rep: Reputation: 15
It is my understanding of grub, the value you put root= you specifies the device for this lable. This is where the root filesystem is mounted.

In your grub.conf file, where you have:

Code:
 root=LABEL=/
you should have something like this:

Code:
root=/dev/sda3
or whatever device the primary partition of your hard drive is.

-Corey

Last edited by cormander; 12-23-2004 at 03:19 PM.
 
Old 12-31-2004, 02:11 AM   #5
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
sorry for chipping in... but i'm having a similar problem... here's my grub.conf
Code:
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
 
title Red Hat Linux (2.6.6-1)
        root (hd0,0)
        kernel /vmlinuz-2.6.6-1 ro root=/dev/md2
        initrd /initrd-2.6.6-1.img
 
title Red Hat Linux (2.4.20-8)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8 ro root=/dev/md2 hdd=ide-scsi
        initrd /initrd-2.4.20-8.img
i'm running a fileserver with RAID1... things worked fine initially but after some time, did not recall doing anything to it... now i have to manually load the kernel everytime i reboot...

any ideas what went wrong?

~WiLL~
 
Old 12-31-2004, 03:42 AM   #6
jiawj
Member
 
Registered: Jul 2004
Location: Beijing, China
Distribution: Slackware,Redhat
Posts: 121

Original Poster
Rep: Reputation: 15
hmm....
check your /boot/grub directory, can you find the file menu.lst exist ?
if not, you can create it and must accord this format:
ln -sf ./grub.conf menu.lst
reboot, then grub was fine.
 
Old 12-31-2004, 05:54 AM   #7
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
yup, it's there, as usual

anymore tips?
thanks for the reply!
 
  


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
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
Booting more than one linux - GRUB and \boot partition questions rozoweskarpetki Linux - Newbie 8 05-25-2005 05:58 AM
Booting xp with Grub corbinc1 Linux - Software 10 03-10-2005 11:20 PM
GRUB and Booting from 2 HD Psychocop156 Linux - Newbie 2 07-08-2004 06:19 PM
Booting GRUB. linuxnewbie001 Linux - Newbie 1 08-01-2003 02:44 PM


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