You are not logged in.
Good night everyone.
I recently had issues with my former arch installation, and after several attempts of making that work, I decided that a fresh start would be a better idea. Until now I was following the installation guide, in the wiki. However, when the time for pacstrap arrived, I faced an error. The way that I did my partitions is:
SSD 500GB
500M - EFI System, FAT32 - mounted in /mnt/boot/efi
50G - Linux root (x86-64),ext4 - mounted in /mnt/root
38G - Linux swap, swap
388.5G Linux home, ext4 - mounted in /mnt/home
HD 2TB
1,8T - Linux filesystem, ext4 - mounted in /mnt/personaldata
When I type:
pacstrap /mnt base linux linux-firmware sudo nano iwd man
I get the following error:
error: partition / too full: 91515 blocks needed, 63054 blocks free
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root.
As I mentioned before, this is my 2 arch installation. I made sure to format both of my memory devices, letting then with no data, then using cfdisk did the changes above. This error did not happen on my first installation.
The output for df -h / /mnt is:
Filesystem Size Used Avail Use Mounted on
airootfs 256M 7.7M 247M 4% /
airootfs 256M 7.7M 247M 4% /
PS: sorry for any formatting error, I'm literally coping from another pc. All inputs are welcome, thanks in advance!
---------------------------------------------------
SOLUTION:
My smartass created a root directory for the /. But the /, is literally the root, so you should mount it in /mnt, not in /mnt/root. Somehow I only accomplished this on my second try... You live you learn. About the missing packages, my internet went unstable out of nowhere, all good now.
Last edited by LucasBiazi (2020-12-10 01:24:53)
Always backup important files when editing it.
Offline
50G - Linux root (x86-64),ext4 - mounted in /mnt/root
Shouldn't that be /mnt?
Offline
50G - Linux root (x86-64),ext4 - mounted in /mnt/root
Shouldn't that be /mnt?
Not sure, but I'll give it a try.
Always backup important files when editing it.
Offline
So, I did:
umount /mnt/root
rm -rf /mnt/root
mount /dev/path /mnt
When I tried to run pacstrap again, it simply returned a lot of 'failed retrieving file' errors.
Always backup important files when editing it.
Offline
You need to mount /mnt/boot/efi and /mnt/home after /mnt. Please post the sequence of commands and the output.
Offline
You need to mount /mnt/boot/efi and /mnt/home after /mnt. Please post the sequence of commands and the output.
I did:
mkdir /mnt/boot
mkdir /mnt/boot/efi
mkdir /mnt/home
mkdir /mnt/personal_data
mount path /mnt/boot/efi
mount path /mnt/home
swapon path
mount path /mnt/personal_data
mount path /mnt
pacstrap /mnt base linux linux-firmware nano man sudo iwd
Always backup important files when editing it.
Offline
I get the following error:
error: partition / too full: 91515 blocks needed, 63054 blocks free error: failed to commit transaction (not enough free disk space) Errors occurred, no packages were upgraded. ==> ERROR: Failed to install packages to new root.
As I mentioned before, this is my 2 arch installation. I made sure to format both of my memory devices, letting then with no data, then using cfdisk did the changes above. This error did not happen on my first installation.
The output for df -h / /mnt is:
Filesystem Size Used Avail Use Mounted on airootfs 256M 7.7M 247M 4% / airootfs 256M 7.7M 247M 4% /
PS: sorry for any formatting error, I'm literally coping from another pc. All inputs are welcome, thanks in advance!
You need to be a little more attentive probably, you can't install to your installer device.
Walk through the guide again and don't forget any steps you need to take for it to succeed, especially the mounting part is important.
I did:
mkdir /mnt/boot mkdir /mnt/boot/efi mkdir /mnt/home mkdir /mnt/personal_data mount path /mnt/boot/efi mount path /mnt/home swapon path mount path /mnt/personal_data mount path /mnt pacstrap /mnt base linux linux-firmware nano man sudo iwd
The mount order is wrong, first the root device than the rest.
Offline