Re: kernel panic:I have no root and I want to scream

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

 



----- Original Message -----
From: "Ravi Kumar Munnangi" <munnangi_ivar@yahoo.com>
To: <kernelnewbies@nl.linux.org>
Sent: Monday, June 16, 2003 4:49 PM
Subject: kernel panic:I have no root and I want to scream


> Iam using Redhat linux 2.4.18-14
> Now I want to reconfigure  the kernel.
>
> I have download the linux 2.4.18 from ftp:kernel.org
>
> Ihave put the file in /home/cs0205/
> There itself I unzipped the file.
> Then I saw a new directory /home/cs0205/linux
> then cd /home/cs0205/linux
> make mrproper
>
> I then copied /usr/src/linux-2.4/arch/i386/defconfig
>   to /home/cs0205/linux-2.4/arch/i386/defconfig
> This I have done to have the same configuration as my
> current sytem is having.
>
> make oldconfig
>
> make dep
> make clean
> make bzImage
> make modules
> make modules_install
>
> then,
> cp /home/cs0205/linux/arch/i386/boot/bzImage
>           /boot/vmlinuz-2.4.18
> cp /home/cs0205/linux/System.map
>           /boot/System.map-2.4.18
>
>  I have then changed my /etc/lilo.conf file as follows
>   prompt
> timeout=50
> default=linux_new
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> message=/boot/message
> linear
>
> image=/boot/vmlinuz-2.4.18-14
>         label=linux
>         initrd=/boot/initrd-2.4.18-14.img
>         read-only
>         append="root=LABEL=/"
> image=/boot/vmlinuz-2.4.18
>         label=linux_new
>         read-only
>         append="root=LABEL=/"
>
>
> Then /sbin/lilo
>
> when I tried booting with the new kernel image, its
> stopping after giving the message,
>
> request_module[scsi_hostadapter]:Root fs not mounted
>
>
> kernel panic:I have no root I want to scream
>
>
>
> please help me!!!!!!!!!
>
>   Thankyou!
>  for reading the mail patiently!
>
>


Create a initrd image for your new kernel, It is required for SCSI driver
modules to load at boot time.

assuming you are using RedHad Linux  8.0, see the link.
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-cust
om-kernel-initrd.html

see this for more information on mkinitrd
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Kernel
-HOWTO.html

The easier solution is to compile the SCSI driver in the kernel and not as a
module.

anup

--
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