Build kernel : Error when reboot

From: ngo giang (ngohoanggiang1981dh_at_yahoo.com)
Date: 09/11/04

  • Next message: Vladimir Dergachev: "Re: radeon-pre-2"
    Date:	Fri, 10 Sep 2004 23:57:19 -0700 (PDT)
    To: linux-kernel@vger.kernel.org
    
    

    Hello ,

    I’m using Linux RedHat 8 , kernel-2.4.18
    I’m trying to build kernel-2.4.26
    I did following :
    ……….
    make rmproper
    make xconfig
    make dep
    make clean
    make bzImage
     make modules
    make modules_install
    rm –rf /boot/System.map
    rm –rf /boot/vmlinuz
    cp arch/i386/boot/bzImage /boot/bzImage-xxx
    cp System.map /boot/System.map-xxx
    ln -s /boot/vmlinuz-x.x.x /boot/vmlinuz
    ln -s /boot/System.map-x.x.x /boot/System.map

    I configured grub.conf as follow :

    //old configuration
    title Linux Red Hat (2.4.18-14)
    root(hd0,0)
    kernel /vmLinuz-2.4.18-14 ro root=LABEL=/
    initrd /initrd-2.4.18-14.img

    //my configuration
    title New Kernel (2.4.26)
    root(hd0,0)
    kernel /vmLinuz-2.4.26 ro root=LABEL=/

    when reboot
    I received the error as follow :

    “VFS : cannot open root device “ label = / “ or 00:00
    Please append a correct “ root = “ boot option
    Kernel panic : VFS : Unable to mount root fs on 00:00

     I did : root=/dev/sda1 ( or root=/dev/sda2 )
    but I received error :
    kmod : failed to exec /sbin/modprobe –s –k
    block-major-8 errno = 2
    VFS : ....( similar to the first case )

    Can anyone help me .

    Thanks for yours help !

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Vladimir Dergachev: "Re: radeon-pre-2"

    Relevant Pages

    • Re: redhat 2.4.20 kernel 3.5G patch, bug report on my previous 2.4.18 kernel 3.5G patch
      ... > Again, I've been kinda lazy about adding the configuration stuff, ... > you a kernel where PAGE_OFFSET can be set with 2 MB granularity ... I will probably not have time to back port this fix to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Automatic download of kernel rpms
      ... >> to get the configuration correct before doing this. ... The kernel's "make rpm" does not make the ... (unpack kernel) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Automatic Configuration of a Kernel
      ... > - Propose to the user to include the hardware which ... As I was trying to configurate a Kernel for the ... Mail has the best spam protection around ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Automatic Configuration of a Kernel
      ... > It doesn't go in the kernel. ... Do You Yahoo!? ... Mail has the best spam protection around ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Kernel 32 group limitation
      ... We are runing Redhat Enterprise Linux AS 2.1 (kernel ... Do You Yahoo!? ... Mail has the best spam protection around ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)