oracle / centos2ol

Script and documentation to switch CentOS/Rocky Linux to Oracle Linux

Home Page:https://linux.oracle.com/switch/centos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to boot after switching default boot kernal- Boot message: Probing EDD (edd=off to disable) ....ok

ibakhsh opened this issue · comments

Hey,
i have installed a fresh centos 8 and after using this script the kernal conversion was done successfully and the script showed a message..:

Generating grub configuration file ...
done
Switching default boot kernel to the UEK.
Removing yum cache
Switch complete.
Oracle recommends rebooting this system.

after rebooting the virtual machine i am unable to boot the kernal and shows this message:

Probing EDD (edd=off to disable) ....ok

i have attempted many solutions such as adding "edd=off" to the end of "/boot/grub/grub.conf" using another recovery console connecting to the same machine's disk with no success.

could you kindly point me to a solution or a mer understanding of the issue?

Thanks

Please remove rhgb quiet from the kernel boot command so you can see the full output log. I'm guessing it's failing to properly start the graphical environment. What hardware did you install on?

Thank you for your quick reply @Djelibeybi

There is no rhgb quiet at the end of kernel boot command, this is the kernel line in the "/boot/grub/grub.conf" file:

Screen Shot 2021-11-18 at 12 52 49 AM

and the hardware is a virtual machine (part of virtual environment) x86_64

this is more information about the hardware:
Screen Shot 2021-11-18 at 12 55 44 AM

i am using an Ubuntu recovery console to access the machine's disk

Can you try booting a different kernel or do they all stop? The script said the default kernel had changed to UEK, but that's not a UEK kernel. That's the upstream kernel. If there is a 5.4 kernel version, can you try that?

unfortunately i can't seam to be able to fix the issue .. i have dropped the vm and recreated it without running the script for now.

but if you are interested in investigating this issue any further you can follow these steps to reproduce:
1- Create a new centos 8 droplet (vm) in digitalcoean.com
2- Run the script (curl -O https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh).
then: sudo bash centos2ol.sh
3- reboot.... this error will show recovery console: Probing EDD (edd=off to disable) ....ok

I'll see what I can do.

i don't know if this might help but i was able to finally run oracle linux on digitalocean by making sure i have these as grub configuration:

RUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/ol_oraclelinux19c-swap rd.lvm.lv=ol_oraclelinux19c/root rd.lvm.lv=ol_oraclelinux19c/swap console=tty1 console=ttyS0,115200 rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_SERIAL_COMMAND="serial --unit=0 -speed=115200"
GRUB_TERMINAL="serial console"

then running:

grub2-mkconfig -o /boot/grub2/grub.cfg

prior to reboot

Glad to hear you got it sorted. Are you able to call out exactly what you had to add or change so we can make a note of it?

everything i did i just documented here , although i think i need to cut out any unnecessary steps.

Switching default boot kernel to the UEK.
Removing yum cache
Switch complete.
Oracle recommends rebooting this system.

Reboot.

Dead machine (>.<)

Cannot find OS.

Bruh.

Done on Centos 7 - got to attach some kind of boot device to access the machine before I can investigate.

Any recommendations please? Ty

look here, links:
#70
#76