LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-11-2004, 10:27 AM   #1
orionpc84
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
problems with grub config or fstab?


here is my fstab:

/dev/hdc1 /boot ext2 defaults,noatime 1 2
/dev/hdc2 none swap sw 0 0
/dev/hdc3 / ext3 noatime 0 1

/dev/cdroms/cdrom0 /mnt/cdrom auto user 0 0

none /proc proc defaults 0 0
none /dev/shm /tmpfs defaults 0 0
none /proc/openprom openpromfs defaults 0 0
none /proc/bus/usb usbfs defaults 0 0




here is my grub.conf:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /linux-2.4.27 root=/dev/hdc3




cannot boot, invalid "root="

the kernel name is correct because i tried a different kernel name and it said "file not found" instead of "invalid root="

does my fstab and grub seem to match up? did i put all the lines correctly on grub? please remember i am using "hdc" not "hda" is there something i did wrong in grub?

i boot from gentoo livecd and i'm very new, still difficult for me to mount the BOOT partition and edit grub.conf (but i think i remember how to do this) also my fstab is one from the cd, not from the hard drive. i don't know how to edit the fstab from the hard drive...

this has taken me 5 days and i'm very tired and frustrated with linux i am hoping this is a simple sollution... thanks for reading into my problem.



oRioN
 
Old 09-11-2004, 10:40 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
do this

FSTAB GRUB
/dev/hda (hd0,
/dev/hdc (hd2,

/dev/hdc1 (hd2,0)
/dev/hdc3 (hd2,2)

so u should have an entry of
(hd2,2) in ur grub.conf

regards
 
Old 09-11-2004, 03:35 PM   #3
orionpc84
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for the reply... I did try what you wrote, but it didn't work. Normally I would research more or ask more details, etc. but it has already been 5 days I've had no OS and I simply can't afford to go any longer with my current projects, etc. On a note for other newbies like myself, maybe Gentoo isn't a good _first_ distro to try.



oRioN
 
Old 09-11-2004, 03:55 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

unfortunate that u could not get ur queries solved

also did u try out something,which made this happen??

regards
 
  


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
Multi Boot difficulty related to Grub and fstab jiapei100 Linux - General 2 02-26-2005 08:07 AM
fstab and grub and NTFS partition on SATA Moses Palmér Linux - Newbie 3 02-25-2005 07:24 AM
Grub Config / MBR Problems!! steve-lin Linux - Newbie 9 09-05-2004 11:14 PM
If I move hd labels, what changes? fstab, grub.conf... soloist Linux - General 6 03-16-2004 11:31 AM
LABELs in /etc/fstab and grub.conf juggler Red Hat 1 09-28-2003 05:10 PM


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