Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to dual boot with existing windows: ['/usr/bin/arch-chroot', '/mnt/archinstall', 'bootctl', '--no-variables', 'install'] exited with abnormal exit code [1] #2441

Open
drewboardman opened this issue Mar 30, 2024 · 4 comments

Comments

@drewboardman
Copy link

drewboardman commented Mar 30, 2024

Summary of disk management

  • Here are photos of the installation configuration.
  • I have an existing windows installation on dev/sda. There is an existing boot partition from a previous dual boot I had set up.
  • I'm marking this partition for re-formatting, and mounting /boot here. Labeling as a Boot, ESP.
  • I have a dev/sdc hard drive that is 256gb.
  • For this drive, I am creating 1 partition. No splitting of /root and /home. No second boot partition.

Results #1

Arch install accepts this configuration and goes through the installation process. It downloads and updates many packages. At the end, after about 25 minutes, I get a large error.

grub-install: /boot does not look like an EFI partition

Attempted fix #1

reran arch install, this time changing the windows /boot partition to also change filesystem type to ext4

Results #2

Goes through whole install again, fails at the end with could not detect efi partition.

Screenshot of error

Attempted fix #2

I reran arch install with the windows disk boot partition mounted at /boot/efi.

Results #3

Same error with grub unable to detect the efi partition

Attempted fix #3

I'm just going to abandon grub and try systemd-boot. This time going back to /boot as the mount and not /boot/efi.

Results #4

Goes through entire install and fails with cryptic error.

SysCallError: ['/usr/bin/arch-chroot', '/mnt/archinstall', 'bootctl', '--no-variables', 'install'] exited with abnormal status code [1]

photo of full error

Attempted fix #4

I found this thread about the same error. Attempting this also fails with ['/usr/bin/arch-chroot', '/mnt/archinstall', 'bootctl', '--no-variables', 'install'] exited with abnormal exit code [1]

Help

I could use any help that you can give. I'm also concerned that messing with this windows boot partition was a mistake. I'm no longer able to boot into either windows or arch, and only the install medium for the arch iso.

@drewboardman
Copy link
Author

If i do lsblk I see the mountpoint for that boot partition is /mnt/archinstall/boot. Why is archinstall attempting to run the command on /mnt/archinstall?

So I attempted to manually run:

/usr/bin/arch-chroot /mnt/archinstall/boot bootctl install

This fails with mount point does not exists. This is confusing.

So I ran the command from the errors and got:

/usr/bin/arch-chroot /mnt/archinstall bootctl install

This fails with Couldn't find EFI system partition

So I ran mkdir /mnt/archinstall/boot/efi. Then I ran:

/usr/bin/arch-chroot /mnt/archinstall/boot/efi bootctl install

This fails with mount point does not exists.

@svartkanin
Copy link
Collaborator

@AmionSky
Copy link

AmionSky commented May 2, 2024

I seem to have the same issue. Trying to install arch alongside existing windows 11.
install.log

@AmionSky
Copy link

AmionSky commented May 2, 2024

I just checked the failed install and it seems like it installed files into /boot on the target root partition (for me nvme1n1p1) but this directory should have been mounted to the efi partition?
Maybe it's a mount ordering issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants