Trying to build 2.5.46

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

 



I am trying to build 2.5.46 because I want to test with a kernel that
includes the new sys_epoll support.  I am following the instructions at
http://www.digitalhermit.com/linux/kernel.html.  I have managed to get
through the make bzImage, make modules, and make modules_install.  I
disabled many config options (including a lot of EXPERIMENTAL options) to
get everything to compile.

I then copied the System.map file to /boot/System.map-2.5.46.  I was unable
to create the link from /boot/System.map to /boot/System.map-2.5.46 because
there was already a link to /boot/System.map-2.4.18-3.  I didn't want to
delete that link because I want to continue to be able to boot my current
version (2.4.18-3) also.

I then copy bzImage to /boot/bzImage-2.5.46.  My instructions then talk
about what I need to do to configure lilo, but I'm not using lilo.  Instead,
as per the Redhat installation recommendations, I am using grub.  So I
modify /boot/grub/grub.conf.  Here is the modified grub.conf:

1    # grub.conf generated by anaconda
2    #
3    # Note that you do not have to rerun grub after making changes to this
file
4    # NOTICE:  You have a /boot partition.  This means that
5    #          all kernel and initrd paths are relative to /boot/, eg.
6    #          root (hd0,0)
7    #          kernel /vmlinuz-version ro root=/dev/hde2
8    #          initrd /initrd-version.img
9    #boot=/dev/hde
10    default=0
11    timeout=10
12    splashimage=(hd0,0)/grub/splash.xpm.gz
13    title Red Hat Linux (2.4.18-3)
14     root (hd0,0)
15     kernel /vmlinuz-2.4.18-3 ro root=/dev/hde2
16     initrd /initrd-2.4.18-3.img
17    title Red Hat Linux (2.5.46)
18     root (hd0,0)
19     kernel /bzImage-2.5.46 ro root=/dev/hde2
20     initrd /initrd-2.4.18-3.img

I added lines 17-20.  Note that I use bzImage instead of vmlinuz.  I'm not
sure about that.  I also don't know if I should modify the initrd line.

Anyway, when I boot, I get this error:

Kernel panic:  No init found.  Try passing init= option to kernel.

Does anyone have any ideas?  Should I try starting over with 2.5.47-ac2?

Thanks. Mark.

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