View previous topic :: View next topic |
Author |
Message |
psytae n00b
Joined: 05 Feb 2004 Posts: 36
|
Posted: Sat Feb 21, 2004 6:05 pm Post subject: oh no the kernel panicked |
|
|
ok I had this system mostly up a week ago but it kept on locking up after about 20-30 mins(that time I did a stage 1 install) I tried to take some advice from a few other people and just installed the stage 3 install when I tried again this time.
So I started from the begining followed the instructions and went through eveerything. Didn't have anything go wrong no files it couldn't find on emerge nothing. I thought I was doing so good, then when I take out the liveCDs for the first time and reboot using my new kernerl (kernel-2.4.22-gentoo-r5) from gentoo-sources same one I used before when it ran on me mentioned above and it craps out on me giving me this error
Code: | RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1812K freed
UDF-fs: No VRS found
sh-2021:reiserfs_read_super: can not find reiserfs on ramdisk(1,0)
Kernel panic: VFS: Unable to mount root fs on 01:00 |
On a side note I just want to thank Everyone that gives feedback in this forum, So far I have posted problems and questions in the Installing Gentoo forrum, the portage problems forrum and a couple of other forrum topics and I have only recieved feedback on my questions in the Installing Gentoo forum.
I want to thank everone who has answered all my previous questions. |
|
Back to top |
|
|
Angrybob Guru
Joined: 19 Apr 2003 Posts: 575
|
Posted: Sat Feb 21, 2004 6:36 pm Post subject: |
|
|
maybe you set the root device wrong in lilo or grub? trying editing the /etc/lilo.conf or /boot/grub/grub.conf file so that it knows which device is your root device (i.e. the one you want to boot from) |
|
Back to top |
|
|
psytae n00b
Joined: 05 Feb 2004 Posts: 36
|
Posted: Sat Feb 21, 2004 8:53 pm Post subject: |
|
|
I have besides I copied the file I used for grub that worked just last week to a disk as a text file so I can just copy and paste while I am SSHed into my box here is the file I used that booted ok last week. and I left my /etc/fstab below it.
Code: | default 0 #this sets the first menu option to boot after timeout
timeout 60 #There will be a 1 minute delay before the default is booted
splashimage=(hd1,0)/boot/grub/splash.xpm.gz #The boot menu graphic
title=Windows XP Pro
root (hd0,0)
chainloader (hd0,0)+1
title=Gentoo Linux 2.4.22
root (hd1,0)
kernel (hd1,0)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 init=/linuxrc real_root=/dev/hdb3 vga=0x317 splash=silent
initrd (hd1,0)/boot/initrd-2.4.22-gentoo-r5 |
Code: | # /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/hdb1 /boot ext3 noauto,noatime 1 1
/dev/hdb3 / reiserfs noatime,notail 0 0
/dev/hdb2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/dvdrom udf,iso9660 ro,user 0 0
/dev/cdroms/cdrom1 /mnt/cdwriter iso9660 ro,user 0 0
/dev/fd0 /mnt/floppy vfat defaults 0 0
/dev/sda1 /mnt/usbdrive vfat defaults 0 0
# NOTE: The next line is critical for boot!
proc /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 |
|
|
Back to top |
|
|
Angrybob Guru
Joined: 19 Apr 2003 Posts: 575
|
Posted: Sat Feb 21, 2004 11:04 pm Post subject: |
|
|
what exactly is "root=/dev/ram0 init=/linuxrc" in your kernel command line? you must be doing something weird and freaky, dont think I can you help I'm afraid |
|
Back to top |
|
|
daveb Tux's lil' helper
Joined: 20 Nov 2003 Posts: 137 Location: In front of my computer, duh!
|
Posted: Sun Feb 22, 2004 2:18 am Post subject: Re: oh no... |
|
|
Did you use genkernel or did you manually configure your kernel? If you used genkernel, that would explain the "weird and freaky" line Angrybob was talking about. If you manually configured, then your grub.conf would need to be changed. |
|
Back to top |
|
|
psytae n00b
Joined: 05 Feb 2004 Posts: 36
|
Posted: Sun Feb 22, 2004 2:21 am Post subject: |
|
|
yea I used genkernel I have never tried building a kernel myself this is my first time with Linux |
|
Back to top |
|
|
malec n00b
Joined: 24 Oct 2003 Posts: 8
|
Posted: Sun Feb 22, 2004 8:32 am Post subject: |
|
|
has this been resolved yet? cause i have that same prob |
|
Back to top |
|
|
psytae n00b
Joined: 05 Feb 2004 Posts: 36
|
Posted: Sun Feb 22, 2004 3:31 pm Post subject: |
|
|
unfortuneatly malec it hasn't I could really use some help its driving me crazy why was I able to compile one that worked last week and one that didn't this week using the same exact methods. |
|
Back to top |
|
|
psytae n00b
Joined: 05 Feb 2004 Posts: 36
|
Posted: Sun Feb 22, 2004 11:50 pm Post subject: |
|
|
bump |
|
Back to top |
|
|
cybe n00b
Joined: 22 Jul 2003 Posts: 67 Location: Finland
|
Posted: Wed Feb 23, 2005 9:42 pm Post subject: |
|
|
my system complained the same once when the kernel didn't have XFS support in it, and the system was installed on an XFS-partition.. _________________ _________________________________
The MOST important book on the planet?
http://thewayhomeorfacethefire.info/ |
|
Back to top |
|
|
smonijhay1 Apprentice
Joined: 29 Apr 2004 Posts: 229 Location: Ann Arbor Michigan
|
Posted: Wed Feb 23, 2005 9:49 pm Post subject: |
|
|
I had the same error this morning (how convenient:D ) I realized that when I compiled my kernel, I had mistakenly told it to load my filesystem suport as a module. (cat /boot/config....) . I changed that to built in and recompiled my kernel, then after that it was fine. _________________ you mean you are going to remember me by what I type....here? |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Wed Feb 23, 2005 10:32 pm Post subject: |
|
|
Is this in your kernel config?
Quote: | unicorn enlight # cat /usr/src/linux/.config | grep INITRD
CONFIG_BLK_DEV_INITRD=y
|
Edit : ouch a 2.4 kernel, hope the same option exists... |
|
Back to top |
|
|
|