View previous topic :: View next topic |
Author |
Message |
AnarchE n00b
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Mon Sep 23, 2002 8:58 am Post subject: Grub problems, and a kernel panic. |
|
|
Ok, i boot the machine and im taking directly to a grub prompt. From there i do:
grub> root (hd0,1)
grub> setup (hd0)
grub> kernel /boot/bzImage
grub> boot
______________________________
Ok, hd0,1 is because hd0,0 is a partition with windows XP on it, and /dev/hda1 = XP hda2 = /boot hda3 = swap hda4 = root
after passing the boot command, i get:
Kernel panic: VFS: Unable to mount root fs on 03:04
I've been working on this since friday, and it's now 5am on monday....anyone ever experience this error before, or possibly know what's causing the error. I know it seems like there is a really easy way to fix it, but trust me in the last few days I've been googling, RTFM'ing and been on a few different irc networks trying to figure this problem out....without any luck.
Thank's in advnace:
AnarchE |
|
Back to top |
|
|
splooge l33t
Joined: 30 Aug 2002 Posts: 636
|
Posted: Mon Sep 23, 2002 9:08 am Post subject: |
|
|
Make sure you got the correct file system support compiled into your kernel. Looks like you don't have the virtual file system compiled in (it's in the installation guide) |
|
Back to top |
|
|
AnarchE n00b
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Mon Sep 23, 2002 10:50 am Post subject: |
|
|
if by virtual file system, you mean Virtual Memory File System Support (former shm fs)
Config_TMPFS
It is compiled in, and has been compiled in. any other ideas?? im really struggling here, got a few things fixed tho, grub's all fixed, now i gotta figure out this kernel panic problem |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Sep 23, 2002 11:03 am Post subject: |
|
|
What is the filesystem type of your root partition? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Mon Sep 23, 2002 11:15 am Post subject: |
|
|
This sounds so much like what happened to me last week that I'm willing to bet his root fs is Reiser, and he built the kernel support as a module... Nothing wrong with ReiserFS as a boot file system (or so I've heard), but not compiling support for it directly into the kernel is a Bad Idea. The module gets called too late in the boot process, so the file system isn't recognised properly. |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Mon Sep 23, 2002 11:30 am Post subject: Re: Grub problems, and a kernel panic. |
|
|
AnarchE wrote: | Ok, i boot the machine and im taking directly to a grub prompt. From there i do:
grub> root (hd0,1)
grub> setup (hd0)
grub> kernel /boot/bzImage
grub> boot
______________________________
Ok, hd0,1 is because hd0,0 is a partition with windows XP on it, and /dev/hda1 = XP hda2 = /boot hda3 = swap hda4 = root
after passing the boot command, i get:
Kernel panic: VFS: Unable to mount root fs on 03:04
|
Well. I could be wrong with this. But, if I'm correct you didn't tell GRUB that /dev/hda4 is your root partition, right? Then I guess it's quite normal that it can't mount it.
Try this:
Code: |
grub> root (hd0,1)
grub> setup (hd0)
grub> kernel /boot/bzImage root=/dev/hda4
grub> boot
|
I guess you're using a GRUB boot floppy or something like that to get a GRUB prompt? Once you get it working, I'd advise to make a menu.lst as described here: http://www.gentoo.org/doc/build.html#doc_chap16
Greets |
|
Back to top |
|
|
|
|
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
|
|