Lenovo Thinkpad X61t i Gentoo
Lenovo Thinkpad X serija računara napravljena je da bude što manja i kopaktnija a da pri tome obezbedi komforan i kvalitetan rad sa što dužim radom baterije.
Lenovo Thinkpad X61t model 7763-CTO
Specifikacija sistema:
- Intel Core 2 Duo (Merom) L7500 (4MB L2 Cache / 2x 1,6 GHz/ 800MHz FSB / 64-bit / 17 Watt)
- Intel Graphics Media Accelerator X3100
- 4096MB DDR II SDRAM 667MHz PC2-5300 ( max 8GB)
- 12,1" SXGA TFT Display (1400x1050) Penabled Wacom Tablet PC TFT Aktivmatrix
- OCZ Agility 3 AGT3-25SAT3 SSD 120GB
- Intel HD Audio with AD1984 codec
- Intel Gigabit Ethernet (10/100/1000) PCI-Express
- Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter / Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter
- Wacom Serial Tablet PC Stylus
- Ricoh R5C843 Controller sa sledećim funkcijama:
- SD Card slot with IO support
- CardBus slot (Type 2)
- Firewire 400 (IEEE1394a)
Cilj:
- Pečovanje BIOS-a kako bi se aktivirao SATA 2 mod i mogla koristiti brzina SSD-a.
- Instalacija 64-bitnog Gentoo Linux na SSD
- ext4
- Kriptovanje diska (Full Disk Encryption) i startovanje preko USB ključa
Pečovanje BIOS-a kako bi se aktivirao SATA 2 mod i mogla koristiti brzina SSD-a
Većina ljudi ima malo starije računare na koje bi rado stavila nove Solid State Diskove i time osvežila brzinu rada svojih ljubimaca. To naravno nije moguće zbog "uštojenog" bios-a.
Obrazloženje firme Lenovo zašto je sata kontroler "uštrojen" pročitajte na forums.lenovo.com. Na mnogobrojne zahteve i molbe Lenovo nikada nije htelo da objavi bios sa punom brzinom sata kontrolera.
Na forumu notebookreview.com grupa ljudi sela je i odradila posao. Sa njihovog foruma direktno možete da skinete bios verziju za vaš računar i da odradite update bios-a posle koje nećete moći da prepoznate vaš računar.
Instalacija
Instalacija systemrescuecd-a na usb kljuc
Vec na samom pocetu problem. Gentoo minimal cd ne podrzava btrfs, ali ga zato podrzava systemrescuecd. Odlucio sam da instalaciju pokrenem sa usb kljuca. Sve sto je potrebno da bi systemrescuecd instalirani na usb kljuc je sledece:
Ustekati usb kljuc u racunar.
Napraviti pomocni dir
tortuga # mkdir -p /tmp/cdrom
montirati iso fajl u /tmp/cdrom
tortuga # mount -o loop,exec /home/milobit/systemrescuecd-x86-2.4.0.iso /tmp/cdrom
Uci u /tmp/cdrom
tortuga # cd tmp/cdrom
I pokrenuti instalaciju
tortuga # ./usb_inst.sh
Instalacija Gentoo-a preko systemrescuecd-a
Posle butovanja standardno amd64 sistema da vidimo kakva je situacija sa ssd-om. Da li je pec bios-a u redu
root@sysresccd /root % hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 3402 MB in 1.99 seconds = 1705.96 MB/sec
Timing buffered disk reads: 604 MB in 3.01 seconds = 200.70 MB/sec
root@sysresccd /root %
Radi! ;o)
lspci
root@sysresccd /root % lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Memory controller: Intel Corporation Turbo Memory Controller (rev 01)
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
05:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
05:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
05:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
root@sysresccd /root %
root@sysresccd /root % modprobe aes_x86_64
root@sysresccd /root % modprobe aes_generic
root@sysresccd /root % cryptsetup luksFormat -c aes-xts-plain -s 256 -y /dev/sda
WARNING!
========
This will overwrite data on /dev/sda irrevocably.
Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
root@sysresccd /root %
root@sysresccd /root % hexdump -n 256 -C /dev/sda
00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00 00 00 00 |LUKS....aes.....|
root@sysresccd /root %
root@sysresccd /root % cryptsetup luksOpen /dev/sda luks
Enter passphrase for /dev/sda:
root@sysresccd /root %
root@sysresccd /boot % mkfs.btrfs /dev/sda1
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using
error checking /dev/lvm/root mount status
root@sysresccd /boot %
http://paste.lugons.org/show/hbvW5XRI9PE9ZBQHKaml/
root@sysresccd /boot % touch /boot/sysrcd.dat
root@sysresccd /root % mkfs.btrfs /dev/sda1
WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL
WARNING! - see http://btrfs.wiki.kernel.org before using
fs created label (null) on /dev/sda1
nodesize 4096 leafsize 4096 sectorsize 4096 size 111.79GB
Btrfs Btrfs v0.19
root@sysresccd /root %
Artikelaktionen