You are not logged in.

#1 2021-04-10 11:26:18

Kilerin
Member
Registered: 2021-04-10
Posts: 8

Partition the disk during installation

Ho to all,
I try to install Arch Linux on my Huawei Matebook d15. The network goes Ok.
But when i come to partition the disk i have:
Fdisk -l

Disk /dev/nvme0n0p0 --> EFI
The same with P1 --> Linux filesystem
The same with p2 --> Linux Swap

(Not mounted)

Disk /dev/SDA --> my USB contains Arch Linux uso

Someone can Say me all command steps before the pacstrap /mnt base Linux linux-firmware?

All the command for partition, formatting, mount and creating root filesystem with the /devo/nvme0n0p0?

Thank you to all, now i'm without OS

Offline

#2 2021-04-10 13:28:20

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: Partition the disk during installation

Which specific part of the installation guide do you have a problem with?

Offline

#3 2021-04-10 14:55:06

Kilerin
Member
Registered: 2021-04-10
Posts: 8

Re: Partition the disk during installation

When i started the partition of the disk i did:
Lsblk
Loop0 mountpoint --> /run/archiso/airootfs
/Devi/SDA contains the uso, the USB mountpoint --> /run/archiso/bootmnt

/Devi/nvme0n1p1 efy System without mountpoint
/Devi/nvme0n1p2 Linux filesystem without mountpoint
/Devi/nvme0n1p3 Linux Swap without mountpoint

Then i did:
mkfs.ext4 /Devi/nvme0n1p2
mkswap /Devi/nvme0n1p3
swapon /Devi/nvme0n1p3

mount /Devi/nvme0n1p2 /mnt
Mount /Devi/nvme0n1p1 /mnt/EFI

pacstrap /mnt base Linux linux-firmware

After the installation of Base package and Linux packages I tried ti install Linux-firmware but i have this error : 
linux-firmware: /mnt/use/.. exist in filesystem.
Errors occurred, no packages were upgrade
--> error: failed to install packages to new root.

I followed the installation guide, so I'm wondering why I have this problem and how can i solve It.
Thanks to everyone that can be helpful!
Sorry but i don't have a lot of experience.

Offline

#4 2021-04-10 19:46:08

euromatlox
Member
Registered: 2017-02-10
Posts: 110

Re: Partition the disk during installation

That pacstrap installs linux-firmware, why you try to reinstall it right after ?
Before using pacman for installation, you must be chrooted into the new system, as told in Wiki Installation guide.
Perhaps not a big problem, but better to use small letters only for package names (linux-firmware, not Linux-firmware).

Offline

#5 2021-04-10 22:02:34

Kilerin
Member
Registered: 2021-04-10
Posts: 8

Re: Partition the disk during installation

Okey, thank you i Will try It and i Will tell you if It works

Offline

#6 2021-04-12 01:52:29

foobat
Member
Registered: 2021-02-13
Posts: 25

Re: Partition the disk during installation

You should install a bootloader to make your installation bootable.
Boot into the installation media, mount the root partition, efi partion and swapon,  and chroot into your installation, as discribed in the installation guide. Then install the grub package. Then run the following commands:
grub-install
grub-mkconfig -o /boot/grub/grub.cfg

If grub-install falls, you may have to specify some extra arguememts.

Offline

Board footer

Powered by FluxBB