View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000232 | AlmaLinux-8 | anaconda | public | 2022-05-05 10:23 | 2022-05-05 20:53 |
Reporter | robbevl | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0000232: Anaconda can't mount XFS during kickstart installation | ||||
Description | We have a kickstart file that works great with RHEL8 but fails while trying to use with AL8. The installation starts but then Anaconda throws an error after formatting the xfs filesystems, apparently the mount program doesn't know xfs: DEBUG:blivet: XFS.setup: device: /dev/mapper/almalinux -root ; type: xfs ; status: False INFO:program:Running... mount -t xfs -o defaults /dev/mapper/almalinux-root /mnt/sysimage INFO:program:stderr: INFO:program:b"mount: /mnt/sysimage: unknown filesystem type 'xfs'." DEBUG:program:Return code: 32 INFO:anaconda.threading:Thread Failed: AnaTaskThread-MountFilesystemsTask -1 (139983618381568) Relevant lines in ks.cfs: zerombr ignoredisk --only-use=sda clearpart --drives=sda --initlabel --disklabel=gpt bootloader --append="crashkernel=auto" --location=mbr --boot-drive=sda part /boot --fstype="xfs" --ondisk=sda --size=1024 part /boot/efi --fstype="efi" --ondisk=sda --size=600 --fsoptions="umask=0077,shortname=winnt" part pv.1 --fstype="lvmpv" --ondisk=sda --size=5120 --grow volgroup almalinux pv.1 logvol swap --fstype="swap" --recommended --name=swap --vgname=almalinux logvol / --fstype="xfs" --size=8192 --name=root --vgname=almalinux logvol /var --fstype="xfs" --percent=100 --name=var --vgname=almalinux We're using the almalinux-8.5-x86_64-dvd.iso hosted on an NFS share as repo: nfs --server=my-nfs-server.example.com --dir=/kickstart/iso/almalinux-8.5-x86_64-dvd.iso We're booting from the dvd itself. We have a small iso that is bootable and has this line in grub,cfg: linuxefi /isolinux/vmlinuz inst.stage2=nfs:my-nfs-server.example.com:/kickstart/iso/almalinux-8.5-x86_64-dvd.iso inst.ks=nfs:my-nfs-server.example.com:/kickstart/ks/ks.cfg This is working with the rhel8.5 dvd so I was surprised to see this error. XFS is supposed to be the default fs, are the xfs drivers not loaded when booting from DVD? | ||||
Steps To Reproduce | Attempt kickstart installation while booting from almalinux-8.5-x86_64-dvd.iso and with almalinux-8.5-x86_64-dvd.iso as repo. | ||||
Tags | anaconda, installation, kickstart, not-a-bug, xfs | ||||
abrt_hash | |||||
URL | |||||
|
Found the problem. It's not a bug, please close. Anaconda was unable to load the xfs module (Required key not available). This is caused by EFI secure boot (which needs modules to be signed), or rather, because I used my modified rhel8 iso as stage 1 boot device and attempted to point it at the Almalinux dvd for stage 2. Apparently the difference was noticed, and as a result some modules (like xfs) did not load. I created a modified Almalinux 8.5 bootable iso to load the ks and all works as expected now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-05-05 10:23 | robbevl | New Issue | |
2022-05-05 10:25 | robbevl | Tag Attached: anaconda | |
2022-05-05 10:25 | robbevl | Tag Attached: xfs | |
2022-05-05 10:25 | robbevl | Tag Attached: installation | |
2022-05-05 10:25 | robbevl | Tag Attached: kickstart | |
2022-05-05 20:52 | robbevl | Note Added: 0000558 | |
2022-05-05 20:53 | robbevl | Tag Attached: not-a-bug |