Cassini installation bootloader choice issue

I am attempting to install through the live USB and having issues at the bootloader choice screen. It will not let me to select Grub or make any choice from that screen. It just keeps the selection for systemd-boot without being able to deselect or choose another option. The screen also kind of gets stuck at partitioning without showing the list of partitions unless I minimize and reopen the screen or press a key. Those issues may be unrelated but just in case.

Here’s a log up to the point of me trying to choose different bootloader options: https://termbin.com/55rht

Hello @helix-helix
This is very strange. How did you create the live usb?

Edit:

2022-12-26 - 15:43:03 [6]: void CalamaresUtils::callQmlFunction(QQuickItem*, const char*)
    QML "onActivate()" is missing. 
2022-12-26 - 15:43:07 [6]: Grub
2022-12-26 - 15:43:07 [6]: systemd not used
2022-12-26 - 15:43:09 [6]: QML Component (default slideshow) Next slide
2022-12-26 - 15:43:25 [6]: no bootloader
2022-12-26 - 15:43:25 [6]: Grub not used
2022-12-26 - 15:43:29 [6]: Grub
2022-12-26 - 15:43:29 [6]: no btl not checked
2022-12-26 - 15:43:30 [6]: systemd-boot
2022-12-26 - 15:43:30 [6]: Grub not used
2022-12-26 - 15:43:39 [6]: QML Component (default slideshow) Next slide

The logs show you making changes to the bootloader selections.

Can you share inxi -Fxxxz

I used balena etcher to make the bootable usb.

So maybe if I just go through with it after selecting grub it can be fine…

System:
  Kernel: 6.0.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: Xfce v: 4.18.0 tk: Gtk v: 3.24.35 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 1 dm: LightDM v: 1.32.0 Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Framework product: Laptop (12th Gen Intel Core) v: A4
    serial: <superuser required>
  Mobo: Framework model: FRANMACP04 v: A4 serial: <superuser required>
    UEFI: INSYDE v: 03.05 date: 08/23/2022
Battery:
  ID-1: BAT1 charge: 54.0 Wh (100.0%) condition: 54.0/55.0 Wh (98.2%)
    volts: 17.6 min: 15.4 model: NVT Framewo type: Li-ion serial: <filter>
    status: discharging cycles: 1
CPU:
  Info: 12-core (4-mt/8-st) model: 12th Gen Intel Core i5-1240P bits: 64
    type: MST AMCP smt: enabled arch: Alder Lake rev: 3 cache: L1: 1.1 MiB
    L2: 9 MiB L3: 12 MiB
  Speed (MHz): avg: 1843 high: 2611 min/max: 400/4400:3300 cores: 1: 2507
    2: 1673 3: 2549 4: 1169 5: 2262 6: 2100 7: 2611 8: 2100 9: 1509 10: 1835
    11: 1598 12: 1949 13: 1465 14: 1462 15: 1411 16: 1293 bogomips: 67600
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
    arch: Gen-12.2 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
    bus-ID: 00:02.0 chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Realtek Laptop Camera type: USB driver: uvcvideo bus-ID: 3-7:2
    chip-ID: 0bda:5634 class-ID: 0e02 serial: <filter>
  Display: server: X.Org v: 21.1.5 compositor: xfwm v: 4.18.0 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa dri: i965
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2256x1504 s-dpi: 96 s-size: 596x397mm (23.46x15.63")
    s-diag: 716mm (28.19")
  Monitor-1: eDP-1 mapped: eDP1 model: BOE Display 0x095f res: 2256x1504
    hz: 60 dpi: 205 size: 280x190mm (11.02x7.48") diag: 343mm (13.5")
    modes: 2256x1504
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Graphics (ADL GT2)
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51c8 class-ID: 0403
  Sound API: ALSA v: k6.0.12-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: speed: 5 GT/s lanes: 1 bus-ID: a6:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:4 chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 585.27 GiB used: 0 KiB (0.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 500GB
    size: 465.76 GiB speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 731100WD temp: 33.9 C scheme: GPT
  ID-2: /dev/sda type: USB vendor: Samsung model: Type-C size: 119.51 GiB
    type: N/A serial: <filter> rev: 1100 scheme: MBR
Partition:
  ID-1: / size: 10 GiB used: 133.3 MiB (1.3%) fs: overlay source: ERR-102
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 318 Uptime: 24m wakeups: 2099 Memory: 15.34 GiB
  used: 2.68 GiB (17.5%) Init: systemd v: 252 default: multi-user Compilers:
  gcc: 12.2.0 Packages: pm: pacman pkgs: 890 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.24

I think these specific issues might be related to the intel graphics in my Framework laptop and not playing well with drivers or the kernel right now. There is some talk on the Framework forums for arch-based distro issues around that and I think some with Fedora too at least.

I did get it installed and running, just some continued window freezing issues that don’t update until they are resized in some way.

Try removing the package xf86-video-intel and rebooting

Are you getting screen flickering?

Edit: You could try the following kernel parameter

i915.enable_psr=0

Hello,

I am getting the same error, I do also have intel Graphics. I did managed to pass the bootloader selector and proceed foward with the install, upon confirming I get back to the bootloader selector and 2 minutes after I get this:

<div><strong>&lt;class 'TypeError'&gt;</strong></div><div>'NoneType' object is not iterable</div><div><br/>Traceback:</div><div><pre>File &quot;/usr/lib/calamares/modules/eos_bootloader/main.py&quot;, line 130, in run
    package_files = get_local_packages(packages)

  File &quot;/usr/lib/calamares/modules/eos_bootloader/main.py&quot;, line 51, in get_local_packages
    for package in packages:</pre></div>

I took a look at calamares’s source code, the one forked by the endeavouros team. A TypeError exception was thrown inside main.py at line 51.

The exception was thrown because an attempt was made to iterate through a non-iterable object. In fact, the variable packages (which is supposed to refer to an iterable object) is equal to None (hence the error message telling you that NoneType is not an iterable). Scrolling up to look at the top of the get_local_packages() function, we can see that packages is actually the parameter of the function. This means that the caller of get_local_package() somehow passed None into get_local_package() as an argument. The next step, therefore, is to track down where get_local_packages() is called.

It turns out that the function was called in the run() function in line 130

The packages variable was initialized to None. It is expected to be reassigned to something else inside this for loop:

for bootloader in bootloaders:
        try:
            if bootloader["name"].casefold() == bootloader_name.casefold():
                packages = bootloader["packages"]
        except KeyError:
            return f"Configuration error", f"Missing key 'name' in configuration"

The problem is likely caused by the if condition inside the for loop. For some reason, none of the bootloader names matched; that’s why packages never got reassigned and remained as None.

And now we look at these few lines:

I’m not the author of calamares, so I can only guess what’s going on here. The bootloader_name variable probably corresponds to the bootloader you (the user) has selected from the selection menu. bootloaders is a list (iterable) of all the bootloaders that are available for installation.

The fact that packages failed to be reassigned inside the for loop means that somehow, the name of the bootloader you selected matches none of the names of the available bootloaders.

Conclusion: There is probably something wrong with your bootloader selection. Since you were given a selection menu, the only way things could go wrong is if you forgot to make a selection.

That probably means you selected nothing at all on the bootloader screen.

I will put that on the list of things to fix for the next version.

I forgot to add, but the boot loader selection menu also don’t allow any changes, I cannot choose any other option other than Systemd.boot

Yeah, it is changing. It seems there is some display driver issue causing it not to be shown on the screen.

Can we assume that’s the kernel issue with intel graphics?

I suspect it is xf86-video-intel causing the issue. If so, we will need to come up with some kind of solution.

Which Intel graphics do you have?

Intel Iris XE, I have mint on this machine and runs perfectly, no issues whatsoever

Hard to say what the issue is why it’s not booting on your hardware. Could you post your hardware with code tags.

inxi -Faz 

I had a similar issue installing the latest cassini on a Dell XPS 9720 laptop - similar 12th gen Intel, both nVidia and Iris Xe graphics, although I had tried booting via proprietary and open drivers from livecd boot menu. Similar issue where I was in a froze state at the bootloader selection window and it would not progress to partitioning.

I was able to eventually work around it and get a completed, successfully booting installation by adding nouveau.modeset=0 ibt=off i915.enable_psr=0 on the livecd boot options. This allowed the bootloader screen to progress, although I still had to minimize/unminimize it initially for it to refresh.

^shrug^

Other arch and ububu based installs have been fine overall.

It was probably i915.enable_psr=0 re: Iris Xe graphics. :man_shrugging:

2 Likes

My system info

System:
  Kernel: 6.0.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: initrd=\arch\boot\intel-ucode.img
    initrd=\arch\boot\amd-ucode.img
    initrd=\arch\boot\x86_64\initramfs-linux.img archisobasedir=arch
    archisolabel=EOS_202212 cow_spacesize=10G copytoram=n
    module_blacklist=nvidia,nvidia_modeset,nvidia_uvm,nvidia_drm,pcspkr
    nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nvme_load=yes
  Desktop: Xfce v: 4.18.0 tk: Gtk v: 3.24.35 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 1 dm: LightDM v: 1.32.0 Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LG product: 16Z90Q-G.AP76P v: 0.1
    serial: <superuser required> Chassis: type: 10 v: 0.1
    serial: <superuser required>
  Mobo: LG model: 16Z90Q v: FAB1 serial: <superuser required> UEFI: Phoenix
    v: A1ZG0395 X64 date: 08/17/2022
Battery:
  ID-1: CMB0 charge: 20.2 Wh (25.2%) condition: 80.0/80.0 Wh (100.0%)
    volts: 7.3 min: 7.7 model: LG LGES-LG type: Li-ion serial: <filter>
    status: discharging cycles: 6
CPU:
  Info: model: 12th Gen Intel Core i7-1260P bits: 64 type: MST AMCP
    arch: Alder Lake level: v3 note: check built: 2021+
    process: Intel 7 (10nm ESF) family: 6 model-id: 0x9A (154) stepping: 3
    microcode: 0x424
  Topology: cpus: 1x cores: 12 mt: 4 tpc: 2 st: 8 threads: 16 smt: enabled
    cache: L1: 1.1 MiB desc: d-8x32 KiB, 4x48 KiB; i-4x32 KiB, 8x64 KiB
    L2: 9 MiB desc: 4x1.2 MiB, 2x2 MiB L3: 18 MiB desc: 1x18 MiB
  Speed (MHz): avg: 2094 high: 2500 min/max: 400/4700:3400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 688 2: 531 3: 2500
    4: 2500 5: 960 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500
    13: 2500 14: 1330 15: 2500 16: 2500 bogomips: 79888
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: LG driver: i915
    v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports:
    active: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:46a6
    class-ID: 0300
  Device-2: Luxvisions Innotech LGE Camera type: USB driver: uvcvideo
    bus-ID: 3-2:2 chip-ID: 30c9:0084 class-ID: 0e02 serial: <filter>
  Display: server: X.Org v: 21.1.5 compositor: xfwm v: 4.18.0 driver: X:
    loaded: intel unloaded: modesetting alternate: fbdev,vesa dri: i965
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 mapped: eDP1 model: LG Display 0x06eb built: 2021
    res: 2560x1600 hz: 60 dpi: 191 gamma: 1.2 size: 340x220mm (13.39x8.66")
    diag: 406mm (16") ratio: 16:10 modes: 2560x1600
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Graphics (ADL GT2)
    direct render: Yes
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: LG
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Sound API: ALSA v: k6.0.12-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    modules: wl bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:3
    chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 505.81 GiB used: 0 KiB (0.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVL2512HCJQ-00B00 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: GXA7601Q temp: 27.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Kingston
    model: DT microDuo 3.0 size: 28.88 GiB block-size: physical: 512 B
    logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: N/A size: 10 GiB used: 43.8 MiB (0.4%) fs: overlay
    source: ERR-102
Swap:
  Alert: No swap data was found.
Sensors:
  Src: /sys System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 336 Uptime: 3m wakeups: 295 Memory: 15.35 GiB
  used: 1.94 GiB (12.6%) Init: systemd v: 252 default: multi-user
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 890
  libs: 216 tools: yay Shell: Bash v: 5.1.16 running-in: xfce4-terminal
  inxi: 3.3.24