You are not logged in.

#1 2014-02-22 13:21:03

rangel
Member
Registered: 2014-02-21
Posts: 6

`pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]

Hi,
In the process of trying to install Arch (on Acer Aspire V3, UEFI Bios, dual-boot with win 8.1) I accidentally skipped the step of manually creating a configuration file to add an entry for Arch Linux to the gummiboot manager. As a result I could not boot into arch and also failed chrooting into it. I then tried to wipe out the linux partitions (root and home) and reinstall the base system, but after wiping them out and loading again arch from the live USB and running

pacstrap -i /mnt base base-devel

I got the following error:

error: failed to commit transaction (conflicting files)
linux: mnt/boot/vmlinuz-linux exists in filesystem

I tried looking it up online but the only similar thing I could find was the Beginners guide entry saying I should run:

pacman-key --init && pacman-key --populate archlinux

I ran it but it didn't help me.

I also ran

efibootmgr -B -b <number>

to delete the linux entry but that did not help either (i.e. the linux entry is gone, but I still get that error message).

I'd like to wipe out any remaining 'leftovers' of the old linux installation and make a new one, without damaging my windows installation (which I assume should mean without wiping out the EFI partition).

How can I achieve that?

Last edited by rangel (2014-02-25 09:45:31)

Offline

#2 2014-02-22 14:15:14

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: `pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]

Looks like you still have things in /boot from the previous installation. How did you "wipe out the linux partitions (root and home)"?  Is /boot on a separate partition from home?

Offline

#3 2014-02-22 15:17:48

rangel
Member
Registered: 2014-02-21
Posts: 6

Re: `pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]

I have root and home on two separate partitions. I wiped them by deleting the partitions and making new ones using cgdisk. According to this I mounted the EFI system (which is on a separate partition, which came with the win installation) on /mnt/boot using:

mkdir -p /mnt/boot
mount /dev/sdXY /mnt/boot

I assume (but not entirely sure) that I should delete whatever's left in the EFI partition, but I'd like to do it 'surgically' and not wipe it out (so as not to damage the win installation).

Offline

#4 2014-02-22 23:37:02

derekArch
Member
Registered: 2013-02-02
Posts: 22

Re: `pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]

Yes, your compressed linux images (vmlinuz) are still on your /boot partition. It looks like you use a shared /boot partition for you windows and Arch. Under UEFI this is a fine, and probably the best setup. However, for you, this means you need to go in an manually delete your vmlinuz files. Mount your /boot partition then run:

 rm /boot/vmlinuz-linuz 

then, re pacstrap your system.
Let us know if that works!

Last edited by derekArch (2014-02-22 23:38:59)

Offline

#5 2014-02-23 20:55:40

rangel
Member
Registered: 2014-02-21
Posts: 6

Re: `pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]

Seems to be working!
Thanks for the tip, derekArch.

Offline

#6 2014-02-23 21:51:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,623

Re: `pacstrap -i /mnt base` fails because of linux 'leftovers' [SOLVED]

If it is solved, please go ahead and edit your first post and prepend [SOLVED] to your thread title.  We ask that you do that as only you know that the problem is solved smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB