Bug 1952824
| Summary: | [Hyper-V]Dual boot image cannot boot with RHEL-9 beta compose | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Yuxin Sun <yuxisun> | ||||
| Component: | grub2 | Assignee: | Bootloader engineering team <bootloader-eng-team> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yuxin Sun <yuxisun> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 9.0 | CC: | hhei, javierm, litian, ribarry, vkuznets, xuli, yacao | ||||
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-09-06 07:52:49 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Hi Javier, Do you know of anything in grub2 from RHEL-9.0.0-20210418.3 (or later) that could impact dual boot image from booting? Now I can use rhel-guest-image as a workaround. The rhel-guest-image is a dual boot image. So there might be something wrong in the kickstart file(although it worked well in RHEL-9 Alpha). Removed testblocker keyword and change priority/severity to low. Test in RHEL-9.0.0-20210905.7. It works now. Close this BZ. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |
Created attachment 1774729 [details] dual boot kickstart file Description of problem: When I use the kickstart file to build a BIOS+UEFI dual boot image, it cannot boot after installed. I worked well with RHEL-9.0.0-20210414.0 but cannot work with RHEL-9.0.0-20210418.3 and later composes. Version-Release number of selected components (if applicable): RHEL-9.0.0-20210418.3 and later composes How reproducible: 100% Steps to Reproduce: 1. Prepare a dual boot kickstart file(see the attachment). Create a 10G qcow2 file: # qemu-img create rhel-9.qcow2 10G -f qcow2 2. Create a .iso file and put the ks file in 3. Use virt-install to build the image: # virt-install --name walatestimg --ram 2048 --network bridge=virbr0 --vcpus 2 --cdrom ks.iso --disk path=rhel-9.qcow2,bus=virtio --noreboot --boot uefi 4. Use virt-manager to boot it in KVM Actual results: 1. First boot: can boot up and go to "login", but actually cannot login 2. After reboot, it hangs during boot: systemd[1]: No /sbin/init, trying fallback systemd[1]: Failed to execute /bin/sh, giving up: No such file or directory systemd[1]: Freezing execution. Expected results: Can boot successfully. Additional info: If build a BIOS only image, it works well.