LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems with grub config or fstab? (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-grub-config-or-fstab-229291/)

orionpc84 09-11-2004 09:27 AM

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

masand 09-11-2004 09:40 AM

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

orionpc84 09-11-2004 02:35 PM

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

masand 09-11-2004 02:55 PM

hi

unfortunate that u could not get ur queries solved

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

regards


All times are GMT -5. The time now is 05:58 AM.