Changing a parameter in Kernel Config and applying

Hi,
due to https://bbs.archlinux.org/viewtopic.php?id=168801 issue, I wanted to follow the fix explained here : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665493
and actually on Arch Linux :
]# zcat /proc/config.gz | grep CONFIG_HOTPLUG_PCI_ACPI
CONFIG_HOTPLUG_PCI_ACPI=y
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
So basically I want to set CONFIG_HOTPLUG_PCI_ACPI to m and apply the configuration.
What's a safe way to do that?
thanks.

Thanks Karol ,
while I'm going through the recompilation process , is there any chance to choose the version with ABSROOT in order to skip also the broadcom bug? https://bbs.archlinux.org/viewtopic.php?id=168177
And I was interested if *before* going through the hole thing I can somehow make use of :
ls /usr/src/linux-3.0.93-1-lts/
Documentation  Kconfig    Makefile  Module.symvers  arch    block  crypto  drivers    fs  include  init  kernel  lib    mm  net  samples  scripts  security  sound  usr  virt
If I can generate the images and choose to boot from either kernel when logging in.
Big Thanks.

Similar Messages

  • Custom kernel config and fsck error

    Why does arch kernel config pass while custom kernel config fail the fsck during boot? Udev obviously populates /dev/sda* with the archlinux kernel config while the custom kernel config populates /dev/hda*. Is there a reason for this behavior related to the config file or is it a initscript based on /etc/fstab related issue? I have the two different kernel configuration files for the i686 machines, just in case someone can figure this out.
    http://aur.archlinux.org/packages/longe … ig-longene
    http://aur.archlinux.org/packages/longe … -archlinux

    Check to make sure that it is not because of the system time being changed.  It will complain about this if it has changed and fail the first filesystem check.
    Last edited by Wintervenom (2009-09-08 15:56:26)

  • Extract driver from kernel tree and apply patches to it

    Hi
    I am trying to "enhance" a driver, fix it more or less, by applying a patches to it I found at aircrack-ng.org.
    So what I would like to do is:
    1) Extract the source code from the kernel tree for this particular driver
    2) Update the old patch to match the modern code.
    3) Make a PKGBUILD for it and share it with other through the AUR.
    So far:
    1) I dont know how to do it
    2) I found the patch and I think I know which lines need to be updated
    3) Let us make #1 and #2 first and I ll see what I will do about the package and how it should be named, because it should not be in conflict with the stock module
    I reached this point because I am so frustrated with my rtl8187b based usb wireless card and the only way to avoid those frequent disconnects is by either using ndiswrapper (last resort) or by trying the patches found at aircrack-ng.org. I don't know anything about coding, so I cannot write something new, perhaps by updating the patches, I could actually achieve something. Maybe until it gets fixed upstream.
    Last edited by twilight0 (2011-11-17 17:20:12)

    Why not use the patched compat-wireless drivers in the AUR? 
    http://aur.archlinux.org/packages.php?ID=41472
    They use the aircrack-ng patchset.

  • Default kernel config question: acpi video freezes my laptop

    Hi,
    I have a Samsung X60 laptop that freezes when the acpi video module is loaded. The default Arch kernel config (and the derived suspend2 one) includes as built-in some of the acpi code (including the video bit). I'm interested to learn why they are included as built in, and if there is a way to selectively skip the acpi video built-in bit of code? (more selectively than acpi=off as a kernel parameter). Would it be reasonable to request a change to the default kernel config?
    cheers

    bugs.archlinux.org to make sure its fixed.
    the acpi video module is reasonably new and it can be compiled as a module iirc, so it shouldnt be any harm to have it compiled as such.
    James

  • Changes to appearance of repeat swatch and gradient (both with transparency applied) when .ai saved in PDF 1.3 compatibility

    I need to send a complex vector print to a commercial printer who requires my .ai file to be saved as 1.3 PDF compatibility.  All the graphics display & print correctly bar two elements:
    1. A gradient with transparency applied
    2. A repeat pattern swatch with transparency applied
    Both of these elements are layered between a solid colour background and a complex array of vector art.
    The gradient displays as solid white when converted to 1.3 PDF.  The pattern swatch displays partly white, with some elements of the pattern repeat visible as a watermark.
    1. I have tried to rasterise these elements within the a@rt, and while they both display correctly while in .ai format, as soon as I convert to PDF the appearance changes as above.
    2. I have tried to apply the transparency to the paint buckets on the gradient slider instead of applying it to the shape with gradient fil
    3. I've fiddled with the Transparency Flattening presets, Document Raster Effect Settings, and everything I can think of in the 'Save as PDF' dialogue box
    4. I've tried to rasterise the full file with an even worse outcome (all colour information lost, appears only on grey scale with fewer elements visible)
    Could this have something to do with spot colours or overprint?  Any help would be most appeciated!
    I'm using:
    Illustrator CC 18.1.1 (doc colour set to CMYK)
    on a Macbook Pro OSX Yosemite Version 10.10.1
    Apple Preview Version 8.0 (859)

    Hi Mike,
    Thanks for taking an interest! I tried rebuilding my gradient as suggested to see whether it would make a difference, but was still having issues.  Tried to save every which way with the save as PDF options in 1.3 profile.  Finally went back into the file to unpack each layer and see what I could adjust to save the appearance.
    Found this fix in my swatches palette: for some reason the swatches I was working with had converted to "Book Colour", something I never use.  I changed the dropdown back to CMYK and changed the colours from spot to process, which fixed the file    Relief after hours of searching and late nights!
    Thanks again!

  • Find/Change words (with GREP) and apply a style...

    I need a Script for Find/Change words with GREP, and apply a paragraph style...
    Thanks...

    Hi Marcos,
    If you want the script to create character styles: Bold , Italic, Bold Italic, etc, and replace local formatting with these styles, use scripts in post #3.
    But if you want find and change words, or/and replace local formatting with styles defined by you, use FindChangeByList script.
    If the latter, I recommend you to download and install Record Find Change script (written by Martin Fisher).
    Then choose settings you need in Find-Change dialog – make sure they work as expected – and run Record Find Change script. A Notepad/TextEdit file will pop up with a line containing the recorded setting. Copy it, open FindChangeList.txt, delete the contents of this file and paste the line you just copied (or add it to the bottom of the file).
    Repeat the process for all find-change operations you need.
    Finally run FindChangeByList.jsx to make all changes in one go.
    However, while using Record Find Change script, you may encounter a problem: it doesn’t record paragraph and character styles placed inside a group. But you can write references to such styles like so:
    appliedParagraphStyle:app.activeDocument.paragraphStyleGroups.item("Style Group 1"). paragraphStyles.item("Paragraph Style 1")
    Kasyan

  • Is there a way to copy and apply changes to photos in iPhoto?

    In previous versions of iPhoto, I was able to edit a photo (adjusting exposure, colors, etc.) and then copy  and apply the same changes to other photos.  I can't seem to figure out how to do this in iPhoto 11 (v 9.3).  Is this capability still present, or was it removed?  And, if the latter, is there a work around?

    Duplicate annihilator
    LN

  • I have firefox 7.0 and i go to about:config and change the URL default from bing to google but when i close firefox an open it back up it changes back to bing why is this?

    I have firefox 7.0 and i go to about:config and change the URL default from bing to google but when i close firefox an open it back up it changes back to bing why is this? I stand by google 100% and if ur gonna make it where i can't use google as the URL's seach engine then i will uninstall it.

    The default of the pref network.http.max-connections has been increased from 30 to 256 in Firefox 6+ versions.
    Try to decrease the value of the pref <b>network.http.max-connections</b> from 256 to 30 as used in Firefox 3 versions.
    *https://support.mozilla.com/kb/Firefox+never+finishes+loading+certain+websites
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • MBAM 2.0 SP1 Self help website error after changing name of website on IIS and web config

    guys 
    i need your help here , i have fully operational 3 tier enviroment with config manager ,when i created this enviroment i only used the fully qualified domain name of the web server and now i need to change the name in order to comply with company website
    names.
    now i have went to ISS and changed the name on the bindings and changed also the web config file and this resolved the helpdesk website as it can now talk to backend and retrieve the key .
    my only issue now is the self service website , i changed the web config for it as we and when i try to retrieve the key it says an unknown error has occured please contact IT , am not sure where else to check , please help 

    If I would be in your place, i would rather have created an alias for the existing FQDN with that of the newer one into the on-premises DNS Server.
    Create a Fully Qualified Domain Name (FQDN) in DNS that users and group policy settings will use to connect to the MBAM server. For example:
    http://bitlocker.contoso.com.
    Open DNS manager.
    Expand DCServer_Name>>Forward lookup Zone>>Domain_Name.
    Right Click on domain name and choose New Alias (CName).
    Provide the alias name(bitlocker.contoso.com) and the FQDN for the target host.
    Is the web site for User Support service is accessible?
    Gaurav Ranjan

  • Heartbleed virus/vulnerability-I have been hearing about the "heartbleed vulnerability" and told to change all my passwords. Does this apply to Macs? I thought they could not get viruses and this was one of the reasons I got one.

    I have been hearing about the "heartbleed vulnerability" and told to change all my passwords. Does this apply to Macs? I thought they could not get viruses and this was one of the reasons I got one.

    See What is Heartbleed?
    (Fair disclosure: The Safe Mac is my site, and contains a Donate button, so I may receive compensation for providing links to The Safe Mac. Donations are not required.)

  • When i drag and drop to my ipod it wants to sync everything, but if i make changes to the syncing options and apply it wants to sync it all to make it work. i have 12000 songs and takes two days to sync everything. is there an easier way to drag and drop

    when i drag and drop to my ipod it wants to sync everything, but if i make changes to the syncing options and apply it wants to sync it all to make it work. i have 12000 songs and takes two days to sync everything. is there an easier way to drag and drop just one album without making settings changes?

    The first ever Sync of 12,000 songs to an empty iPod will take a while, but it shouldn't take two days.
    Once all 12,000 songs have been Synced to the iPod, subsequent changes to just one album will result in a very short Sync time. That Sync will include:
    the change to that one album
    play counts on iPod updated into your iTunes Library
    Smart Playlists updated: some complex Smart Playlists are not always updated by the iPod but have to wait for a Sync with the Library.
    housework - in other words, behind the scenes tasks that we don't need to see.
    Those subsequent Syncs do not sync every single song every time.
    So, stick with Syncing. If the first Sync of all your songs is taking too long, try syncing part of the Library (say one or two genres) the first time, a further part the second time and so on. After all, with a Library that large, manually managing the iPod will be a source of torture.

  • DDL trigger to Capture the DDL changes on one database and applies to child level databases in same server.

    Hi friends,
            I need to create one DDL trigger to Capture the all DDL modification on parent database and applies those changes to the underlying (child) databases  in my project.
            Can anyone help me out in this,how to track the changes and applies to the child level databases?
    Thanks in Advance.

    Use Visual Studio Data Tools or
    Red Gate Compare.

  • Change default kernel config

    I'm unable to boot with the default kernel, since "BIOS Enhanced Disk Drive calls determine boot disk" is enabled.
    One may wonder why is it enabled in default distro kernel anyway. Here a note
    from kernel config:
    "This option is experimental and is known to fail to boot on some obscure configurations. Most disk controller BIOS vendors do not yet implement this feature."
    Maybe its just me, but I really dont consider my configuration as obscure :-)
    It would be great if this was removed from the default kernel unless there is a reason for it to be there?
    The problem occur when I have disks attached to the one of Promise controllers.
    # lspci
    00:00.0 Host bridge: Intel Corporation 82Q963/Q965 Memory Controller Hub (rev 02)
    00:01.0 PCI bridge: Intel Corporation 82Q963/Q965 PCI Express Root Port (rev 02)
    00:02.0 VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller (rev 02)
    00:19.0 Ethernet controller: Intel Corporation 82566DM Gigabit Network Connection (rev 02)
    00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 02)
    00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
    00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
    00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
    00:1f.0 ISA bridge: Intel Corporation 82801HO (ICH8DO) LPC Interface Controller (rev 02)
    00:1f.2 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA AHCI Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
    02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
    02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
    04:01.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
    04:03.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
    04:04.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)

    bugs.archlinux.org to make sure its fixed.
    the acpi video module is reasonably new and it can be compiled as a module iirc, so it shouldnt be any harm to have it compiled as such.
    James

  • Lenovo Yoga 2 13, Kali Linux 1.0.7, Ubuntu 14.04, Windows 8.1 install, config, and wifi fix.

    Lenovo Yoga 2 13, Kali Linux 1.0.7, Ubuntu 14.04, Windows 8.1 install, config, and wifi fix.
    I wanted to share an experience with everyone I hope will help others avoid what I have gone through the past 3 days. I bought a Yoga 11s that I loved but had some issues with the wireless, Lenovo being awesome replaced it with a Yoga 2 13. I love this laptop but ran into some issues with Linux install/wireless, which I wanted to show how to resolve in one place. Hopefully this will help someone else get through this quicker
    I am going to try and write this for someone with little Linux experience, if I miss the mark please let me know and I will clarify the best I can.
    For work I need Windows 8.1 and Kali Linux, while for home I prefer Ubuntu.
    My Yoga 2 13:
    I5 1.6 ghz
    8 GB ram
    256 GB SSD
    ORANGE!
    My requirements: 
    I need Windows
    I need Kali Linux (livecd, even with persistent mode was not an option as it would not save the wireless fix or system updates) – I would also like this on a USB drive and not the internal SSD
    I would like Ubuntu
    Needed to do this:
    1. 2 USB thumb drives (at least 8gb in size each) I used 2 Leef Supra 32GB drives. They are my favorite right now and are only about $27 at amazon.
    2. Phone that can USB Tether or a USB Ethernet card (External USB wireless will show as "Hardware Locked"). Again you can pick one up for sub $10 if you need the USB Ethernet route. I used my Galaxy S5, you will need to download 200-300 mb of items through this so make sure you have the data if you go that route.
    3. You may be able to get a USB wifi card to work if you do the following after boot. This only worked once for me.
                    a.Type ‘sudo rmmod iwlmvm’
    b.Type ‘sudo rmmod iwlwifi’
    4. ISOs of Ubuntu and Kali Linux (I used Ubuntu 14.04 and Kali Linux 1.0.7)
    5. Software to unzip the ISOs. I recommend 7-ZIP and will be referencing this in this guide.
    6. I will include the EFI boot files and the WiFi fix files if I can attach. Otherwise I will provide a link to them.
       Link: https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    Recommended (these are just in case you corrupt something making your system not see any OS
    1.  I would call Lenovo beforehand and get a set of recover disks (this will take 2-3 days)
    2. In the meantime a USB Windows 8.1 or 8 ISO (the repair feature may save you)
    *Note: At many points in this guide I detail steps and commands. Please double check that you understand the step before proceeding. There are multiple points where a mistyped command or clicking the wrong option will cause your entire system to fail and you will need to reformat the entire drive and start over. This also will make One Touch recovery not work. Proceed with caution.*
    I did not need to disable ‘secure boot’ to do this, but keep in mind that you may need to.
    Steps:
    First let’s go through the installs, and then we will go through grub config and wireless fix
    1. In Windows scroll to computer and right click, select manage.
    2. Go to “Disk Management”
    3. Select the main HDD (notice Lenovo puts a stupid number of partitions on here)
    a. I deleted the D: drive on here, if you do this make sure to copy the drives over to your main C: drive. You will want to run each of the installers and repair the drivers after.
    4. I used the space from the D: drive and pulled a little more creating a 50 GB partition for Ubuntu and my swap file
    a. You can also add more space by right clicking your C drive and selecting shrink
    b. Do not format the partitioned data as this will make identifying it later much easier.
    5. Open a command line
                    a. Swipe from the right of the screen and select search
                    b. Type ‘cmd’
                    c. right click and select ‘run as admin’
    6. For Ubuntu: Type ‘diskpart’ into the command line
                    a. type ‘list disk’
    i. You should see 2-3 disks depending on if you have one or both usb drives in the laptop at the time. I would suggest only doing 1 at a time so you don’t lose track.
                    b. type ‘select disk $’ (Replace the $ with the number of the drive)
    c. ***** Before proceeding make sure you have the correct drive selected or you can ruin your Windows install and Lenovo one touch recovery will not fix it since we have changed the partitions *****
    d. type ‘clean’
    e. type ‘create partition primary’
    f. type ‘active’
    g. type ‘format  fs=fat32 quick’
    h. type ‘assign’
    i. type ‘exit’
    6. For Kali Linux: Type ‘diskpart’ into the command line
                    a. type ‘list disk’
    i. You should see 2-3 disks depending on if you have one or both usb drives in the laptop at the time. I would suggest only doing 1 at a time so you don’t lose track.
                    b. type ‘select disk $’ (Replace the $ with the number of the drive)
    c. ***** Before proceeding make sure you have the correct drive selected or you can ruin your Windows install and Lenovo one touch recovery will not fix it since we have changed the partitions *****
    d. type ‘clean’
    e. type ‘create partition primary size= 3272
    f. type ‘active’
    g. type ‘format  fs=fat32 quick’
    h. type ‘assign’
    i. type ‘exit’
    j. By doing this we can maintain a portion of this drive as the install CD and still have linux install/ liveCD if we need to run it on another machine.
    7. At this point the drive is ready to have the contents of the ISO copied over.
    8. Right click the ISO and select 7-zip then ‘zip to /’ This should unzip the ISO to the location of the ISO into a folder named exactly the same as the ISO.
    9. Once this is done for Ubuntu ISO it is done
    10. Kali requires a little bit more to be ready
                    a. Kali will need some files added for EFI boot. --$--
                                   i. Thanks to: https://forums.kali.org/showthread.php?271-How-to-EFI-install-Kali-Linux
                                   ii. EFI files are located within the wifi fix folder https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    11. Now let’s start with Ubuntu
    Ubuntu install
    1.     Place USB drive into the laptop and press the “Lenovo boot” button next to the power button
    2.     Select ‘Boot Menu’
    3.     Select ‘EFI USB Device (Name of drive)’ Mine stated Leef Supra
    4.     Select ‘install Ubuntu’
    5.     Go through the Ubuntu install until you get to select the install drive
    6.     Once you get to the install portion it will ask you to select from one of 4 options. Select ‘Manually select partition’
    7.     Select the “Free Space” where we opened up some of the drive
    8.     You will need to create 2 partitions, I usually create the swap partition at the end of the drive
    a.     First I create the swap
                                              i.    Set at the end of the drive
                                             ii.    Set size to 1024 mb
                                            iii.    Set type to ‘swap’
    b.     Second create the ext 4 partition
                                              i.    Set to beginning of drive
                                             ii.    Set to remainder of the space
                                            iii.    Set type to ext4
                                            iv.    Set mount point to /
    9.     Finish the install and boot into Ubuntu
    10.   You will notice that your wireless is ‘disabled by hardware’ This is fine for the time being and we will worry about this after the kali install. If we fix it now for some reason after installing kali we get the error again and would just need to fix it again.
    Kali Linux install
    1.     Place USB drive into the laptop and press the “Lenovo boot” button next to the power button
    2.     Select ‘Boot Menu’
    3.     Select ‘EFI USB Device (Name of drive)’ Mine stated Leef Supra
    4.     From the grub menu select ‘install kali linux’ both graphical and text work. I much prefer text install
    5.     You will get a few errors through the install but that is fine
    6.     The first we see is about network hardware and ‘load missing firmware from removable media?’ – Select ‘no’
    7.     Then select no ethernet card
    8.     It will have you name your machine then it will ask you for the root password
    a.     If you want to just use root *not recommended* place the password here
    b.     If you wish to use a non-root account then leave these blank and it will ask you for a name, username, and password of the new machine *Very Recommended* - this will also add this user to the sudoers file
    9.     It will then ask you to ‘partition disks’
    10.   Select manual
    11.   Now here is where it can get a little confusing so read twice click once
    12.   Select the USB drive from this list
    13.   Mine shows up under (sdb) – Leef Supra
    a.     It could be sdc, sdd, sde, etc… depending on how many drives you have plugged in.
    14.   You should see one primary drive that is 3gb or so that is formatted as FAT32. – DO NOT TOUCH THIS PARTITION!
    15.   You should see the remainder of this drive as ‘FREE SPACE’ select that
    16.   Create a partition at the end at size 1024mb and swap
    17.   Then create another one for the remainder of the drive and set it to ext4 with mountpoint of /
    18.   Continue through the install after you should see an error warning you that ‘you may not be able to boot’ that is fine, select continue
    19.   Then select from the menu of all the options ‘continue without bootloader’
    20.   It should finish up then reboot on its own.

    First setup/boot/fix grub
    1.     You should  be able to boot up into GRUB2 menu now.
    2.     You may not see kali linux in this menu (make sure you have your towel and don’t panic!)
    3.     Boot into Ubuntu
    4.     Once you log in you should see that you still cannot use wireless due to being locked by hardware
    5.     This is expected
    6.     Let’s fix grub then we will come back to fixing wireless
    7.     Plug in your device to connect to the internet (USB Tethering or USB Ethernet)
    8.     Once you verify that you now have an internet connection run the following from terminal
    a.     ‘sudo add-apt-repository ppa:danielrichter2007/grub-customizer’
    b.     ‘sudo apt-get update’
    c.     ‘sudo apt-get install grub-customizer’
    9.     You can also edit the grub.cfg manually if you know what you are doing… I did not
    10.   Open grub  customizer
    11.   It should auto populate and you should see ‘debian (kali linux)’ somewhere in the list
    12.   It should be mounted to /dev/sdb2 or /dev/sdc2 depending on how many devices you have
    13.   At this point go ahead and save
    14.   Reboot and test that you can get into each OS
    15.   This is where my inexperience got me. I spent 2 of my days so I am including this error: If when you boot into Kali you get an error somewhere that says ‘/bin/sh: can’t access tty: job control turned off’ look above it for an error that looks similar to ‘ALERT! /dev/sdc2 does not exist. Dropping to a shell!!’
    a.     That error is due to the mount point being incorrect in grub, reboot and from within grub highlight the kali boot. Press ‘e’ then towards the bottom you should see ‘root=/dev/sdc2’ change this to ‘root=/dev/sdb2’ again the number doesn’t matter just make sure it stays the same.
    b.     Press F10
    c.     If this boots fine then you will need to go back and fix the grub.cfg or load into Ubuntu and open grub customizer again, it should fix this
    16.   Now you have 3 working OS on the machine with one being on a USB! Congrats!
    17.   You can remove the USB with no worry of screwing up your install, but you will not be able to boot into Kali Linux until you replace it. I would suggest only removing it and replacing it while the machine is powered off, but that’s just me.
    Fix Wireless
    Now is the time to do what probably ¾ of you came here for. FIX THE DANG WIRELESS. This is a huge problem from Lenovo’s side that I hope they realize how important Linux is and will fix. I won’t hold my breath though.
    Log into Ubuntu : This is well documented in the following forum post on page 3 by user Haohe:
    http://ubuntuforums.org/showthread.php?t=2215044&page=3
    His has you download quite a large file, mine should be much smaller.
    https://www.dropbox.com/s/puxnnoft3gn2b6l/WiFiFix.zip
    1.     Download the attached package with the fix.
    2.     Connect your USB internet device (tether or ethernet)
    3.     Place the packages somewhere easy to access, in this example I will place them under ~/Desktop/WiFiFix
    4.     Type ‘cd ~/Desktop/WiFiFix/’
    5.     Now we need to prep the tools we need.
    6.     Type ‘sudo apt-get update’ – we did this before, but you know, just in case
    7.     Type ‘sudo apt-get install linux-headers-`uname –r`’   Note around uname-r they are the ` symbol not the ‘ this is located just above the tab on the same key as ~.
    8.     Type ‘make’
    9.     Type ‘sudo cp /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/ideapad-laptop.ko ~/ideapad-laptop.ko.backup’
    10.   Type ‘sudo cp ~/Desktop/WiFiFix/ideapad-laptop.ko /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/’
    11.   Type ‘sudo modprobe -r ideapad-laptop’
    12.   Type ‘sudo modprobe ideapad-laptop’
    13.   Type ‘sudo rfkill unblock all’
    14.   Type ‘sudo modprobe -r ideapad-laptop’
    15.   Type ‘sudo mv ~/ideapad-laptop.ko.backup /lib/modules/3.13.0-24-generic/kernel/drivers/platform/x86/ideapad-laptop.ko’
    16.   Next we need to blacklist the ideapad module
    17.   Type ‘sudo echo 'blacklist ideapad-laptop' > /etc/modprobe.d/blacklist-ideapad.conf’
    a.     The first time I tried this it wouldn’t work. So I did the following
    b.     ‘sudo touch /etc/modprobe.d/blacklist-ideapad.conf’
    c.     ‘sudo vim /etc/modprobe.d/blacklist-ideapad.conf’
    d.     Enter     blacklist ideapad-laptop
    e.     Exit and save
    18.   Reboot your Yoga 2 13
    19.   Boot into kali and see if you have wireless, if you do then you are done. If not we will need to repeat this process with one small little change.
    Kali Wifi Fix
    1.     Copy the sources.list from the package provided
    2.     Replace /etc/apt/sources.list with the included
    3.     Some of the file path changes but the process remains the same from here.
    Congratulations you now have 3 OSes one portable to other machines and working wifi!
    Thank you
    SirGed

  • [SOLVED]How to patch the kernel? And other questions

    Like the same user who started this thread I'm suffering from hibernation resuming troubles using kernel 2.6.38. In that thread was posted a soluttion that involves patching the kernel.
    The patch to apply is this:
    http://git.kernel.org/?p=linux/kernel/g … e3e9fc8684
    Waiting for the bug to be corrected and a new version supplied is not an option, because this laptop is my main computer and I heavly rely on hibernation.
    Here's my trouble now. I don't know if it is possible to patch without recompiling the whole kernel, or it has to be compiled with that patch applied. I have seen the archlinux's wiki guide about compiling the kernel, but found nothing about applying patches (maybe I didn't searched with enought depth).
    In case there is needed a full compilation, should I use the vanilla kernel, the Arch Linux one or any of the AUR ones (I said AUR because they're the first that came to my mind)? Should i expect a performance gain with this (apart from fixing the hibernation bug)?
    Maybe i'm just doing a bunch of dumb questions, and the only thing I need is to search deeply on the wiki. In that case, please tell me. If not, I rather get some answers around kernel patching and / or compiling questions.
    Edit: In addittion, it is possible that all this questions are just newbie ones, I don't know, but as I am willing to learn from this I will appreciate any info or documentation about it.
    Thank you.
    Last edited by ethail (2011-04-12 06:30:48)

    From the source tree (/usr/src/linux-whatever) execute
    patch -p1 < /path/to/fix.patch
    then recompile kernel from the source tree.
    Basically that consists of executing the following commands from the source tree:
    make menuconfig
    make
    make modules_install
    cp -v System.map /boot/System.map-CUSTOM
    cp -v arch/x86/boot/bzImage /boot/vmlinuz-CUSTOM
    mkinitcpio -k 2.6.38-CUSTOM -g /boot/kernel-CUSTOM.img
    and you need to add menu entry in /boot/grub/menu.lst
    -k 2.6.38-CUSTOM should corespond to /lib/modules/2.6.38-CUSTOM (replace 2.6.38-CUSTOM with the name of your module directory, name depends on the kernel version and suffix that you gave in menuconfig). Regarding kernel configuration in menuconfig - I can't help you, you could use arch stock kernel config (zcat /proc/config.gz > /usr/src/linux-whatever/.config)
    I do these kind of things this way - maybe someone else have a more elegant solution.

Maybe you are looking for

  • Why is my iMac so slow?

    Do I need to reduce the number of applications working? Does it get slower when I charge my iPhone at the same time? It did not perform so slowly in the past. Sometimes it takes 15 seconds to bring up an application.

  • Ipod is not showing up on itunes.. HELP!!

    I recently downloaded the newest version of itunes because a pop up came up and indicated I should. So I did, but now when I plug in my ipod to the USB port, the ipod starts charging, but now the ipod icon sign is not showing up under "source" and I

  • Jagged edge around edge of graphic

    This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C69542.BF067750 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am creating an arrow with a transparent background, however, there i

  • Elements 11 Organizer Window off the top of the screen (OS Mavericks)

    Not sure how this happened, but the top of my Elements 11 Organizer screen is off of the top of my desktop screen (OS Mavericks).  I cannot resize or get to the minimize button to fix.  I am stuck only seeing the bottom of the Organizer Screen.  Does

  • I had to change my credit card information on my ipod and it will not let my security code save on my device?

    I had to change my credit card information on my ipod touch.  I put in the numbers for the card and for the security code, the card numbers saved but the security code numbers will not save?