Re: Error while booting newly installed kernel

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

 



On 10/28/05, Devendra Singh Mahra <devendra.sm@xxxxxxxxx> wrote:
> Hi
>      my root partition is hda3 only . do i need to compile ext3 with built
> in support in this case also.  and i m not sure about initrd . i read this
> in a tutorial to remove the entry .
>
>      "The reason you should remove the initrd field is because the initrd
> file does not contain anything that would be useful to your new kernel. In a
> normal Linux distribution, the initrd contains a lot of kernel modules which
> can only be loaded by the distribution kernel."
>

Ya, this might be the case for distributions, but I always creates
initrd and used it .


>     but i m not sure about this. and i dont know how to create this file . i
> followed some steps from a tutotrial to create this file but could not
> succeed .
>

In easy terms just run command "make install" after running "make
modules_install" at your kernel compilation time, and it will make the
neccesary changes to grub.conf by itself and will also create initrd
in your boot directory ...

For manually creating initrd, run command

/sbin/mkinitrd   /boot/initrd-<your_kernel_version>.img   <your_kernel_version>

this will create initrd for you, and if you got message like all your
loop back devices in use then do reboot your system and then again run
the above command.


>        do i need to compile ext3 as built in instead of module even if   my
> root  paritition is hda3.  how do we generate the initrd.img file
>
>

First try to make initrd and your grub entries correct and if its also
not working then go for EXT3 as built-in in kernel ...


--
Fawad Lateef

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