Professional Web Applications Themes

Cannot boot to new compiled kernel - Linux Setup, Configuration & Administration

I currently compile my kernel after patched my linux9 (2.4.20) with rtlinux3.2-pre2 patch.I try to boot the new kernel with grub but unsuccessful. My statement in grub.conf is title rtlinux root (hd0,0) kernel /vmlinuz-2.4.20-8 ro root=/dev/hda1 initrd /initrd-2.4.20.8.img the system hangs with the following error pivotroot:pivot_root(/sysroot,/sysroot/initrd)failed:2 Does anyone know what's go wrong? Thanks...

  1. #1

    Default Cannot boot to new compiled kernel

    I currently compile my kernel after patched my linux9 (2.4.20) with
    rtlinux3.2-pre2 patch.I try to boot the new kernel with grub but
    unsuccessful.

    My statement in grub.conf is

    title rtlinux
    root (hd0,0)
    kernel /vmlinuz-2.4.20-8 ro root=/dev/hda1
    initrd /initrd-2.4.20.8.img

    the system hangs with the following error

    pivotroot:pivot_root(/sysroot,/sysroot/initrd)failed:2


    Does anyone know what's go wrong? Thanks


    Lo Yung Fai Guest

  2. #2

    Default Re: Cannot boot to new compiled kernel

    begin On Mon, 11 Aug 2003 21:37:16 +0800, Lo Yung Fai wrote:
    > I currently compile my kernel after patched my linux9 (2.4.20) with
    > rtlinux3.2-pre2 patch.I try to boot the new kernel with grub but
    > unsuccessful.
    >
    > My statement in grub.conf is
    >
    > title rtlinux
    > root (hd0,0)
    > kernel /vmlinuz-2.4.20-8 ro root=/dev/hda1 initrd
    > /initrd-2.4.20.8.img
    >
    > the system hangs with the following error
    >
    > pivotroot:pivot_root(/sysroot,/sysroot/initrd)failed:2
    Yes, you patched the wrong kernel source.

    Red Hat modifies their supplied kernel-source packages with patches
    themselves. Applying patches based on a standard kernel source works.
    Applying patches to a patched kernel like Red Hat's can cause problems.

    Download the kernel-2.4.20 source from; [url]http://www.kernel.org/[/url]

    Apply your rtlinux3.2-pre2 patch and then compile.


    --
    end
    There's no attachment here, your reader is broken by Microsoft's choice!!
    [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;q265230[/url]


    Lenard Guest

Similar Threads

  1. kernel compiled - boot hangs - keybd blinks
    By frankh@terra.com.br in forum Linux Setup, Configuration & Administration
    Replies: 6
    Last Post: September 9th, 12:56 AM
  2. Boot up kernel selection screen blank
    By linux newbie in forum Debian
    Replies: 2
    Last Post: August 8th, 04:30 AM
  3. Kernel 2.2 and 2.4: boot differences?
    By Ron Johnson in forum Debian
    Replies: 3
    Last Post: July 29th, 03:30 PM
  4. Replies: 1
    Last Post: July 7th, 04:16 PM
  5. Replies: 1
    Last Post: June 30th, 12:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139