When I bought the laptop, it was on DOS. But I installed windows 10 pro edition. But now I need to change it to ubuntu. I have heard that there are some problems like wifi driver is sometimes not detected by OS in starting. Has anyone done this?
I'm sorry, but HP only warranties their PCs for usage with the OS that comes preinstalled.
IF you replace that with a Linux distro, or add a Linux distro, then you assume full responsibility for maintaining that -- including solving any problems with booting the other OS and/or installing the other OS.
Modern PCs with UEFI, instead of the older BIOS, are especially difficult to install because you have to go into the UEFI settings and make several changes before you can even boot from a USB stick -- and we are unable to assist in that work.
Your best bet for support with issues with Linux is to contact the support forum of the distro you are using.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".