Results 1 to 3 of 3

Thread: Any way to enable PAE in backtrack 4 R1 Kernel?

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    1

    Default Any way to enable PAE in backtrack 4 R1 Kernel?

    Hi there, I am currently running Backtrack 4 R1 as my primary OS in a computer with 8gb of ram and I was wondering if anyone knows how to enable PAE in the backtrack 4 R1 kernel? I realize PAE won't allow me to use all my ram for single processes, but Since I often run multiple programs it will definately be worth utilizing all my available resources. Could I simply add a line to my /boot/config-2.6.34 file, then recompile my kernel? Any help will be greatly appreciated, thanks!, oh and a big thanks to all who worked to create this distro! I love it.

  2. #2
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Any way to enable PAE in backtrack 4 R1 Kernel?

    Yes Kind of...... The following is only for the brave and those not afraid to break everything not to say it will but this is a buggy kernel recompile.

    It works for me I can only have one network interface but I can enable and disable them in bios and use one or the other not sure what to do next but I'm experimenting... This is really not ideal but since I have to switch video cards in my bios currently as well it has become easy to deal with....

    So again one more time only for the curious unafraid and willing to repair....

    1. cd /usr/src/linux-source-`uname -r`

    2. zcat /proc/config.gz > .config

    3. make menuconfig

    4. In the menu choose: Processor type and features -> High Memory Support (4GB) -> 64GB, and then exit the program saving the changes.

    5. make

    6. make modules

    7. make modules_install

    8. mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`

    9. cp /usr/src/linux-source-`uname -r`/arch/x86/boot/bzImage /boot/vmlinuz-`uname -r`-hmem

    10. cp /usr/src/linux-source-`uname -r`/System.map /boot/System.map

    11. vim /etc/grub/menu.lst

    #####add something like this#######
    title BackTrack 4 R1 (PwnSauce Revolution)
    uuid (Your UUID Here)
    kernel /boot/vmlinuz-2.6.34-hmem root=UUID=(Your UUID Here) pci=nocrs ro quiet vga=0x317
    initrd /boot/initrd.img-2.6.34-hmem
    quiet

    12. update grub config

    13. reboot and maybe it will be perfect maybe you will have errors you can and or can't live with...

    I'd recommend backing up your Kernel System Map and your initrd.img if things go back copy them all back and try again

  3. #3
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Any way to enable PAE in backtrack 4 R1 Kernel?

    I updated this in the new R2 and it works flawless for me. This is not to say it will work 100% for everyone. Here are the steps I used. I used a mix of information from the forums and on the backtrack wiki.

    ##############################################
    #Upgrade BT4-R2 Kernel with PAE High Memory 64GB
    #Caution! Upgrading the kernel can cause fatal problems.
    #The backtrack developers have reasons to exclude modules
    ##############################################


    ###############[Upgrading from Backtrack 4 R1]##########

    01. apt-get install linux-source-2.6.35.8

    02. cd /usr/src

    03. tar xvjf linux-source-2.6.35.8.tar.bz2

    04. rm linux

    05. ln -s linux-source-2.6.35.8 linux

    06. cd /usr/src/linux

    07. cp /boot/config-2.6.35.8 .config

    08. make menuconfig
    In the menu Choose Processor type and features -> High Memory Support (4GB) -> 64GB and then choose exit and save the changes.

    09. make
    Be patient this can take a long time.

    10. make modules

    11. make modules_install

    12. make scripts && make prepare

    13. mkinitramfs -o /boot/initrd.img-2.6.35.8 2.6.35.8

    14. cp /usr/src/linux-source-2.6.35.8/arch/x86/boot/bzImage /boot/vmlinuz-2.6.35.8

    15. cp /usr/src/linux-source-2.6.35.8/System.map /boot/System.map-2.6.35.8

    16. ln -s /usr/src/linux /lib/modules/2.6.35.8/build

    17. Update your menu.lst

    18. reboot

    19. fix-splash

    ###########[Upgrading the Backtrack 4 R2 ISO]#############

    01. mkdir /root/BUILD/

    02. cd /root/BUILD/

    03. copy your iso to the build directory.

    04. wget offsec.com/bt4-customise.sh

    05. sed 's/bt4-pre-final/bt4-r2/g' bt4-customise.sh >mod

    06. mv mod bt4-customise.sh

    07. chmod 755 bt4-customise.sh

    08. ./bt4-customise.sh

    ################################################## #
    #Once inside the chroot environment we can modify the kernel and other tools.
    ################################################## #

    01. cd /usr/src/linux

    02. cp /boot/config-2.6.35.8 .config

    03. make menuconfig
    In the menu Choose Processor type and features -> High Memory Support (4GB) -> 64GB and then choose exit and save the changes.

    04. make
    Be patient this can take a long time.

    05. make modules

    06. make modules_install

    07. make scripts && make prepare

    08. mkinitramfs -o /boot/initrd.img-2.6.35.8 2.6.35.8

    09. cp /usr/src/linux-source-2.6.35.8/arch/x86/boot/bzImage /boot/vmlinuz-2.6.35.8

    10. cp /usr/src/linux-source-2.6.35.8/System.map /boot/System.map-2.6.35.8

    11. ln -s /usr/src/linux /lib/modules/2.6.35.8/build

    12. install addition packages

    13. apt-get update && dist-upgrade

    14. apt-get clean

    15. history -c

    16. exit

Similar Threads

  1. How To Enable Intel® PRO/Wireless 2200BG Card In Backtrack
    By manowarbk in forum OLD Newbie Area
    Replies: 0
    Last Post: 01-28-2010, 05:33 AM
  2. Enable Virtio drivers in stock BT4 kernel
    By Kenni in forum OLD BT4 Feature Requests
    Replies: 1
    Last Post: 06-12-2009, 10:57 PM
  3. IRQ enable boot problem in backtrack 3
    By Geomancer in forum OLD Newbie Area
    Replies: 4
    Last Post: 06-14-2008, 11:09 PM
  4. How To Enable Intel® PRO/Wireless 3945ABG Card In Backtrack
    By imported_danmc in forum OLD Tutorials and Guides
    Replies: 27
    Last Post: 04-14-2008, 03:02 AM
  5. how to enable card to go on the net in backtrack
    By peehead in forum OLD Wireless
    Replies: 5
    Last Post: 09-04-2007, 03:47 PM

Tags for this Thread

Posting Permissions

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