You are not logged in.
Pages: 1
arch linux on a virtual machine (Virtual Box 7.0.6)
I made partitions and gave them a type. But the partition did not change its type
root@archiso # fdisk -1 /dev/sda
Disk /dev/sda: 10.86 GiB, 11660835840 bytes, 22775070 sectors
Disk model: UBOX HARD DISK
Units: sectors of 1 × 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/0 size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CB84A1FB-84CD-42C6-A78E-501E437F7FAC
Device Start End Sectors Size Type
deusda1 2048 1050623 1048576 512M EFI System
deu/sda2 1050624 22773759 21723136 10 .4G Linux filesystem
root@archiso # lsblk
NAME MAJ: MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 672M 1 loop /run/archiso/airootfs
sda 8:0 0 10.9G 0 disk
- sda1 8:1 0 512M 0 part
- sda2 8:2 0 10.4G 0 part
sr0 11:0 1 790.3M 0 rom /run/archiso/bootmnt
Offline
i dont see a problem, you have 'Efi System' and 'Linux Filesystem' types.
type does not mean format, you still need to make filesystems on the partitions.
lsblk -fshows filesystem info
Offline
i dont see a problem, you have 'Efi System' and 'Linux Filesystem' types.
type does not mean format, you still need to make filesystems on the partitions.lsblk -fshows filesystem info
How do I get EFI in TYPE when using lsblk ?
which command should I use?
when using bootctl install it does not see the efi
Offline
"EFI" is not a filesystem. An ESP should have a FAT32 filesystem (there may be some options for other filesystems on modern EFI implementations, but FAT32 is still the standard).
You can include "PARTTYPENAME" in lsblk outpu if you want to see that as well, but it is a seperate bit of information from the filesystem (it will not be in the FSTYPE column as it's not an FSTYPE). For example, if you want "lsblk -f" type of output plus this column:
lsblk -o NAME,FSTYPE,FSVER,PARTTYPENAME,LABEL,UUID,FSAVAIL,FSUSE%,MOUNTPOINTSEDIT: I just learned something ...
lsblk -fo +PARTTYPENAMEThat's a little cleaner, though you can't control the column order with that.
Last edited by Trilby (2023-07-02 13:48:10)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
read the first section of this page:
https://wiki.archlinux.org/title/Systemd-boot
specifically this part:
Note:
When running bootctl install, systemd-boot will try to locate the ESP at /efi, /boot, and /boot/efi. Setting esp to a different location requires passing the --esp-path=esp option. (See bootctl(1) §OPTIONS for details.)
make sure your efi partition is mounted and has the correct filesystem (fat32)
Last edited by jonno2002 (2023-07-02 20:45:27)
Offline
I apologize for the time taken.
I missed something in the arch linux installation instructions.
Now I have repeated all the steps and everything works
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1