Results 1 to 8 of 8

Thread: HOWTO: Install 10.04 on Thinkpad x201

  1. #1
    Join Date
    Oct 2008
    Beans
    10
    Distro
    Ubuntu 10.10 Maverick Meerkat

    HOWTO: Install 10.04 on Thinkpad x201

    Keywords
    thinkpad, x201, 10.04, lucid, blank screen, black screen, install, suspend, change brightness

    Summary
    As of August 2010, installing 10.04 on a ThinkPad x201 is non-trivial. The fixes have been worked out in many different forums, but I thought there might be value added in consolidating the process in one place. I'll try to present every step simply, since more experienced users probably don't need this HOWTO in the first place. If I miss any steps, or explain anything wrong, please let me know.

    Sources
    Much more detailed discussions of installation issues and fixes may be found elsewhere.


    1. Initial Installation
    Note: tested with 10.04 on amd64, not alternate installer or i386.
    Boot from usb startup disk (or whatever).
    When screen displays small keyboard/ubuntu icon, press escape to avoid it loading the gui with default graphics settings (which will lead to a black screen).
    Select language.
    Press F6, escape from popup menu, and edit Boot Options to include "xforcevesa i915.modeset=0" as follows:
    Code:
    Boot Options  noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- xforcevesa i915.modeset=0
    Press enter and you will load into the graphical installer environment.
    Install away.


    2. First Boot After Installing 10.04
    You'll still get a black screen if you try to boot straight away.
    Instead, hold down shift after the initial post screen to access the grub menu.
    I find this tricky on my x201: if you hold shift too early you'll get a stuck key error---too late and you'll have missed your chance.
    If you accidentally load into a blank screen, you can use the magic sysrq key to directly tell the kernel to somewhat safely reboot:
    Hold down alt while pressing, in sequence, Fn+PrtSc, s, u, b
    Once in the grub menu, highlight the kernel (right now I think it's 2.6.32-21-generic) and press "e" to edit boot options
    In boot options, replace "quiet splash" with "xforcevesa i915.modeset=0":
    Code:
     ... crashkernel=g38M-2G:64M,2G-:128M quiet splash
    becomes
    Code:
    ... crashkernel=g38M-2G:64M,2G-:128M xforcevesa i915.modeset=0
    Press Ctrl+x to boot with these options enabled.


    3. Deciding What to Do Next
    At this point 10.04 should have loaded in low graphics mode, and everything should be working reasonably. You have two options:
    [Easy] Stick with reduced graphics (startup and suspend should work after running update, but as of August 2010, you will not be able to change screen brightness).
    [Harder] Roll your own patched kernel to get full graphics support (startup, suspend, and screen brightness should all work).


    4.a [Easy] Stick with Reduced Graphics.
    Go ahead and do a full update
    Code:
    sudo aptitude update
    sudo aptitude safe-upgrade
    Edit /etc/default/grub (e.g. sudo vi /etc/default/grub) to make low graphics persistent:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    becomes
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xforcevesa i915.modeset=0"
    Then run the grub updater script.
    Code:
    sudo update-grub
    Go ahead and restart. You should now be able to boot and suspend without issue.


    4.b [Harder] Roll Patched Kernel
    A walkthrough for compiling the kernel is beyond this HOWTO, but many detailed guides are available
    The patch is attached.
    Originally posted https://bugs.launchpad.net/ubuntu/+s...ux/+bug/554569 (comments #40 and #47)
    You may not even need to compile yourself if you can find a patched binary for your architecture
    On first boot after installing patched kernel, you may need to reconfigure Xorg.
    With the patched kernel, startup, suspend, and brightness should work as expected.
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2007
    Location
    Chicago
    Beans
    128
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOWTO: Install 10.04 on Thinkpad x201

    I installed Ubuntu Lucid on my new X201 today (9/15/2010) using the GUI and the straight forward options. I had no problem whatsoever. The only things that were not set up correctly out of the box were:
    1. Screen rotation. It does rotate using the option on System/Preference/Monitor, but the wacom pointer does not reflect it. I fixed it using one of those scripts that can be found in several posts on these forums.
    2. Multitouch. I haven't really looked at this yet.

  3. #3
    Join Date
    Sep 2010
    Location
    Cali
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Install 10.04 on Thinkpad x201

    i got mine to work on lenovo x300 without any problems.

  4. #4
    Join Date
    Dec 2009
    Beans
    4

    Re: HOWTO: Install 10.04 on Thinkpad x201

    @ ssully:
    I have done all the steps you mentioned, except the patch file (thinkpadx201.diff.tar). Should I install it as well? If yes, then how?
    Installing the mentioned 64bit kernel and headers, still I got problems with brightness control and also suspend/wake up.

    Can you please help me to get around this problem? Rebooting my laptop many times a day is really annoying.
    Many thanks in advance.
    Belfi

  5. #5
    Join Date
    Oct 2008
    Beans
    10
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Install 10.04 on Thinkpad x201

    Quote Originally Posted by belfi117 View Post
    @ ssully:
    I have done all the steps you mentioned, except the patch file (thinkpadx201.diff.tar). Should I install it as well? If yes, then how?
    Installing the mentioned 64bit kernel and headers, still I got problems with brightness control and also suspend/wake up.
    The patch is used in rolling a custom kernel; some links to detailed HOWTO articles on compiling the kernel from source are provided in the original post. (You would apply the diff file to the source code before compiling.)

    At this point, though, your best bet is to skip 10.04 and just install 10.10 instead. All the relevant bugs appear to have been fixed.

  6. #6
    Join Date
    Dec 2009
    Beans
    4

    Re: HOWTO: Install 10.04 on Thinkpad x201

    Yes, upgrading to 10.10, removing xorg.conf and undoing changes (i915.modeset=0) to grub file worked for me.
    Now the problem is that sometimes after resume x-server restarts! I mean after resume I see a login page, after logging in none of the windows (which I left open before sleep) are open anymore and ubuntu login sound is being played. And I don't know how to reproduce this restart problem.

  7. #7
    Join Date
    Sep 2007
    Beans
    75

    Re: HOWTO: Install 10.04 on Thinkpad x201

    Hi belfill117, I'm having the same reboot or X restart issue as you. Did you figure out a solution or work around?

  8. #8
    Join Date
    Sep 2010
    Beans
    18

    Re: HOWTO: Install 10.04 on Thinkpad x201

    Quote Originally Posted by ssully View Post
    The patch is used in rolling a custom kernel; some links to detailed HOWTO articles on compiling the kernel from source are provided in the original post. (You would apply the diff file to the source code before compiling.)

    At this point, though, your best bet is to skip 10.04 and just install 10.10 instead. All the relevant bugs appear to have been fixed.
    Yes, 10.10 worked great for my X60s Thinkpad. Thanks for the tip. Saved me a LOT of work. Trying 12.04 just hung. Used both in a bootable USB to 'try UBUNTU'.</p><p>used this great video link as a help:</p>http://www.youtube.com/watch?v=o_02Ca5LJpg. Downloaded the 10.10 vrs from linux.softpedia.com. Note: Used vrs 11.x in UNetBootin, as vrs 10.10 was not listed. It worked fine.
    Last edited by DanPerecky; May 13th, 2013 at 12:06 AM.

Bookmarks

Posting Permissions

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