You are not logged in.

#1 2019-08-31 08:09:50

patresko
Member
Registered: 2018-10-19
Posts: 24

[Solved] pacstrap error: vmlinuz-linux exists in filesystem

I'm installing fresh Arch alongside my existing one (yeah, dualbooting two Arch-linuxes).

Boot mode is EFI, partition scheme as follows:

sda1 -    EFI partition (on which conflicting vmlinuz-linux resides)
sda2 -    SWAP
sda3 -    root of already installed Arch
sda4 -    /home
sda5 -    root of Arch I'm trying to install 

I've mounted sda1 to /mnt/boot and sda5 to /mnt, tried to pacstrap the new system, however pacman wont install it as it encounters conflicting vmlinuz.
I don't feel like removing the existing installation, that's the reason I'm attempting dual boot.

What do? Is there a way around? Perhpas two EFI partitions (not ideal) or renaming the existing vmlinuz (I believe this would render GRUB unable to find the kernel)?
Or can I somehow force the pacstrapping?

Thank you, fellers.

Last edited by patresko (2019-09-08 21:52:14)

Offline

#2 2019-08-31 09:38:35

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: [Solved] pacstrap error: vmlinuz-linux exists in filesystem

Rather than mounting the ESP to /boot, mount it to /efi and use bind mounts to have dedicated directories for one or more of your Arch installations:

https://wiki.archlinux.org/index.php/EF … _partition
https://wiki.archlinux.org/index.php/EF … bind_mount

Alternatively, just use a different kernel on each installation, .e.g. linux on one, linux-lts on the other.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2019-09-08 20:17:20

patresko
Member
Registered: 2018-10-19
Posts: 24

Re: [Solved] pacstrap error: vmlinuz-linux exists in filesystem

Thank you, WorMzy, for your interest in my issue.

I tried to apply information from both links you've provided, which, combined with my all-or-nothing approach, resulted in a system broken beyond repair.

However, here I am, sporting a fresh install, now natively mounting ESP to /efi. For now I don't feel like dual-booting.

Thank you.

Offline

#4 2019-09-08 20:35:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] pacstrap error: vmlinuz-linux exists in filesystem

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-09-09 07:40:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [Solved] pacstrap error: vmlinuz-linux exists in filesystem

You could've also just used a boot loader that can read linux filesystems (like GRUB or refind) and setup /boot independent from the ESP

Offline

Board footer

Powered by FluxBB