You are not logged in.

#1 2020-12-09 22:39:23

LucasBiazi
Member
Registered: 2020-11-11
Posts: 111

[SOLVED] Installation issue, error: partition / too full

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

#2 2020-12-09 22:42:29

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [SOLVED] Installation issue, error: partition / too full

50G - Linux root (x86-64),ext4 - mounted in /mnt/root

Shouldn't that be /mnt?

Offline

#3 2020-12-09 22:44:16

LucasBiazi
Member
Registered: 2020-11-11
Posts: 111

Re: [SOLVED] Installation issue, error: partition / too full

tucuxi wrote:
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

#4 2020-12-09 22:52:53

LucasBiazi
Member
Registered: 2020-11-11
Posts: 111

Re: [SOLVED] Installation issue, error: partition / too full

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

#5 2020-12-10 00:02:20

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [SOLVED] Installation issue, error: partition / too full

You need to mount /mnt/boot/efi and /mnt/home after /mnt. Please post the sequence of commands and the output.

Offline

#6 2020-12-10 00:43:46

LucasBiazi
Member
Registered: 2020-11-11
Posts: 111

Re: [SOLVED] Installation issue, error: partition / too full

tucuxi wrote:

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

#7 2020-12-10 01:05:32

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: [SOLVED] Installation issue, error: partition / too full

LucasBiazi wrote:

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

Board footer

Powered by FluxBB