Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

kernel panic

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
lotusvale
Guru
Guru
User avatar
Posts: 339
Joined: Thu Mar 06, 2003 6:22 am
Location: Canada

kernel panic

  • Quote

Post by lotusvale » Wed Aug 20, 2003 3:16 am

this is so weird.
the system was okay, then i recompiled kernel.
cp to /boot/, then the next time i restarted, it gives "kernel panic VFS on 37"

here's /etc/fstab:

/dev/hda1 /boot ext3 noauto,noatime 1 1
/dev/hda7 / reiserfs noatime 0 0
/dev/hda5 none swap sw 0 0

/boot/grub/grub.conf:

splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=gentoo
root (hd0,0)
kernel /boot/bzImage-gaming root=/dev/hda7

then afterward i booted the cd, double checked grub.conf, changed the line in fstab to :

/dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda7 / reiserfs noatime 0 1
('cause this was the default in the installation guide)

then reinstall grub by :
grub> root (hd0,0)
grub> setup (hd0)

also, there was a boot which is a link to /boot, and i just deleted it 'cause i thought we don't need it. or do we?

now, after reboot, the grub menu doesn't appear, instead give a black screen with "kernel /boot/bzImage-gaming root=/dev/hda7...file not found"

is there anything i can check to fix this problem?
thx

-SuSe shot-
| -G shot-

Shadowrider's Lair
Top
Anacific
Apprentice
Apprentice
User avatar
Posts: 210
Joined: Thu Jun 05, 2003 8:30 pm
Location: Toronto, Canada

  • Quote

Post by Anacific » Wed Aug 20, 2003 3:22 am

If you copied your kernel to /boot then in your grub it should be

Code: Select all

kernel /bzImage-gaming root=/dev/hda7
warning: `class GroveImpl' only defines a private destructor and has no friends.
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

  • Quote

Post by cyrillic » Wed Aug 20, 2003 3:27 am

The "boot -> ." symlink in /boot is only needed if you want to use the wrong paths in your grub.conf :roll:

Try changing grub.conf to this :

Code: Select all

root (hd0,0)
splashimage=/grub/splash.xpm.gz
title=gentoo
kernel /bzImage-gaming root=/dev/hda7 
<edit> Anacific beat me to it :D </edit>
Top
Sven Vermeulen
Retired Dev
Retired Dev
User avatar
Posts: 1345
Joined: Thu Aug 29, 2002 8:10 am
Location: Mechelen, Belgium
Contact:
Contact Sven Vermeulen
Website

  • Quote

Post by Sven Vermeulen » Wed Aug 20, 2003 10:50 am

The reason for the symlink is that we don't need to make seperate configuration files regardless of the fact that /boot is a seperate partition or not. You generally don't need it if you know how to edit the bootloader configuration file.
Top
lotusvale
Guru
Guru
User avatar
Posts: 339
Joined: Thu Mar 06, 2003 6:22 am
Location: Canada

  • Quote

Post by lotusvale » Wed Aug 20, 2003 4:17 pm

yea since i couldn't use grub, i had to boot from grub floppy,
then execute :
kernel (hd0,0)/bzImage-gaming root=/dev/hda7

it worked instead of :
kernel (hd0,0)/boot/bzImage-gaming root=/dev/hda7
,which gave "file not found".

but in the mid way down, it still gives error.

Code: Select all

.
.
ds: no sockets drivers loaded
XFS: bad magic number
XFS:SB validate failed
kernel panic: VFS: Unable to mount root  fs on 03:07
EDIT
could it be the options in the fstab? i'm not sure what "1 1" or "0 0" means

-SuSe shot-
| -G shot-

Shadowrider's Lair
Top
Post Reply

5 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy