Re: new kernel panics



steve downes wrote:
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



Have you compiled the driver for your motherboard IDE/SATA controller into the kernel. If its a module and no initrd then grub will not be able to see the disks, let alone the partitions :)

HTH

Wackojacko


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



Relevant Pages

  • Re: Anf?nger, blutig
    ... in welchen Runlevel mein Linux booten soll. ... >und der Dokumentation zu Grub ueberfordert? ... >Kernel laden und starten. ... Booten dem Kernel irgendwelche Parameter mit auf den Weg gegeben ...
    (de.comp.os.unix.linux.misc)
  • Re: Linux von einer auf andere Platte portieren?
    ... Kernel, der nicht in lilo.conf eingetragen ist? ... vielen von mir betreuten Rechnern das Booten von CD-ROM, ... dass grub etwas auf die Platte schreibt. ... Rechner, die von anderen Leuten benutzt werden. ...
    (de.comp.os.unix.linux.misc)
  • Re: Problem with the serial port in Fedora Core 6
    ... I've never seen the labels that you have added in grub and wonder ... expecting a pair of around the word 'menu', or maybe a kernel ... bugzilla the missing ttyS's, but bugzilla didn't like my password. ... and serial ports which appears to be exactly your issue and a suggestion ...
    (Fedora)
  • Re: booting without initrd
    ... One important job of the initrd is to load ... drivers which aren't compiled directly into the base kernel image. ... may be a good exercise to learn about the kernel/root filesystem startup; ... grub gets confused when you use the vmalloc and mem kernel parameters. ...
    (comp.os.linux.setup)
  • wie grub installation auf zweite hdd welche spaeter einzige hdd sein wird.
    ... dem neuen kernel gebootet. ... dann hab ich grub im cli benutzt und folgedes zu tun: ... # Set the default entry to the entry number NUM. ... ## by the debian update-grub script except for the default options ...
    (de.comp.os.unix.linux.misc)