i am currently making up my mind how to set up a arch system.
well doing so i thougth it is a good idea to write it down all the steps. so i can share it with you and get feedback. at the moment i have some questions regarding the formating the fileystem. see below
here the start:
Installing Arch Linux on a notebook involves several steps,
Here’s a general outline of the installation process:
first we need to download the Arch Linux ISO:
therefore we need to visit the Arch Linux download page (https://archlinux.org/download/) and download the ISO image for our architecture (e.g., 64-bit).
then we need to create a so called Bootable Media:
Write the ISO image to a USB flash drive or burn it to a CD/DVD using tools like dd or a graphical tool like Rufus (Windows) or Etcher (Linux/macOS). Boot from the Installation Media:
Insert the bootable media into our notebook and boot from it. We may need to access our notebook’s BIOS/UEFI settings to change the boot order and prioritize the USB drive or CD/DVD drive.
step: Prepare the Installation Environment:
Once we boot into the Arch Linux live environment, we’ll be presented with a command prompt. We then need to set up our system’s internet connection, which can usually be done using commands like ip and wifi-menu for wireless networks or ip and dhclient for wired networks.
the Partitioning - this is pretty important:
we can use tools like fdisk, gdisk, or parted to partition our notebook’s storage device. we need to create at least one partition for the root filesystem (/) and optionally additional partitions for /home,
/boot, and swap. Filesystem Creation:
we then create filesystems on the partitions using commands like mkfs.ext4, mkfs.fat, or mkswap.
the formating - here i have a question: can we go like so?
see the comands:
mkfs.vfat /dev/md3
Creates an empty disk image of 33MB.
dd if=/dev/zero of=uefi.img bs=1M count=33
Formats the disk image as FAT32
mkfs.vfat uefi.img -F 32
Creates the requested subdirectories.
mmd -i uefi.img ::/EFI mmd -i uefi.img ::/EFI/BOOT
Copies the boot file.
mcopy -i uefi.img BOOTX64.EFI ::/EFI/BOOT
Creates an empty disk image of 100MB.
dd if=/dev/zero of=system.img bs=1M count=100
Formats the disk image as FAT32
question: is this possible to do so !? can i do the formating like mentioned above?
look forward to hear from you