Trouble installing from live usb

My issue has been posted before, and I have followed trouble shooting on those other threads, however those solutions either don't work for me or come back with an error. When my installation attempt is almost done I get the error

grub-install --target=i386-pc --recheck --force /dev/sda
returned error code 1

I'm using a 2012 MacBook Pro (old I know, and can't be expected to be supported across all distros)

I've tried to install other distros and have had mixed results. Endeavour OS had the same error, while Ubuntu, Debian XFCE, Manjaro GNOME, and Pop OS work fine.
I'm moderate novice at the command line, so I have never used chroot or know off hand how to diagnose this issue, but I'm an eager learner so if anyone can lend a hand I'd appreciate it.
Garuda is my favorite distro and had it installed just a few weeks ago, not sure what changed.
Thank you in advance.

Please boot into the live environment, log in to the forum, and paste into the thread the output of garuda-inxi so we can have a look.

3 Likes

There is a recurring issue with the efibootmgr provided by Arch based distros, called at grub installation time, occurring with some macbook models.
A possible solution (workaround) was found here and , if I remember correctly, confirmed in other topics.

2 Likes

I tried this method and I received an error when putting

 sudo apt install efibootmgr
 ╭─garuda@garuda in ~ as 🧙 
 ╰─λ garuda-inxi
System:
  Kernel: 6.0.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=garuda misolabel=GARUDA_GNOME_TALON quiet
    systemd.show_status=1 ibt=off driver=free nouveau.modeset=1
    i915.modeset=1 radeon.modeset=1
  Desktop: GNOME v: 42.5 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookPro9,1 v: 1.0
    serial: <superuser required> Chassis: type: 10 v: Mac-4B7AC7E43945597E
    serial: <superuser required>
  Mobo: Apple model: Mac-4B7AC7E43945597E v: MacBookPro9,1
    serial: <superuser required> UEFI: Apple v: 426.0.0.0.0 date: 01/18/2022
Battery:
  ID-1: BAT0 charge: 22.5 Wh (100.0%) condition: 22.5/76.3 Wh (29.5%)
    volts: 12.2 min: 10.9 model: ifixit bq20z451 type: Li-ion serial: N/A
    status: full cycles: 84
CPU:
  Info: model: Intel Core i7-3615QM bits: 64 type: MT MCP arch: Ivy Bridge
    gen: core 3 level: v2 built: 2012-15 process: Intel 22nm family: 6
    model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1462 high: 3300 min/max: 1200/3300 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 3300 2: 1200 3: 1200
    4: 1200 5: 1200 6: 1197 7: 1200 8: 1200 bogomips: 36719
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 status: Unknown: No mitigations
  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: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Apple driver: i915
    v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports:
    active: LVDS-2 empty: VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0166
    class-ID: 0300
  Device-2: NVIDIA GK107M [GeForce GT 650M Mac Edition] vendor: Apple
    driver: nouveau v: kernel non-free: series: 470.xx+
    status: legacy-active (EOL~2023/24) arch: Kepler code: GKxxx
    process: TSMC 28nm built: 2012-18 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 ports: active: LVDS-1
    empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 10de:0fd5 class-ID: 0300
    temp: 68.0 C
  Device-3: Apple FaceTime HD Camera type: USB driver: uvcvideo
    bus-ID: 1-1.1:3 chip-ID: 05ac:8509 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: X: loaded: modesetting,nouveau
    alternate: fbdev,intel,nv,vesa dri: nouveau,crocus gpu: i915,nouveau
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2880x900 s-dpi: 96 s-size: 762x238mm (30.00x9.37")
    s-diag: 798mm (31.43")
  Monitor-1: LVDS-1 pos: primary,left model: Apple 0x9ca3 built: 2009
    res: 1440x900 hz: 60 dpi: 111 gamma: 1.2 size: 331x207mm (13.03x8.15")
    diag: 390mm (15.4") ratio: 16:10 modes: max: 1440x900 min: 640x350
  Monitor-2: LVDS-2 mapped: LVDS-1-2 pos: right model: Apple 0x9ca3
    built: 2009 res: 1440x900 hz: 60 dpi: 111 gamma: 1.2
    size: 331x207mm (13.03x8.15") diag: 390mm (15.4") ratio: 16:10
    modes: 1440x900
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
    class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio vendor: Apple driver: snd_hda_intel
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403
  Sound API: ALSA v: k6.0.2-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0
    chip-ID: 14e4:16b4 class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: Broadcom BCM4331 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: wl v: kernel modules: bcma pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14e4:4331 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth USB Host Controller type: USB driver: btusb
    v: 0.8 bus-ID: 2-1.8.1.3:9 chip-ID: 05ac:821d class-ID: fe01
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 506.83 GiB used: 6.37 GiB (1.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 PRO 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: PNY model: USB 2.0 FD
    size: 29.89 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:
  Message: No partition data found.
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.7 GiB used: 485.8 MiB (6.2%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 78.0 C mobo: N/A gpu: nouveau temp: 68.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 273 Uptime: 21m wakeups: 4 Memory: 7.7 GiB used: 1.97 GiB
  (25.5%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1134 libs: 314
  tools: pamac,paru Shell: fish v: 3.5.1 default: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.22
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.6.8-1):
  System install date:     2022-12-31
  Last full system update: 2022-12-31 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       <superuser required>
  Snapshots:               Snapper
  Failed units:            snapper-cleanup.service 
McFly: Importing shell history for the first time. This may take a minute or two...done.

To install in arch you have to use
sudo pacman -S "package-name"

1 Like

I used that command in the debian live environment per that users post for his solution. I think it was package not found.

Strange, that's a very common package.
Have you given a sudo apt update before?
Maybe try again and check the spelling.
Also make sure that internet connectivity is available in the live USB. Best thing is to use an ethernet connection or mobile phone tethering.

2 Likes

8h

Strange, that's a very common package.
Have you given a sudo apt update before?
Maybe try again and check the spelling.
Also make sure that internet connectivity is available in the live USB. Best thing is to use an ethernet connection or mobile phone tethering.

I can try again, but I'm certain it was spelled right. I was using mobile tethering at the time. Strange to me that manjaro calemaris installer works. Fedora fails to install however.
In the meantime I'm dual booting mac OSX and POP OS. I may try garuda manual partition over pop os since I had to create a seperate EFI partition than the Macs'.

So I think I'm on the right path. Can't find a way around fixing the missing libcrypto.so.1.1 issue.

Please, never post picture from terminal, just copy and paste here as text.
With 3 ~ in first and last line
~~~
Terminal text
~~~
then others can easily expand or copy the text.

terminal text
then others can easily expand or copy the text the view. Move the mouse pointer over it in the upper right corner.
Move the mouse pointer over it in the upper right corner.

BTW, is this from a live ISO session?

4 Likes

That looks like the Garuda live USB, while the suggested procedure was based on a Debian live USB, installing there efibootmgr and using it to create the EFI boot entry for the Garuda system you already installed and failed at the end.
Maybe this is the reason for the troubles in installing efibootmgr, since you cannot use Debian commands on Garuda.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.