1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

// Tutorial // : Upgrade To Kernel 3.9 "Dual Boot" Kali Linux/Debian Wheezy (Waldorf)

Discussion in 'Kernel' started by Jota, Jun 26, 2013.

?

IF YOU HAVE A HACKING DISTRO WHAT YOU DO ?

  1. STABLE

    40.0%
  2. UNSTABLE

    0 vote(s)
    0.0%
  3. TESTING

    0 vote(s)
    0.0%
  4. EXPERIMENTAL

    60.0%
  1. Jota

    Jota New Member

    Joined:
    Jun 26, 2013
    Messages:
    9
    Likes Received:
    2
    [​IMG]
    What i did ? o_O
    Code:
    1.Install kali 1.3
    2.Add Repo followed by apt-get update
    3.Follow the tutorial.
    4.Change to echo 'APT::Default-Release "stable";' >> /etc/apt/apt.conf
    5.Run apt-get upgrade
    6.Reboot and  dual grub came up.
    7.Take some time so.. have some coffee ready.
    


    Things you probably need to know. "for n0obs by n0obs." :eek:
    My sources:
    Code:
    echo ## kali linux >> /etc/apt/sources.list
    echo deb http://security.kali.org/kali-security kali/updates main contrib non-free >> /etc/apt/sources.list
    echo deb http://http.kali.org/ /kali main contrib non-free >> /etc/apt/sources.list
    echo deb http://http.kali.org/ /wheezy main contrib non-free >> /etc/apt/sources.list
    echo deb http://http.kali.org/kali kali-dev main contrib non-free >> /etc/apt/sources.list
    echo deb http://http.kali.org/kali kali-dev main/debian-installer >> /etc/apt/sources.list
    echo deb-src http://http.kali.org/kali kali-dev main contrib non-free >> /etc/apt/sources.list
    echo deb http://http.kali.org/kali kali main contrib non-free >> /etc/apt/sources.list
    echo deb http://http.kali.org/kali kali main/debian-installer >> /etc/apt/sources.list
    echo deb-src http://http.kali.org/kali kali main contrib non-free >> /etc/apt/sources.list
    echo deb http://repo.kali.org/kali kali-bleeding-edge main >> /etc/apt/sources.list
    echo ## debian >> /etc/apt/sources.list
    echo deb http://ftp.us.debian.org/debian/ sid main non-free contrib >> /etc/apt/sources.list
    echo deb http://ftp.gr.debian.org/debian/ wheezy-updates main contrib non-free >> /etc/apt/sources.list
    echo deb-src http://ftp.gr.debian.org/debian/ wheezy-updates main contrib non-free >> /etc/apt/sources.list
    echo deb http://ftp.it.debian.org/debian wheezy main >> /etc/apt/sources.list
    echo deb-src http://ftp.it.debian.org/debian wheezy main >> /etc/apt/sources.list
    echo deb http://www.remastersys.com/debian wheezy main >> /etc/apt/sources.list
    echo deb-src http://www.remastersys.com/debian wheezy main >> /etc/apt/sources.list
    echo deb http://live.debian.net/debian/ squeeze-snapshots main contrib non-free >> /etc/apt/sources.list
    echo deb http://security.debian.org/ wheezy/updates main contrib non-free >> /etc/apt/sources.list
    echo deb-src http://security.debian.org/ wheezy/updates main contrib non-free >> /etc/apt/sources.list
    echo deb http://packages.linuxmint.com debian import >> /etc/apt/sources.list
    gpg --keyserver pgpkeys.mit.edu --recv-key  3EE67F3D0FF405B2
    gpg -a --export 3EE67F3D0FF405B2 | apt-key add -
    gpg --keyserver pgpkeys.mit.edu --recv-key  B6068D255563B350
    gpg -a --export B6068D255563B350 | apt-key add -
    gpg --keyserver pgpkeys.mit.edu --recv-key  6F95B4996CA7B5A6
    gpg -a --export 6F95B4996CA7B5A6 | apt-key add -
    apt-get -y update
    


    How to switch between "testing, stable, unstable, experimental " ? :confused:
    Code:
    echo 'APT::Default-Release "stable";' >> /etc/apt/apt.conf
     
    echo 'APT::Default-Release "unstable";' >> /etc/apt/apt.conf
     
    echo 'APT::Default-Release "testing";' >> /etc/apt/apt.conf
     
    echo 'APT::Default-Release "experimental";' >> /etc/apt/apt.conf
    


    How to check your release info:

    or
    Check the release with terminal:
    Code:
    cd /etc/apt
    leafpad apt.conf
    


    TUTORIAL HERE ! :)
    Code:
    Install the needed packages:
    apt-get install kernel-package fakeroot build-essential ncurses-dev
     
    Download the new kernel:
    wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.9.tar.bz2
     
    Extract the archive and cd into it:
    tar xvf linux-3.9.tar.bz2
    cd linux-3.9/
     
    Do this tweaks:
    cat /boot/config-`uname -r`>.config
    make oldconfig
    You will be asked a lot of questions. If in doubt, choose the default answer (press enter).
    Next:
    make-kpkg clean
     
    Compile the kernel:
    time fakeroot make-kpkg -j4 --initrd kernel_image kernel_headers
    Replace 4 with the number of cores on your computer.
     
    Install the Kernel:
    dpkg -i ../linux-image-3.9.0_3.9.0-10.00.Custom_amd64.deb ../linux-headers-3.9.0_3.9.0-10.00.Custom_amd64.deb
    
     
    #1

Share This Page