Toshiba Satellite Z30-B-10W - Debian - 2018 archive

back to main Debian page for this machine.

2018 archive.

2018-10-16: sda6 - apt - install xscreensaver

tingo@z30b:~$ sudo apt install xscreensaver
[..]
The following NEW packages will be installed:
  gconf2 gnome-mime-data libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libglade2-0 libgnome-2-0 libgnome2-common
  libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libjpeg-turbo-progs
  liborbit-2-0 libturbojpeg0 psmisc xscreensaver xscreensaver-data
0 upgraded, 22 newly installed, 0 to remove and 1 not upgraded.
Need to get 7,656 kB of archives.
After this operation, 34.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
[..]
Processing triggers for libc-bin (2.24-11+deb9u3) ...

ok

2018-10-16: sda6 - apt - install acpi

tingo@z30b:~$ sudo apt install acpi
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  acpi
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 16.6 kB of archives.
After this operation, 47.1 kB of additional disk space will be used.
Get:1 http://ftp.no.debian.org/debian stretch/main amd64 acpi amd64 1.7-1+b1 [16.6 kB]
Fetched 16.6 kB in 5s (3,229 B/s)  
Selecting previously unselected package acpi.
(Reading database ... 105714 files and directories currently installed.)
Preparing to unpack .../acpi_1.7-1+b1_amd64.deb ...
Unpacking acpi (1.7-1+b1) ...
Setting up acpi (1.7-1+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...

ok.

2018-10-16: sda6 - apt - install KiCad from stretch-backports:

tingo@z30b:~$ sudo apt -t stretch-backports install kicad
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  kicad-demos kicad-footprints kicad-libraries kicad-symbols kicad-templates libcurl3 libfreeimage3 libgl2ps1 liboce-foundation10 liboce-modeling10
  liboce-ocaf-lite10 liboce-ocaf10 liboce-visualization10 libwxbase3.0-0v5 libwxgtk3.0-0v5 python-wxgtk3.0 python-wxversion xsltproc
Suggested packages:
  extra-xdg-menus kicad-doc-ca | kicad-doc-de | kicad-doc-en | kicad-doc-es | kicad-doc-fr | kicad-doc-id | kicad-doc-it | kicad-doc-ja
  | kicad-doc-nl | kicad-doc-pl | kicad-doc-ru | kicad-doc-zh kicad-packages3d wx3.0-doc
The following NEW packages will be installed:
  kicad kicad-demos kicad-footprints kicad-libraries kicad-symbols kicad-templates libcurl3 libfreeimage3 libgl2ps1 liboce-foundation10
  liboce-modeling10 liboce-ocaf-lite10 liboce-ocaf10 liboce-visualization10 libwxbase3.0-0v5 libwxgtk3.0-0v5 python-wxgtk3.0 python-wxversion
  xsltproc
0 upgraded, 19 newly installed, 0 to remove and 116 not upgraded.
Need to get 55.3 MB of archives.
After this operation, 314 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
[..]
update-alternatives: using /usr/lib/wx/python/wx3.0.pth to provide /usr/lib/wx/python/wx.pth (wx.pth) in auto mode
Setting up kicad (5.0.0+dfsg1-2~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...

ok - now I have KiCad 5.0.0 here.

2018-10-16: sda6 - apt - add stretch-backports, per instructions:

tingo@z30b:~$ cat /etc/apt/sources.list.d/stretch-backports.list
deb http://ftp.no.debian.org/debian stretch-backports main

then run 'apt update'.

2018-10-15:sda6 - Debian 9.5 is now installed:

tingo@z30b:~$ cat /etc/debian_version
9.5
tingo@z30b:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 9.5 (stretch)
Release:    9.5
Codename:    stretch

kernel

tingo@z30b:~$ uname -a
Linux z30b 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux

ok.

2018-10-15:sda6 - started the installer, and installed Debian 9.5. I had to twiddle a bit with the installer, at first it would like to use my Fedora swap LV for swapping in Debian as well. Fixed that. After the install, the machine booted straight into Debian's grub. I used efibootmgr to fix the bootorder, now we're back to rEFInd again. wireless - I enabled non-free (and contrib) repositories in /etc/apt/souces.list and installed the firmware-iwlwifi package, a reboot the the wireless network works. Good.

2018-10-15: because I couldn't convince the Debian installer (before my patience ran out) to create an extra PV, VG and LVs for Debian, I cheated and used Fedora. First I created a physical partition /dev/sda6 with gparted. It look like this in parted

[tingo@localhost ~]$ sudo parted /dev/sda print
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      20.5kB  105MB   105MB   fat16        EFI System Partition  boot, esp
 2      105MB   64.5GB  64.4GB
 3      64.5GB  68.8GB  4295MB
 4      68.8GB  69.3GB  524MB   ext4
 5      69.3GB  142GB   72.8GB                                     lvm
 6      142GB   200GB   58.0GB                                     lvm

Next up pvcreate

[tingo@localhost ~]$ sudo pvcreate /dev/sda6
  Physical volume "/dev/sda6" successfully created.

doesn't look like anything changed (but it probably didn't hurt)

[tingo@localhost ~]$ sudo pvs
  PV         VG     Fmt  Attr PSize   PFree 
  /dev/sda5  fedora lvm2 a--  <67.82g  4.00m
  /dev/sda6         lvm2 ---   54.00g 54.00g

vgcreate

[tingo@localhost ~]$ sudo vgcreate debian /dev/sda6
  Volume group "debian" successfully created

how many VGs?

[tingo@localhost ~]$ sudo vgs
  VG     #PV #LV #SN Attr   VSize   VFree  
  debian   1   0   0 wz--n- <54.00g <54.00g
  fedora   1   2   0 wz--n- <67.82g   4.00m

good. Now, LVs

root LV

[tingo@localhost ~]$ sudo lvcreate --name d_root --size 50g debian
  Logical volume "d_root" created.

swap LV

[tingo@localhost ~]$ sudo lvcreate --name d_swap --size 4g debian
  Volume group "debian" has insufficient free space (1023 extents): 1024 required.

ok, by extents then

[tingo@localhost ~]$ sudo lvcreate --name d_swap --extents 1023 debian
  Logical volume "d_swap" created.

how does it look?

[tingo@localhost ~]$ sudo lvs
  LV     VG     Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  d_root debian -wi-a----- 50.00g                                                    
  d_swap debian -wi-a----- <4.00g                                                    
  root   fedora -wi-ao---- 60.00g                                                    
  swap   fedora -wi-ao----  7.81g                                                    

looks good.

2018-10-15: I booted Debian 9.5.0 live off a usb stick. Discovery: wireless doesn't work. Probably non-free drivers. connected an Ethernet cable, installed 'lshw' and tested:

user@debian:~$ sudo lshw -class network -short
H/W path                 Device     Class          Description
==============================================================
/0/100/19                enp0s25    network        Ethernet Connection (3) I218-V
/0/100/1c.2/0                       network        Wireless 3160

ok, so I need drivers for Wireless 3160. That is the iwlwifi package. and firmware-iwlwifi as well. You need to enable the non-free repository.