Re: Linux 2.6.0 initrd

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

 



Probably should also do something on the order of:
"mkinitrd /boot/2.6.0.img 2.6.0" and then modify the grub.conf to use the new initrd for the 2.6.0 kernel.


Laban Mwangi wrote:
Well I just used the directions in the kernel src tree/README,
i.e
make menuconfig
make bzImage
make modules
and
make install (A few days ago out that it does copy modules to /lib/,
boot image to /boot/ as well as edit my grub.conf or am I 'fumbling'
over here)
edited grub.conf coz of redhat's 'Label'
and rebooted.

The error I get is after 'mounting root filesystem'
<error>

mount: error 19 mounting ext3 <<checked out .config and I have ext3

compiled

pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
freeing ....

kernel panic: no init found try passing init=

<error/>


-----Original Message-----
From: Seth Arnold [mailto:sarnold@wirex.com] Sent: Thursday, July 17, 2003 8:29 PM
To: kernelnewbies@nl.linux.org
Subject: Re: Linux 2.6.0 initrd


On Thu, Jul 17, 2003 at 07:44:25PM +0300, Laban Mwangi wrote:

I recently patched my 2.5.74 to 2.6.0-test, I configured the kernel

and


rebooted on a redhat 8.0. I also changed root=xxx to be

root=/dev/hda2.


The kernel boots but panics complaining about 1 a pivot error
2. no initrd-2.6.0-test.img found


How did you build a new initrd?



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