[lkml]   [2000]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Mistake found in re-configuring kernel
    On Thu, Jul 20, 2000 at 05:36:24PM +0800, Stephen Liu wrote:
    > Hi all people,
    > In re-configuring the kernel for ' NTFS ' file system, following errors were
    > found in typing 'depmod -a'. They are also displayed in re-booting the PC.
    > Kindly advise how to rectify them by de-selecting what items in 'make
    > menuconfig'

    make mrproper /* you may want to save your .config file first */
    make menuconfig
    make dep

    mkdir /kernelarchive
    cp -puR /boot /kernelarchive/
    cp -puR /lib/modules/2.x.x-y.y /kernelarchive

    /* This is for backup, if you are cautious. You can always delete it later. */

    rm -Rf /lib/modules/2.x.x-y.y

    insert the boot disk in /dev/fd0
    make bzdisk /* To test system first. */
    /* This is really not necessary, but wise */

    make modules
    make modules_install

    cd /boot
    rm -f
    cd /usr/src/linux-2.x.x
    cp -pf /boot/
    cd /boot
    ln -s

    put 'boot=/dev/fd0' in /etc/lilo.conf to replace 'boot=/dev/whatever'

    make sure the boot disk is in /dev/fd0


    reboot! /* assuming everything works... */

    put 'boot=/dev/whatever' in /etc/lilo.conf

    rm -f /boot/vmlinuz
    cp -pf arch/i386/boot/bzImage /boot/vmlinuz-2.x.x-y.y
    cp -pf vmlinux /boot/vmlinux-2.x.x-y.y


    You may find it necessary to recompile your kernels. You should
    always preserve your .config files. You can load them into
    menuconfig as a starting point. You may also just use 'make clean'
    which will preserve your .config file as well.

    Karen Shaeffer
    Neuralscape; Santa Cruz, Ca. 95060

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

     \ /
      Last update: 2005-03-22 13:57    [W:0.020 / U:32.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site