new kernel panics



Just compiled my 1st kernel.

Using sources from 2.6.18-4 (((((((((same as present kernel to keep it
simple)

Compiled ext3 & ext2 into the kernel (not as modules)

installed kernel & modules

installed into grub

root (hd0,0)
kernel /vmlinux root=dev/hda2 ro
noinitrd
save default

The stock kernel was

root (hd0,0)
kernel /vmlinux-2.6.18-4-686 root=/dev/hda2 ro
initrd /initrd.img-2.6.18-4-686
savedefaults

The stock kernel works, the new kernel fails after 20 lines (or so)
with:-

please append correct "root=" boot optopns

kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(0,0)


I have tried all combinations of (hd0,0) & 0,1 & root=/dev/hda1
& 2.
There is no initrd for the new kernel which is what I want
file systems hda1 is /boot & hda2 is / & both are ext3

I have been presuming it to be a grub menu.lst problem but it could be
a kernel compile problem. I would have thought that if so it would
have to be around the ext3 file system but it seems to load something
before it panics so I would think that is OK

Can anybody suggest anything else - PLEASE

Steve


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [SLE] post-kernel ugrade nVidia problems
    ... >> the running kernel. ... > This is a rough idea of what you'll have to do to compile a new ... > you're running lilo or grub. ...
    (SuSE)
  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Problems with custom kernel fbsd 6.2
    ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
    (freebsd-questions)
  • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
    ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
    (Linux-Kernel)