View previous topic :: View next topic |
Author |
Message |
reub2000 Guru
Joined: 31 Jan 2004 Posts: 364
|
Posted: Wed Jun 15, 2005 4:46 pm Post subject: Problem booting new gentoo installation [solved] |
|
|
I installed gentoo on my htpc. When I booted it, it got an error very soon after booting. In /etc/lilo.conf I set the root partition for booting gentoo to /dev/sda5, and made sure my kernel had the nvidia sata driver. I really don't know why it can't mount my root partition.
Error:
Code: | VFS:Cannot open root device "805" or unkown-block(8,5)
Please append a correct "root=" boot option
Kernel panic not syncing: VFS: unable to mount root fs on uknown fs(8,5) |
Specs:
Gentoo 2005.0 Athlon XP Stage 2
lilo
AMD Athlon 64 3700+
Asus K8N-E nForce 4 Ultra
1GB PC3200 RAM
/dev/sda: 120GB SATA hard drive, / is /dev/sda5
/dev/sdb: 300GB SATA hard drive
/dev/hda: CD-RW drive
Edit: It looks like I forgot to inlcude /dev/pts in the kernel. SOLVED
Last edited by reub2000 on Thu Jun 16, 2005 12:15 pm; edited 1 time in total |
|
Back to top |
|
|
RoadRunn Apprentice
Joined: 10 Jun 2004 Posts: 162
|
Posted: Wed Jun 15, 2005 4:49 pm Post subject: Re: Problem booting new gentoo installation |
|
|
reub2000 wrote: | I installed gentoo on my htpc. When I booted it, it got an error very soon after booting. In /etc/lilo.conf I set the root partition for booting gentoo to /dev/sda5, and made sure my kernel had the nvidia sata driver. I really don't know why it can't mount my root partition.
Error:
Code: | VFS:Cannot open root device "805" or unkown-block(8,5)
Please append a correct "root=" boot option
Kernel panic not syncing: VFS: unable to mount root fs on uknown fs(8,5) |
Specs:
Gentoo 2005.0 Athlon XP Stage 2
lilo
AMD Athlon 64 3700+
Asus K8N-E nForce 4 Ultra
1GB PC3200 RAM
/dev/sda: 120GB SATA hard drive, / is /dev/sda5
/dev/sdb: 300GB SATA hard drive
/dev/hda: CD-RW drive |
The kernel panic states it's an unknown file system. Did you compile support for your root's file system IN the kernel (not as a module)? |
|
Back to top |
|
|
reub2000 Guru
Joined: 31 Jan 2004 Posts: 364
|
Posted: Wed Jun 15, 2005 5:01 pm Post subject: |
|
|
I made sure that ext3 was compiles into my kernel. |
|
Back to top |
|
|
YourDoom123 Apprentice
Joined: 06 Mar 2004 Posts: 163
|
Posted: Wed Jun 15, 2005 5:06 pm Post subject: |
|
|
can we see your /etc/fstab?
oh and your grub.conf as well... its saying your "root=" part isn't right for some reason... _________________ Acer Aspire 5672 |
|
Back to top |
|
|
reub2000 Guru
Joined: 31 Jan 2004 Posts: 364
|
Posted: Wed Jun 15, 2005 5:09 pm Post subject: |
|
|
Code: | root@0[gentoo]# cat etc/lilo.conf
# $Header: /var/cvsroot/gentoo-x86/sys-boot/lilo/files/lilo.conf,v 1.2 2004/07/18 04:42:0
4 dragonheart Exp $
# Author: Ultanium
#
# Start LILO global section
#
# Faster, but won't work on all systems:
#compact
# Should work for most systems, and do not have the sector limit:
lba32
# If lba32 do not work, use linear:
#linear
# MBR to install LILO to:
boot = /dev/sda
map = /boot/.map
# If you are having problems booting from a hardware raid-array
# or have a unusual setup, try this:
#disk=/dev/ataraid/disc0/disc bios=0x80 # see this as the first BIOS disk
#disk=/dev/sda bios=0x81 # see this as the second BIOS disk
#disk=/dev/hda bios=0x82 # see this as the third BIOS disk
# Here you can select the secondary loader to install. A few
# examples is:
#
# boot-text.b
# boot-menu.b
# boot-bmp.b
#
install = /boot/boot-menu.b # Note that for lilo-22.5.5 or later you
# do not need boot-{text,menu,bmp}.b in
# /boot, as they are linked into the lilo
# binary.
menu-scheme=Wb
#prompt
# If you always want to see the prompt with a 15 second timeout:
#timeout=150
delay = 50
# Normal VGA console
vga = normal
# VESA console with size 1024x768x16:
#vga = 791
#
# End LILO global section
#
#
# Linux bootable partition config begins
#
image = /boot/vmlinuz
root = /dev/sda5
label = Gentoo
read-only # read-only for checking
#
# Linux bootable partition config ends
#
#
# DOS bootable partition config begins
#
#other = /dev/hda1
# #other = /devices/discs/disc0/part1
# label = Windows
# table = /dev/hda
#
# DOS bootable partition config ends
#
root@0[gentoo]# cat etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azara
h 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/pas
s>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext3 noatime 1 2
/dev/sda5 / ext3 noatime 0 1
/dev/sda6 /home ext3 noatime 0 2
#/dev/sda7
/dev/sda8 none swap sw 0 0
#/dev/sdb1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 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:
tmpfs /dev/shm tmpfs rw,noexec 0 0
|
|
|
Back to top |
|
|
reub2000 Guru
Joined: 31 Jan 2004 Posts: 364
|
Posted: Thu Jun 16, 2005 9:59 am Post subject: |
|
|
bump |
|
Back to top |
|
|
MickKi Veteran
Joined: 08 Feb 2004 Posts: 1173
|
Posted: Thu Jun 16, 2005 10:18 am Post subject: |
|
|
Perhaps you should pass udev to the kernel as the handbook suggests? _________________ Regards,
Mick |
|
Back to top |
|
|
reub2000 Guru
Joined: 31 Jan 2004 Posts: 364
|
Posted: Thu Jun 16, 2005 10:40 am Post subject: |
|
|
MickKi wrote: | Perhaps you should pass udev to the kernel as the handbook suggests? |
It only suggests it for genkernel users, which I didn't use. |
|
Back to top |
|
|
MickKi Veteran
Joined: 08 Feb 2004 Posts: 1173
|
Posted: Thu Jun 16, 2005 12:24 pm Post subject: |
|
|
reub2000 wrote: | MickKi wrote: | Perhaps you should pass udev to the kernel as the handbook suggests? |
It only suggests it for genkernel users, which I didn't use. | Even so, the 2005.0 build has caused udev related boot problems, which some users have overcome by adding udev or nodevfs gentoo=udev. _________________ Regards,
Mick |
|
Back to top |
|
|
|