Giter Site home page Giter Site logo

lenovo-t460s's Introduction

Installing Debian 8.6 on Lenovo Thinkpad t460s

Overall Status

This repo generates a debian NetInst .iso file for t460s.

  1. For installation: Access to internet via eth0 interface is needed.
  2. It creates a user debian with password insecure
  3. User roothas no password. Access to root via sudo su -
  4. It creates an encrypted LVM partitioning with
    • /boot type ext4 size 250 MiB
    • / type ext4`size 10 GiB
    • /home type btrfs size rest of space

Feel free to change thinks (see t460s.postinst and t460s.preseed) before you create the .iso.

WARNING: this is an almost fully automated installation. Once you boot from the USB media: !!! ALL EXISTING DATA ON THE DRIVE WILL BE LOST !!!

Last successful test was tag 0.1 with debian 8.6 (jessie).

Have you successful tested a later version of this repo? Open a issue and let me know. Thanks. :-)

Core Components

  • Boot Standard Kernel: 4.7
  • LAN network card: OK
  • Hibernation: OK with acpitool -s
  • Sleep / Suspend: OK with acpitool -S
  • Switch to External Screen: OK
  • Built-in (Trackpoint): OK
  • Built-in (Touchpad): OK
  • Wireless/Wifi: OK
  • Keyboard's Hotkeys: OK

Known issues

1. On Windows: Update UEFI BIOS

  1. The easiest way to update UEFI BIOS, do it on windows. Download and flash the latest from here.

2. Build debian netinst CD form this repo

apt-get update
apt-get install -y simple-cdd git xorriso
mkdir ~/src
git clone https://github.com/micressor/lenovo-t460s.git
cd lenovo-t460s
sudo build-simple-cdd --conf profiles/t460s.conf --dist jessie --force-root

3. Install .iso to usb media

Copy generated .iso file to your usb media device /dev/sdX:

dd if=images/debian-8.6-amd64-CD-1.iso of=/dev/sdX bs=1M
sync

4. Prepare UEFI BIOS

Configure your BIOS like this:

  • Restart -> Load Setup Defaults

  • Config -> USB -> USB UEFI BIOS Support [Enabled]

  • Security -> Secure Boot -> Secure Boot [Enabled]

  • Security -> Secure Boot -> Reset to Setup Mode -> [Enter]

This changes Platform Mode to Setup Mode and Secure Boot Mode to Custom Mode.

To get HDMI Port working:

  • Config -> Display -> Boot Display [Display on dock]

Optional

  • Config -> Keyboard/Mouse -> F1-F12 as Primary Function [Enabled]

5. Install from media

WARNING: this is an almost fully automated installation. Once you boot from the USB media: !!! ALL EXISTING DATA ON THE DRIVE WILL BE LOST !!!

Insert your usb media and boot your t460s with F12 option to select your media. Note: Not all usb media's (I use a SanDisk) are recognised.

The magic: What is necessary to get run t460s

In a nutshell (or check out t460s.postinst file):

  • firmware-iwlwifi (>=20160824-1) from testing
  • firmware-misc-nonfree (>=20160824-1) from testing
  • linux-image-amd64 (>=linux-image-4.7.0-0.bpo.a.amd64) from jessie-backports
  • xserver-xorg-video-intel (>=2:2.99.917+git201607) from jessie-backports

Binary releases

64-bit installer ISO images are available at GitHub in Releases section: https://github.com/micressor/lenovo-t460s/releases

Errata to the binary release

  1. Enable TRIM on encrypted disk

  2. Verify that ssd mountoption on btrfs filesystem at /home is set:

    mount -t btrfs | grep ssd

Contributing

Feel free to create issues and pull requests.

Links

License

lenovo-t460s is free software, available under the GNU General Public License, Version 3.

lenovo-t460s's People

Stargazers

jmz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.