--- Installation of LinuxMINT on a LENOVO laptop--- PART-01

in #linux2 months ago (edited)

PART-00

I'm now trying to do some test installs. This laptop model is equipped with 2 hard drives, a 256gb solid state one [SSD] and a 1tb traditional one [HDD]. As first approach I've targeted the install to the SSD one with full success. All seems works flawless. I just notice maybe to much fan noise such as the processors was crunching some heavy duty tasks or something like. If this will persist I would investigate on that issue.

-- 07 Aug 2020 Update --

Done some software/repositories updates, installed the nVidia proprietary drivers and some desktop/layout customizations such as the installation of some applets on panel and desklets on desktop. As soon as possible I will publish some screenshot. No more problem with the fan noise and the checked cpu temperature stays (almost) always between 55° and 60° while 100° is reported as critic.

-- 08 Aug 2020 Update --

SOME HARD DRIVES INSPECTIONS
Here below the result of the # df -l command:

Disk /dev/nvme0n1: 238,49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: HFM256GDHTNG-8310A                      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: [...omiss...]
   
Device         Boot   Start       End   Sectors  Size Id Type
/dev/nvme0n1p1 *       2048   1050623   1048576  512M  b W95 FAT32
/dev/nvme0n1p2      1052670 500117503 499064834  238G  5 Extended
/dev/nvme0n1p5      1052672 500117503 499064832  238G 83 Linux


Disk /dev/sda: 931,53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-24Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: [...omiss...]

Device     Start        End    Sectors   Size Type
/dev/sda1     34      32767      32734    16M Microsoft reserved
/dev/sda2  32768 1953523711 1953490944 931,5G Microsoft basic data

It can be seen that the SSD is reported as /dev/nvme0n1. It can be seen also that the default/standard LinuxMINT installer targeted to the SSD drive doesn't have made a raw brute-force formatting of the entire SSD drive, keeping instead safe and intact the first (boot sectors and) partition /dev/nvme0n1p1. Another (strange) thing to notice is the completely missing of a swap partition. As a long-term linux user/installer I have to say that this is the first time that I can install a linux distro in the total missing of a dedicated physical swap partition 😱   What happening behind the scenes? Maybe something such as a virtual/ram partition? As always I will investigate! :)

HDD is reported as /dev/sda. It is double partitioned with sda1 containing some Microsoft reserved mess ≥⁰,⁰≤   My plan is to re-format the entire 1tb sda on a multipartioned scheme such as this one. So I will getting rid off all the Microsoft garbage ad I will have avaible some free partitions for the installation of (multiple) alternative Linux distros such as maybe Ubuntu Debian and so on and keeping the most huge sda10 one for storing files purpose only.

-- 14 Aug 2020 Update --

I really doesn't like this weird (default) setup according who is mandatory to press the [Fn] key to to access the function keys so I've disabled it this way: BIOS --> Configuration tab --> Hotkey Mode [disabled].

Experiencing a very annoying issue with the wifi connection that it's really pissing me off 😡  First time I just pushed the fast (connection) key on the modem and all went well. From the 2nd time (and day) the modem connection key simply doesn't works and the typing password mode doesn't works also. So now I'm still going online by usb tethering from my tablet.

Installed QTerminal and Guake terminals, ClipIt clipboard manager, Imagemagick and Gimp images manipulation software, Google-Chrome browser, Vim text editor.

I've noticed that the apt command doesn't autocomplete so I'm gone on /etc/bash.bashrc and commented out the follow piece of code:

#if ! shopt -oq posix; then
#  if [ -f /usr/share/bash-completion/bash_completion ]; then
#    . /usr/share/bash-completion/bash_completion
#  elif [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#  fi
#fi

Discovered a great bash command to obtain a quick snapshot of many system hardware/software details inixi -Fxz
test.png

/etc/vim/vimrc

" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by
" the call to :runtime you can find below.  If you wish to change any of those
" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim
" will be overwritten everytime an upgrade of the vim packages is performed.
" It is recommended to make changes after sourcing debian.vim since it alters
" the value of the 'compatible' option.

runtime! debian.vim

" Vim will load $VIMRUNTIME/defaults.vim if the user does not have a vimrc.
" This happens after /etc/vim/vimrc(.local) are loaded, so it will override
" any settings in these files.
" If you don't want that to happen, uncomment the below line to prevent
" defaults.vim from being loaded.
" let g:skip_defaults_vim = 1

" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'.  Setting 'compatible' changes numerous
" options, so any other options should be set AFTER setting 'compatible'.
"set compatible

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
if has("syntax")
  syntax on
endif

" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
set background=dark

" Uncomment the following to have Vim jump to the last position when
" reopening a file
"au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif

" Uncomment the following to have Vim load indentation rules and plugins
" according to the detected filetype.
"filetype plugin indent on

" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
set tabstop=4
set softtabstop=4
set laststatus=2
set showcmd         " Show (partial) command in status line.
"set showmatch      " Show matching brackets.
set ignorecase      " Do case insensitive matching
"set smartcase      " Do smart case matching
set incsearch       " Incremental search
set hlsearch
"set autowrite      " Automatically save before commands like :next and :make
"set hidden         " Hide buffers when they are abandoned
"set mouse=a        " Enable mouse usage (all modes)

" Personals L340
noremap <space> :nohl<CR>
let html_number_lines = 0

" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
  source /etc/vim/vimrc.local
endif



COMPLETE EXTRA SOFTWARE LIST
QTerminal, Guake, ClipIt, Imagemagick, Gimp, Google-Chrome, Vim.