Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New gentoo won't boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Thu Nov 27, 2003 2:10 pm    Post subject: New gentoo won't boot Reply with quote

Hello all, I just installed gentoo from a stage 3 tarball and now I get an error out of grub when booting. The error follows

root (hd0,2)
Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.4.20-gentoo-r8 ro root=/dev/hda3 vga=788 hdc=ide-scsi
error 15 file not found

I assume that grub cannot find the kernel.
my grub.conf file

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Gentoo Linux
root (hd0,2)
kernel /kernel-2.4.20-gentoo-r8 ro root=/dev/hda3 vga=788 hdc=ide-scsi
initrd /initrd-2.4.20-gentoo-r8
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.22-1.2115.nptl.img
title Windows 2000
rootnoverify (hd0,0)
chainloader +1

fstab from gentoo

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext3 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 1 1
/dev/hda5 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto iso9660,auto,user,ro 0 0

# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0

the other thing I notice is that from chroot in gentoo if I do,
df -T
filesystem is /dev/ROOT and type is xfs
under fedora it shows
filesystem /dev/hda3 and type as ext3

Thanks for any help, Don
Back to top
View user's profile Send private message
earlNameless
n00b
n00b


Joined: 01 Apr 2003
Posts: 47

PostPosted: Thu Nov 27, 2003 2:26 pm    Post subject: Reply with quote

also, do you have the Gentoo Linux kernel in /root/ or / ? because right now grub.conf says it is under /

so if that is not how you intended it to be, then all this stuff appllies:

when you run grub, root (hd0, 2) tells grub where the boot partition is (kinda weird, but still), so when you are in grub run

Code:
root (hd0,1)


change root (hd0,2) to root (hd0,1) in "Gentoo Linux" part of grub.conf

this should fix your grub not finding the kernel problem, and if it boots :) the partitions should be end up working correctly
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Thu Nov 27, 2003 3:03 pm    Post subject: Reply with quote

Many thanks, explained my problem. It is set up the same way my Debian system was and that used a link from / to /boot. I haven't tried it yet but that has to be the problem. Again many thanks. don
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum