centos8‘grub.cfg
Bug #1859572 reported by
magnate
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
when I finish the ironic qcow2 image based on centos8 or redhat8,the image can not start because initrd fails to switch root。in fact, root should be recogized by label .
I look at the grub.cfg and find that root is recogized by uuid in switch processes。
so I slove the problem by following steps:
qemu-img convert -f qcow2 -O raw centos8-
losetup -f # result: /dev/loop0
losetup /dev/loop0 centos8-
kpartx -av /dev/loop0
ls -l /dev/mapper/loop0p*
mount /dev/mapper/loop0p1 /mnt
edit grub.cfg:
root=
not
root=
description: | updated |
description: | updated |
Changed in diskimage-builder: | |
status: | New → Confirmed |
description: | updated |
description: | updated |
description: | updated |
To post a comment you must log in.