Re: Arch linux installing process
On Tue, 2023-07-18 at 20:17 +0600, Source Code wrote:
Now I use cfdisk and I saw type of sda: Linux swap, linux root x86-64 and Linux file system. And I wanna know the difference between linux root x86-64 and Linux file system. Now I think to leave just Linux swap and Linux root x86-64.
Hi, please reply to the mailing list. This is again quasi the same I already wrote before: https://wiki.archlinux.org/title/partitioning#UEFI/GPT_layout_example You need a "/boot or /efi" partition. You should use a "Linux swap" and you need a "Linux x86-64 root (/)". This root directory can use different file systems, such as ext4, but maybe you want a copy on write file system. https://wiki.archlinux.org/title/file_systems I'm sorry, but I don't know how to use cfdisk. If you don't want to use command line, I recommend to use a live media providing GParted. This isn't what I'm using: https://gparted.org/liveusb.php I'm using an USB stick with https://www.ventoy.net/en/index.html . If I need GParted on a live media, I just run e.g. a persistent Xubuntu or any other ISO copied to the Ventoy USB stick. Regards, Ralf
Now I am in the end of installing linux. I have reached to step 3.21 of installation guide: 3.21 Boot loader Choose and install a Linux-capable boot loader <https://wiki.archlinux.org/title/Boot_loader>. If you have an Intel or AMD CPU, enable microcode <https://wiki.archlinux.org/title/Microcode> updates in addition. What it means? What I should choose and install? And how to enable microcode updates in addition? Вт, 18 июля 2023 г. в 20:40, Ralf Mardorf <ralf-mardorf@riseup.net>:
On Tue, 2023-07-18 at 20:17 +0600, Source Code wrote:
Now I use cfdisk and I saw type of sda: Linux swap, linux root x86-64 and Linux file system. And I wanna know the difference between linux root x86-64 and Linux file system. Now I think to leave just Linux swap and Linux root x86-64.
Hi,
please reply to the mailing list.
This is again quasi the same I already wrote before: https://wiki.archlinux.org/title/partitioning#UEFI/GPT_layout_example
You need a "/boot or /efi" partition. You should use a "Linux swap" and you need a "Linux x86-64 root (/)". This root directory can use different file systems, such as ext4, but maybe you want a copy on write file system.
https://wiki.archlinux.org/title/file_systems
I'm sorry, but I don't know how to use cfdisk. If you don't want to use command line, I recommend to use a live media providing GParted.
This isn't what I'm using: https://gparted.org/liveusb.php
I'm using an USB stick with https://www.ventoy.net/en/index.html . If I need GParted on a live media, I just run e.g. a persistent Xubuntu or any other ISO copied to the Ventoy USB stick.
Regards, Ralf
On Tue, 18 Jul 2023 at 14:43, Source Code <rifesourcecode@gmail.com> wrote: I wanna ask you, that how many size I can choose for Linux x86-64 root and Linux file system? Respectfully can I point you to the installation guides [1] [2]? [1] https://itsfoss.com/install-arch-linux/ [2] https://wiki.archlinux.org/title/installation_guide On Tue, 18 Jul 2023 at 16:10, Source Code <rifesourcecode@gmail.com> wrote:
Now I am in the end of installing linux. I have reached to step 3.21 of installation guide: 3.21 Boot loader
Choose and install a Linux-capable boot loader <https://wiki.archlinux.org/title/Boot_loader>. If you have an Intel or AMD CPU, enable microcode <https://wiki.archlinux.org/title/Microcode> updates in addition.
What it means? What I should choose and install? And how to enable microcode updates in addition?
Вт, 18 июля 2023 г. в 20:40, Ralf Mardorf <ralf-mardorf@riseup.net>:
On Tue, 2023-07-18 at 20:17 +0600, Source Code wrote:
Now I use cfdisk and I saw type of sda: Linux swap, linux root x86-64 and Linux file system. And I wanna know the difference between linux root x86-64 and Linux file system. Now I think to leave just Linux swap and Linux root x86-64.
Hi,
please reply to the mailing list.
This is again quasi the same I already wrote before: https://wiki.archlinux.org/title/partitioning#UEFI/GPT_layout_example
You need a "/boot or /efi" partition. You should use a "Linux swap" and you need a "Linux x86-64 root (/)". This root directory can use different file systems, such as ext4, but maybe you want a copy on write file system.
https://wiki.archlinux.org/title/file_systems
I'm sorry, but I don't know how to use cfdisk. If you don't want to use command line, I recommend to use a live media providing GParted.
This isn't what I'm using: https://gparted.org/liveusb.php
I'm using an USB stick with https://www.ventoy.net/en/index.html . If I need GParted on a live media, I just run e.g. a persistent Xubuntu or any other ISO copied to the Ventoy USB stick.
Regards, Ralf
I just wanna add microcode updates with EFI. I need to add: cat /boot/*and*-ucode.img /boot/initramfs-linux.img > my_new_initrd objcopy ... --add-section .initrd=my_new_initrd But I have error: cat: unrecognised option ‘—add-section’ I write it all on one command line. What I do wrong? Вт, 18 июля 2023 г. в 21:19, Andy Pieters <arch-general@andypieters.me.uk>:
On Tue, 18 Jul 2023 at 14:43, Source Code <rifesourcecode@gmail.com> wrote: I wanna ask you, that how many size I can choose for Linux x86-64 root and Linux file system?
Respectfully can I point you to the installation guides [1] [2]?
[1] https://itsfoss.com/install-arch-linux/
[2] https://wiki.archlinux.org/title/installation_guide
On Tue, 18 Jul 2023 at 16:10, Source Code <rifesourcecode@gmail.com> wrote:
Now I am in the end of installing linux. I have reached to step 3.21 of installation guide: 3.21 Boot loader
Choose and install a Linux-capable boot loader <https://wiki.archlinux.org/title/Boot_loader>. If you have an Intel or AMD CPU, enable microcode <https://wiki.archlinux.org/title/Microcode> updates in addition.
What it means? What I should choose and install? And how to enable microcode updates in addition?
Вт, 18 июля 2023 г. в 20:40, Ralf Mardorf <ralf-mardorf@riseup.net>:
On Tue, 2023-07-18 at 20:17 +0600, Source Code wrote:
Now I use cfdisk and I saw type of sda: Linux swap, linux root x86-64 and Linux file system. And I wanna know the difference between linux root x86-64 and Linux file system. Now I think to leave just Linux swap and Linux root x86-64.
Hi,
please reply to the mailing list.
This is again quasi the same I already wrote before: https://wiki.archlinux.org/title/partitioning#UEFI/GPT_layout_example
You need a "/boot or /efi" partition. You should use a "Linux swap" and you need a "Linux x86-64 root (/)". This root directory can use different file systems, such as ext4, but maybe you want a copy on write file system.
https://wiki.archlinux.org/title/file_systems
I'm sorry, but I don't know how to use cfdisk. If you don't want to use command line, I recommend to use a live media providing GParted.
This isn't what I'm using: https://gparted.org/liveusb.php
I'm using an USB stick with https://www.ventoy.net/en/index.html . If I need GParted on a live media, I just run e.g. a persistent Xubuntu or any other ISO copied to the Ventoy USB stick.
Regards, Ralf
On Tue, 2023-07-18 at 21:09 +0600, Source Code wrote:
If you have an Intel or AMD CPU, enable microcode updates in addition.
Hi, add the microcode to your bootloader's config! Below are two examples. The first one is for grub2 and the second is for syslinux. • rocketmouse@archlinux ~ $ grep "Arch Linux threadirqs" /boot/grub/grub.cfg -A4 menuentry " Arch Linux threadirqs" { search --no-floppy --set=root --label m1.archlinux linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro threadirqs ibt=off ipv6.disable=1 initrd /boot/intel-ucode.img /boot/initramfs-linux.img } • rocketmouse@archlinux ~ $ grep "Arch Linux ^threadirqs" /boot/syslinux/syslinux.cfg -A3 MENU LABEL Arch Linux ^threadirqs LINUX ../vmlinuz-linux APPEND root=LABEL=s3.archlinux ro threadirqs INITRD ../intel-ucode.img,../initramfs-linux.img The interesting parts are the lines initrd and INITRD. I edit my grub.cfg manually, hence I can't tell you how to edit the config to auto-generate grub.cfg. Don't forget to install the microcode package first. • rocketmouse@archlinux ~ $ pacman -Ss microcode core/amd-ucode 20230625.ee91452d-4 Microcode update image for AMD CPUs extra/intel-ucode 20230613-1 [installed] Microcode update files for Intel CPUs extra/iucode-tool 2.3.1-4 Tool to manipulate Intel® IA-32/X86-64 microcode bundles chaotic-aur/amd-ucode-git 20230620.045b213-1 Microcode update image for AMD CPUs chaotic-aur/intel-ucode-clear 36610-1 Intel cpu microcode and i915 firmware used by Clear Linux Please, if you have such basic questions, consider to take a look at the Arch Wiki first. https://wiki.archlinux.org/title/microcode Regards, Ralf
participants (3)
-
Andy Pieters
-
Ralf Mardorf
-
Source Code