[lkml]   [2007]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectset up new kernel with grub

    I compiled a new kernel:, and hope to test it without removing
    my old kernel.

    Here is what I did by following,289483,sid39_gci1204148,00.html :

    I built the kernel in a local directory, say "mydir", with kernel
    "bzImage-" and map file "".

    >su (#become a root)

    >cp mydir/bzImage- /boot/bzImage-
    >cp mydir/ /boot/

    >cd /boot
    >ln -s /boot/bzImage- /boot/bzImage
    >ln -s /boot/ /boot/

    >vi grub/menu.lst

    add a new entry as
    title Red Hat Linux (
    root (hd0, 0)
    kernel /boot/bzImage ro root=LABEL=/
    initrd /boot/initrd-

    >create an initial ram disk image by
    mkinitrd -k /boot/bzImage -i /boot/initrd-

    It reports wrong usage of "mkinitrd", and no initrd- is

    Any idea about what's wrong with the "mkinitrd" command ?



    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-04-04 17:41    [W:0.020 / U:34.556 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site