Need help installing Manjaro i3 on Thinkpad P51

grub
ssd
installation

#1

i’m trying to install Manjaro i3 edition on Thinkpad P51 using USB drive. this is my first experience with Arch, so please be patient.
i previously had Ubuntu 16.04 installed along with Windows installation, no major issues there. i’m trying to install Manjaro on top of Ubuntu, using same partitions.
i’m having various issues:

  1. boot menu rendering takes 2 seconds, on each keystroke. i’m assuming it’s nvidia graphics.
  2. after i select “boot manjaro linux”, everything is super-tiny because of 4K screen. went through https://wiki.archlinux.org/index.php/Xorg#Display_size_and_DPI, xdpyinfo is not detecting my screen dimensions properly. solved by setting resolution to 1920x1080.
  3. running the calamares is ok, i select partitions ( /, /home and swap ) and proceed. i select ssd mbr as location of boot loader.
  4. after reboot, bios boot menu is still showing ubuntu and not manjaro.
  5. if i select ubuntu, it boots into grub console.
    in grub console when i try to ls partitions i created, i get “unknown filesystem”. i’m assuming it’s also why it can’t boot. this includes both nvme ssd and conventional hdd. i only tried installing on the former though.

any help is greatly appreciated.


#2

could you report
( from manjaro or Ubuntu )

inxi -Fxxx

and

sudo fdisk -l

#3

Same here on a X270 (Intel graphics), my workaround was to reduce colour depth to 8-bit, and maybe setting a lower resolution.
Edit the line GRUB_GFXMODE in /etc/default/grub and set it to e.g. 1280x1024x8.
Then run sudo update-grub and reboot.

For HiDPI and tiny fonts:
Set Xft.dpi: xxx in ~/.Xresources, xxx being the DPI of your choice.
If you’re using a display manager (not sure if that’s the case with pure i3) you’ll need to check the config as well for correct DPI. More info in the HiDPI article in ArchWiki.


#4
    [manjaro@manjaro-i3 ~]$ inxi -Fxxx
    System:    Host: manjaro-i3 Kernel: 4.9.50-1-MANJARO x86_64 bits: 64 gcc: 7.2.0
               Desktop: i3 4.14-non-git dm: lightdm Distro: Manjaro Linux
    Machine:   Device: laptop System: LENOVO product: 20HHCTO1WW v: ThinkPad P51 serial: N/A
               Mobo: LENOVO model: 20HHCTO1WW v: SDK0J40709 WIN serial: N/A
               UEFI [Legacy]: LENOVO v: N1UET37W (1.11 ) date: 07/24/2017
               Chassis: type: 10 serial: N/A
    Battery    BAT0: charge: 68.5 Wh 68.9% condition: 99.5/90.0 Wh (111%) volts: 11.8/11.2
               model: SMP 00NY493 Li-poly serial: 198 status: Discharging cycles: 3
    CPU:       Quad core Intel Core i7-7820HQ (-HT-MCP-) arch: Skylake rev.9 cache: 8192 KB
               flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 23240
               clock speeds: min/max: 800/3900 MHz 1: 1133 MHz 2: 899 MHz 3: 937 MHz 4: 899 MHz 5: 899 MHz
               6: 1591 MHz 7: 901 MHz 8: 1051 MHz
    Graphics:  Card-1: Intel Device 591b bus-ID: 00:02.0 chip-ID: 8086:591b
               Card-2: NVIDIA GM107GLM [Quadro M1200 Mobile] bus-ID: 01:00.0 chip-ID: 10de:13b6
               Display Server: x11 (X.Org 1.19.3 ) driver: intel Resolution: 1920x1080@60.00hz
               OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
               version: 4.5 Mesa 17.2.0 (compat-v: 3.0) Direct Render: Yes
    Audio:     Card Intel Device a171 driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:a171
               Sound: Advanced Linux Sound Architecture v: k4.9.50-1-MANJARO
    Network:   Card-1: Intel Ethernet Connection (5) I219-LM
               driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6 chip-ID: 8086:15e3
               IF: enp0s31f6 state: down mac: 54:e1:ad:89:91:72
               Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi bus-ID: 04:00.0 chip-ID: 8086:24fd
               IF: wlp4s0 state: up mac: f8:34:41:20:98:a6
    Drives:    HDD Total Size: 1027.7GB (4.0% used)
               ID-1: /dev/nvme0n1 model: SAMSUNG_MZVKW512HMJP size: 512.1GB
               serial: S35BNY0J504120 firmware: 6L6QCXA7
               ID-2: /dev/sda model: WDC_WD5000LPLX size: 500.1GB serial: WD-WXU1A77JXNFJ
               ID-3: USB /dev/sdb model: N/A size: 15.5GB serial: 0703597161F92D54-0:0
    Partition: ID-1: / size: 24G used: 236M (1%) fs: overlay dev: N/A
               ID-2: swap-1 size: 42.95GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p6
    Sensors:   System Temperatures: cpu: 40.0C mobo: N/A
               Fan Speeds (in rpm): cpu: 0
    Info:      Processes: 200 Uptime: 8 min Memory: 894.1/31655.0MB Init: systemd v: 234 Gcc sys: 7.2.0
               Client: Shell (bash 4.4.121 running in urxvtd) inxi: 2.3.38 

and

[manjaro@manjaro-i3 ~]$ sudo fdisk -l
Disk /dev/loop0: 61.9 MiB, 64835584 bytes, 126632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 239 MiB, 250560512 bytes, 489376 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 607.7 MiB, 637243392 bytes, 1244616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 400.6 MiB, 420073472 bytes, 820456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 sectors
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: gpt
Disk identifier: 4FCD2D85-8E59-4C8E-B17E-1055D4F04C31

Device             Start        End   Sectors   Size Type
/dev/nvme0n1p1      2048     534527    532480   260M EFI System
/dev/nvme0n1p2    534528     567295     32768    16M Microsoft reserved
/dev/nvme0n1p3    567296   92727295  92160000    44G Microsoft basic data
/dev/nvme0n1p4 998166528 1000214527   2048000  1000M Windows recovery environment
/dev/nvme0n1p5  92727296  176613375  83886080    40G Linux filesystem
/dev/nvme0n1p6 914280448  998166527  83886080    40G Linux swap
/dev/nvme0n1p7 176613376  914280447 737667072 351.8G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
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: F084E898-4753-4A59-BF88-B27D09884FD7

Device      Start       End   Sectors   Size Type
/dev/sda1    2048    264191    262144   128M Microsoft reserved
/dev/sda2  264192 976773119 976508928 465.7G Microsoft basic data


Disk /dev/sdb: 14.5 GiB, 15506341888 bytes, 30285824 sectors
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: 0x00000000

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 2795519 2795456  1.3G cd unknown
/dev/sdb2       2795520 2803711    8192    4M ef EFI (FAT-12/16/32)

#5

i believe that’s what it’s doing. it looks like it’s using 8bit colors and 320x240 resolution as fallback. and i can literally see it printing every character every time i move the selection bar.

i can’t update-grub and reboot until i install the system.

no effect. as i understand, it requires reboot, which i can’t do.


#6

Your system is uefi with nvme disk.

You cannot do this.
It must be in uefi and use the nvme fat32 partition as $esp mounted as /boot/efi (do not format!).
{therefore install media must be booted up in uefi and installed as uefi}

ps: after fixing it and if resulution is still a problem,
set gfxmode=1024x768x32


#7

can you direct me to a good manual on how to do that?


#8

https://wiki.manjaro.org/index.php?title=UEFI_-_Install_Guide

And select /dev/nvme0n1p1 as $esp with mount point /boot/efi