Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 27 of 27
this will backup your existing kernel and modules Code: tar cvf /root/oldkernel.tar /boot /lib/modules...
  1. #21
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668


    this will backup your existing kernel and modules


    Code:
    tar cvf /root/oldkernel.tar /boot /lib/modules

  2. #22
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    117
    Thanks a lot.

  3. #23
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    117
    here are the steps I did

    tar -jxvf ****.bz2
    mv to /usr/src
    rm linux
    ln -s linux-2.6.18.1 linux
    cd linux2.6
    make xconfig
    selected defaults
    make dep
    make bzImage
    make modules
    make modules_install
    cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.18.1
    cp System.map /boot/System.map-2.6.18.1
    ln -s /boot/System.map-2.6.18.1 /boot/System.map
    edit lilo.cconf
    new entry is
    image=/boot/vmlinuz-2.6.18.1
    label=new
    root=/dev/hda9

    lilo -v

    When I boot its blank screen
    starts with
    loading.........
    BIOS data check.....
    and then its blank

  4. #24
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    I'd suggest going back to your old kernel entry, and using the config from your old running 2.6 kernel too instead of just guessing a correct one.


    zcat /proc/config.gz > /usr/src/linux/.config
    make oldconfig


    after that just build as normal

    make clean ; make modules ; make modules_install ; make bzImage
    cp /usr/src/linux/arch/i386/boot/bzImage /boot/2.6.x
    ln -s /boot/2.6.x /boot/vmlinuz
    lilo -v (after checking entries)

  5. #25
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    117
    I'd suggest going back to your old kernel entry, and using the config from your old running 2.6 kernel too instead of just guessing a correct one.
    running kernel is 2.4.xx
    distro : slackware 10.2

    Please I dont want to change it.


    zcat /proc/config.gz > /usr/src/linux/.config
    /proc/config.gz file doesn't exist


    does RAMdisk Image support needs to be enabled in menuconfig?
    I tried again but mkinitrd is not creating img file

    I have not changed any setting in menuconfig.

    and then same error on boot

  6. #26
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    you sir have a seriously borked kernel config

    this is why I said originally to use pats kernel packages

  7. #27
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    117
    Please close this thread.

    Thank You

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

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