strange bios behaviour

i have a HP probook 450 works fine with windows 7.
however the client wants windows 10 - so i installed  a  SSD 500 Gb with the windows 7 image on it and proceeded to set up from flash drive.  it started setup but gave the error when you see the drive and partitons: cannot create partition"
so i rebooted - to delete ALL partitions, except HPTOOLS and RECOVERY and all of a sudden it Always booted into HP diagnostics - whatever key you hit during startup
so i deleted the 2 remining partitions  -  still the same problems - it would NOT boot form disk or usb -  i only got in the HP diagnostics

HOwever, when i installed the disk with a windows 7 or windows 10 (that was upgraded from windows 7) i got a normal boot, and could access the bios in the normal way with all keys

so it looks like there is some bios or boot info on the disk - influencing the bios access

does anybody see this?
does anybody know why it happens ?  or how to fix this (other than installing an already bootable drive that is) ?
LVL 95
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It probably has the diagnostic stuff embedded in the BIOS or another chip on the mainboard. Maybe you can turn it off there somewhere. If it can't find any OS on your internal HD it would automatically start the diags from the BIOS.

The reason why you couldn't create partitions during the installation of Windows 10 was probably because you had booted the USB stick in the wrong mode for the disk's setup. If you boot into EFI mode, the disk you install the OS to has to be a GPT disk, if you boot into standard mode, it has to be an MBR disk. So you will have to check what setting the BIOS is at (UEFI or compatible), and also select the correct USB boot device. Depending on your BIOS configuration, you should see your USB stick twice, as a UEFI USB stick, and as just a USB stick, and then you can choose the correct version to boot from.

If your USB stick isn't setup with UEFI boot capabilities, and your BIOS is setup to only boot UEFI, the stick won't show up as an option to boot from.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
Was UEFI on or off. I always have UEFI on for Windows 8.1 and 10, but off for Windows 7.
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

nobusAuthor Commented:
from what it looks like, it seems to be a bios -not UEFI - bu i am not sure
i took some pics  but hey are not very clear
JohnBusiness Consultant (Owner)Commented:
Picture 314 suggests it is UEFI.

However, when I installed the disk with ... windows 10 (that was upgraded from windows 7

If the Windows 10 was activated, is it worth it to you to reinstall Windows 10 Fresh from the media creation link?
The only picture where I can see much is the one with the diagnostics, and there it says "HP PC Hardware Diagnostics UEFI", so to me it is UEFI. It is also a modern laptop with a modern CPU, and those all come with UEFI.
When you upgrade, it uses the same setup that was used in the previous OS. When you do a clean installation by booting from the installation media, it uses the the method it was booted to. So if it used the EFI boot when you booted the USB stick, it will also require a GPT disk, and if you booted the stick in compatible mode, it will want to install to an MBR disk.

A further difference would be if you tried installing the 32bit version of Windows 10. That can only be installed in compatible mode to an MBR disk and not to a system set to UEFI and a GPT disk.
nobusAuthor Commented:
john every time i tried to use the upgraded version, it started complaing about malware detected - even with only windows and office installed, and you could not pin icons to the task bar, etc... it was totally useless -that could come imo from the bad disk it was copied from - but since i did a facory restore, i thought i would be good to go

good info rindi

i'll get my good camera (thes e were taken with an old smartphone
JohnBusiness Consultant (Owner)Commented:
I just upgraded my Client's Windows 10 machine to 14393.51 (Anniversary plus patches) and it did not complain.

that could come IMO from the bad disk it was copied from

That is likely. Try a truly fresh install:  Keep Nothing.
noxchoProduct ManagerCommented:
I am having similar problem with Panasonic CF-54 Toughbook machine. In my case the USB stick with Windows 10 created with Media Creation Tool shows first progress window of Windows installation and then just a black screen. If I keep on the HDD the originally installed Windows 10 or just Panasonic diagnostic tools - they boot fine. Still researching this behavior.
nobusAuthor Commented:
in case it helps, here the info page of bios
i must say that uefi bios is a lot more complicated than BIOS - and NOT AT ALL easy to use
and very different from 1 pc to another...

noxcho - if you find a solution, be sure to post  it ?
So when you select F9 at boot are you saying you can't select your flash drive? It's normal behavior for hp to goto diagnostic screen if there is no os installed(partition)
nobusAuthor Commented:
joinaunion - how do you install windows then on an empty drive from USB ?
noxchoProduct ManagerCommented:
Interesting, the installation went well from a DVD drive in my case. And booting from USB is still impossible.
You can't if there is no usb boot selection by default in the bios. What are your options when you tap F8 for boot options?
nobusAuthor Commented:
it boots fine from usb joinaunion, it's only AFTER windows install starts it says "cannot create primary partition"
it seems to be missing usb3 drivers in windows setup imo
You wouldn't get that far if USB3 were a problem. Your problem is because the disk is either GPT, and you booted the USB stick in normal BIOS mode without EFI, or the disk is MBR, and you booted the stick in EFI mode as I mentioned earlier.
noxchoProduct ManagerCommented:
And if i ts MBR then it has already some partition on that drive which does not allow the installation wizard convert that drive into GPT if  the machine is set in UEFI now.
Erase the drive completely and try to install the OS this way.
nobusAuthor Commented:
Rindi you can be right there :"Your problem is because the disk is either GPT, and you booted the USB stick in normal BIOS mode without EFI, or the disk is MBR, and you booted the stick in EFI mode as I mentioned earlier. "
i must say i did not lookup the disk format, GPT or MBR

can you tell me how to change the bios setting  for the stick  -or where to look?
that would be helpful

noxcho  - i already did a fresh install; i made a cd from the MCT -and used that
i don't know why that does work on the system, and booting from usb does not though

still many things unclear to me, i'm afraid - but willing to learn
I have no idea what your BIOS looks like. But I have a PC with an ASUS board that is UEFI, and there in the BIOS I select Advanced, then Boot. And there I have a CSM (Compatibility Support Module) mode which I have enabled. I also have Boot Option Priorities, where I can select what can be booted from. There I can see all the options I can boot from, and if you have a USB device connected that can be booted from either normal or UEFI, you'll see it listed twice, once just as the USB stick, the other it includes UEFI.

I also see the 2 selections when I startup into the BIOS, and then I can drag the one with "UEFI" to the front.

Your laptop BIOS is probably a little different, but it should still have ways of selecting the proper option.

Besides that if you are booting from a USB stick, it has to have been setup properly first. For example if it is formatted in NTFS, UEFI setup won't work. It has to be FAT32.
noxchoProduct ManagerCommented:
nobus, remember I have had a question concerning multiboot USB stick problem? I wanted to create a multiboot USB stick which would allow me installing different Windows OS from the same stick. And guess what - I cannot. Exactly the same driver problem like yours. I could install only if I create the USB stick with Media Creation Tool for Windows 7. And this was not easy to repeat.
From DVD - it worked always ok. Something is in how the USB stick is created.
If you use WinSetupFromUSB it is easy to create a USB stick or Disk to boot several OS's. I have one with Windows 7, Windows 10 64 bit and 32 bit (The Windows 7 iso is already a combination of 32 bit and 64 bit), several different tools like paragon backup and recovery, partition manager, rescue kit, and several different Linux Distro's, and the UBCD on it. Since I formatted it in FAT32 (again via WinSetupFromUSB) I get the UEFI and normal options when booting it on a UEFI PC.
nobusAuthor Commented:
well i'm not sure i have a stick in Fat 32, and one in NTFS

btw - how can icheck if the disk is GPT or mbr?  disk manager shows ntfs partitions
In diskmanagement right click the disk (not any of the partitions) and select "Properties". Then click on the "Volumes" tab, and in Partition style you will either see "GUID partition Table (GPT)", or "Master Boot Record (MBR)".
nobusAuthor Commented:
nice to know that Rindi
i wonder why it does not show directly in disk management - seems a bit hidden, right?
Most people don't need to know, or it would just confuse them.
nobusAuthor Commented:
so -i'll resume :
-make the usb3 stick FAT32 - not NTFS
-be sure to look up if didk is GPT - or MBR
-if GPT  - boot in UEFI mode
- if MBR - compatible or MBR mode

is it necessary to use winsetup from usb?  or will other tools doit as well (eg YUMI)

***i wonder why the setup does not check that - or inform you of it; instead it gives out strange errors, like "cannot create primary partition"
Yes, yes, yes, yes. Besides that, boot the stick using a USB2 port on the PC.

I have only used WinSetupFromUSB. The other tools I haven't used. But WinSetupFromUSB has a big advantage, if an iso file is larger than 4GB, it will automatically split it so it still fits onto the FAT32 file-system. I doubt any of the other tools can do that.
nobusAuthor Commented:
ah so it may never work from an USB 3 port - meaning there is the usb 3 driver missing
in windows install, or from the mobo?
You'd have to inject the USB3 drivers into install.wim and boot.wim files of your Windows iso. Intel has a tool which can be used to do this for their nuc systems (I think you are participating in a Question here where someone is trying that), but that would only help for those particular drivers. For any others you'd have to do this manually. The link below explains how it is done for Windows 7 iso's, but it would be the same with Windows 10:

With some BIOS's you can switch USB3 to legacy USB2 mode. Then you should also be able to install the OS if you only have USB3 ports on the PC.
nobusAuthor Commented:
would that be something like their creator utility ?

anyhow - made a note of your link
nobusAuthor Commented:
tx everybody for the help
JohnBusiness Consultant (Owner)Commented:
I am always very happy to work with you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.