Page 1 of 2

installing MX on Lenovo - Boot

Posted: Sun Oct 23, 2022 3:23 pm
by hkjz
Hello,

i want to install MX on lenovo carbon 6, as a self standing and only OS.

after going through the process of installing and making the first reboot, system does not load
/root is encrypted

in BIOS is chosen UEFI

what i should do better?
thanks

Code: Select all

System:    Kernel: 5.10.0-18-amd64 [5.10.140-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/antiX/vmlinuz quiet splasht nosplash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.2.1_x64 Wildflower September 18  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: LENOVO product: 20KGS49T0K v: ThinkPad X1 Carbon 6th 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20KGS49T0K v: SDK0J40697 WIN serial: <filter> UEFI: LENOVO 
           v: N23ET81P (1.56 ) date: 05/25/2022 
Battery:   ID-1: BAT0 charge: 37.4 Wh (73.0%) condition: 51.2/57.0 Wh (89.8%) volts: 11.7 
           min: 11.6 model: LGC 01AV494 type: Li-poly serial: <filter> status: Discharging 
           cycles: 174 
CPU:       Info: Quad Core model: Intel Core i7-8650U bits: 64 type: MT MCP arch: Kaby Lake 
           note: check family: 6 model-id: 8E (142) stepping: A (10) microcode: F0 cache: 
           L2: 8 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33599 
           Speed: 800 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
           5: 800 6: 800 7: 800 8: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable 
           Type: retbleed mitigation: IBRS 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:5917 class-ID: 0300 
           Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:3 
           chip-ID: 04f2:b61e class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") 
           s-diag: 777mm (30.6") 
           Monitor-1: eDP-1 res: 2560x1440 hz: 60 dpi: 210 size: 309x174mm (12.2x6.9") 
           diag: 355mm (14") 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.5 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel 
           v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-18-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel port: efa0 
           bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel modules: wl port: efa0 
           bus-ID: 02:00.0 chip-ID: 8086:24fd class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
           bus-ID: 1-7:2 chip-ID: 8087:0a2b class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 
           sub-v: 100 hci-v: 4.2 rev: 100 
           Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 505.77 GiB used: 1.74 GiB (0.3%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HAJQ-000L7 
           size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: 5L2QEXA7 temp: 32.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Kingston model: DataTraveler 3.0 
           size: 28.83 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> 
           rev: 1100 scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p3 maj-min: 259:3 
Sensors:   System Temperatures: cpu: 40.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     Packages: note: see --pkg apt: 1952 lib: 979 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
Info:      Processes: 262 Uptime: 3m wakeups: 520 Memory: 15.39 GiB used: 2.01 GiB (13.1%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: UEFI
SecureBoot enabled

Re: installing MX on Lenovo - Boot

Posted: Sun Oct 23, 2022 4:49 pm
by Huckleberry Finn
Boot Mode: UEFI
SecureBoot enabled

Re: installing MX on Lenovo - Boot

Posted: Sun Oct 23, 2022 5:26 pm
by hkjz

Re: installing MX on Lenovo - Boot

Posted: Sun Oct 23, 2022 5:42 pm
by Huckleberry Finn
You have an ESP (EFI) partition (fat32) with both flags boot and esp , right?

... And installed Grub on ESP ...

Re: installing MX on Lenovo - Boot

Posted: Mon Oct 24, 2022 4:52 am
by hkjz
Hey,
problem still remains,

your answer gave me something to think thought.
i've redone the Gparted, add labels,
i've redone the custom installation
but even if i am doing the default installation, i cannot log in to the system

any hints?

https://i.postimg.cc/XqPDwgQN/1.jpg
https://i.postimg.cc/zXLQq9Gy/2.jpg



Moderator: images changed to link, please read the rules.

Re: installing MX on Lenovo - Boot

Posted: Mon Oct 24, 2022 5:47 am
by Huckleberry Finn
I can see none of the images (though postimg doesn't seem to be blocked by adblocker ..)...

Re: installing MX on Lenovo - Boot

Posted: Mon Oct 24, 2022 6:33 am
by old_guy
Huckleberry Finn said:
You have an ESP (EFI) partition (fat32) with both flags boot and esp , right?
Your picture looks like the ESP (EFI) partition is ext4 - should be fat32.
Earl

Re: installing MX on Lenovo - Boot

Posted: Mon Oct 24, 2022 6:45 am
by dolphin_oracle
Looks to me like the system was installed for mbr boot. There is no esp partition.

The boot partition looks ok. It’s necesssary for the encryption and is by default formatted ext4.

If the live media was booted in uefi mode the auto installer should have made an esp partition as well as a boot partition.

Re: installing MX on Lenovo - Boot

Posted: Mon Oct 24, 2022 6:56 am
by hkjz
Actually it was fat32 when i started,
most probably during installation process, program redone it to ext4.

@Huckleberry Finn
moderator exchanged the pictures to the links to the pictures, i hope you can see that.

setting up the drives, part of the installer
https://i.postimg.cc/LhK3Kc5p/3.jpg
GRUB, part of the installer
https://i.postimg.cc/mkFynLbj/4.jpg

Re: installing MX on Lenovo - Boot

Posted: Mon Oct 24, 2022 7:39 am
by dolphin_oracle
like I suspected, your PC is set to UEFI only, but you are installing grub to the mbr. That's not going to work. You need to either enable legacy bios booting on your PC, or create a valid ESP partition and install grub to the ESP.