You are not logged in.
Hello,
I wanted to install the package group with pacstrap /mnt base and got ERROR: Failed to install packages to new root
I run ls -alh mnt/usr/bin/bash and ls -alh/mnt for troubleshooting
http://imgur.com/a/KLbPn
Is usr missing?
Wifi is on and connected.
I created with gdisk this partitions
efi bootloader 512m_hex code: ef00
root 20g___________________8300
swap 2g___________________8200
home 89g__________________8302
formatted and labeled them:
1. EFI: mkfs.fat -F 32 -n EFIBOOT /dev/sda1
2. Root: mkfs.ext4 /dev/sda2 -L ROOT
4. Swap: mkswap -L p_swap /dev/sda4 -L SWAP // mkswap -L p_swap /dev/sda4
5. Home: mkfs.ext4 /dev/sda5 -L HOME
mounted them (I guess the worm must be here somewhere):
Root:_______________________________________mount /dev/sda2 /mnt
EFI mounting:_______________________________mount /dev/sda1 /mnt |
Creating the directory for boot (EFI):____________mkdir -p /mnt/boot
Connecting boot and the directory:______________mount -L EFIBOOT /mnt/boot
Creating the directory for home:_______________mkdir /mnt/home
Connecting home and the directory:_____________mount /dev/sda5 /mnt/home
Turning on swap:____________________________swapon /dev/sda4
Also is it enough just to remove two "#" to get the right server?
*cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
*nano /etc/pacman.d/mirrorlist
Before:
## Score: 0.0, Germany
Server= http....
After
Score: 0.0 Germany
Server= http
Thank you for your time. I am really glad the is a community to help.
Cheers,Gusop
Last edited by Gusop (2017-02-28 17:06:15)
Offline
EFI mounting:_______________________________mount /dev/sda1 /mnt
This line is incorrect and shouldn't be here, by running this command you've mounted your EFI partition over the top of the root partition so the pacstrap command is trying to install all packages into your EFI.
Also is it enough just to remove two "#" to get the right server?
Again, this is incorrect. The score is just a comment and should stay that way.
Nowhere in the installation guide does it tell you to uncomment anything in the mirrorlist file.
https://wiki.archlinux.org/index.php/In … he_mirrors
Offline
Thank you for your response slithery, I misunderstood this spart: "To enable mirrors, edit /etc/pacman.d/mirrorlist and locate your geographic region. Uncomment mirrors you would like to use".https://wiki.archlinux.org/index.php/Mirrors
Because all Servers are without # I guess I will not use *nano /etc/pacman.d/mirrorlist* anymore.
1 Root:_________________________________________mount /dev/sda2 /mnt
2 EFI mounting:__________________________________mount /dev/sda1 /mnt
3 Creating the directory for boot (EFI):______________mkdir -p /mnt/boot
4 Connecting boot and the directory:_________________mount -L EFIBOOT /mnt/boot
How can I prevet the mounting EFI over the top of the root partition?
Should I mount EFI first and then root? I am afraid I will mount root over the top of EFI.
Offline
2 EFI mounting:__________________________________mount /dev/sda1 /mnt
Where did this line come from?
Offline
Just skip your step 2 entirely.
You just need to (1) mount root (3) create the boot directory (4) mount the EFI at the boot directory you just created.
Offline
Gusop wrote:2 EFI mounting:__________________________________mount /dev/sda1 /mnt
Where did this line come from?
From my mounting steps:
Root:_______________________________________mount /dev/sda2 /mnt
EFI mounting:_______________________________mount /dev/sda1 /mnt
Creating the directory for boot (EFI):____________mkdir -p /mnt/boot
Connecting boot and the directory:______________mount -L EFIBOOT /mnt/boot
Creating the directory for home:_______________mkdir /mnt/home
Connecting home and the directory:____________mount /dev/sda5 /mnt/home
Turning on swap:____________________________swapon /dev/sda4
Okay I will not mount EFI. I will restart the system and mount 1, 3 and 4.
Offline
I mean why did you think you had to mount the ESP ( EFI System Partition ) twice once at step two on top of root and then again properly after making a mount point for it at /mnt/boot.
Edit:
Okay I will not mount EFI. I will restart the system and mount 1, 3 and 4.
You are going to reformat or wipe the contents of the two filesystems as well? As you installed contents meant for / into /boot because of the double mounting.
Edit2:
Also please do not include irrelevant remarks in topic titles such as "Where is the worm?"
Also if Was partition formated successfully? is solved please mark it as such.
Last edited by loqs (2017-02-28 12:19:43)
Offline
Oh sorry...I marked the last one as solved and will change the titel of this one
Offline