This repo generates a debian NetInst .iso
file for t460s.
- For installation: Access to internet via eth0 interface is needed.
- It creates a user
debian
with passwordinsecure
- User
root
has no password. Access to root viasudo su -
- 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. :-)
- 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
- Sleep / Suspend doesn't work on lid close -> Kernel Bug Tracker
- The easiest way to update UEFI BIOS, do it on windows. Download and flash the latest from here.
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
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
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]
- Config -> Keyboard/Mouse -> F1-F12 as Primary Function [Enabled]
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.
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
64-bit installer ISO images are available at GitHub in Releases section: https://github.com/micressor/lenovo-t460s/releases
-
Verify that ssd mountoption on btrfs filesystem at /home is set:
mount -t btrfs | grep ssd
Feel free to create issues and pull requests.
- This document is inspired by DebianOn -> t460s.
- partman-auto/expert_recipe findings
- wiki.debian.org: Preseed files
- Debian GNU/Linux – Installationsanleitung: Anhang B. Automatisieren der Installation mittels Voreinstellung
- ubuntuusers -> TRIM
- ubuntuusers -> BTRFS-Mountoptionen
- ubuntuusers -> TRIM mit Festplattenverschlüsselung
lenovo-t460s is free software, available under the GNU General Public License, Version 3.