Re: Kernel panic after compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-09-23 at 05:59 +0530, Libin Varghese wrote:
> Hi,
> 	After compiling the 2.6.0 kernel, copied the image to /boot and
> renamed it to vmlinuz-2.6.0. I add the kernel image in the grub
> configuration file (grub.conf) as follows
> 
> <grub.conf>
> title Linux 2.6.0
> 	root (hd0, 8)
> 	kernel /vmlinuz-2.6.0 ro root=LABEL=/ rhgb
> </grub.conf>
> 
> But when I boot, I get the following error
> <boot-up>
> VFS: cannot open root device "LABEL=/" or unknown-block (0,0)
> please append a correct "root=" boot option
> kernel panic: VFS: unable to mount root fs on unknown-block (0,0)
> </boot-up>
Do you have a SATA hard drive ? If so, from kernel 2.6.8 onwards it will
be referred to as sdx rather than hdx, by default, unless you compile it
to use the deprecated ide driver. You don't say which 2.6 kernel you
have built.  
Rod 
> 
> I am currently running the 2.4 kernel which has the following entry in
> my grub.conf file (this boot correctly)
> <grub.conf>
> title Linux 2.4.0
> 	root (hd0, 8)
> 	kernel /vmlinuz-2.4.0 ro root=LABEL=/ rhgb
> 	initrd /initrd-2.4.0.img
> </grub.conf>
> 
> ThanX in advance
> 
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
-- 
http://distributedcomputing.info - find out how to make your pc work for
the community


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux