Error Message: Error in Function IsVolOnDrive. Incorrect function
Quote from TryingTooHard on 2022-09-12, 10:43 PMHi Steve and all,
Hoping you can point me in the right direction please?
I'm using v2.15 to create a usb boot disk, with nothing changed from default apart from selecting the UK keyboard.
The process runs until the installing grub2dos to PRB step and I get a "LockDismount" error box saying "Error in Function IsVolOnDrive. Incorrect function" with an OK button.
I click the OK and the error message reappears. I click OK again and the error message reappears, then again and again, a total of 4 times with the same error.
Clicking OK to all four of the errors then the process continues and I get to the "Add a1ive grub2 File Manager UEFI boot files to Partition 2?" prompt.
I continue the process adding the UEFI boot files and ventoys and get to the green screen.
When I try to boot from the usb it is not showing up at all, regardless of boot mode I try, i.e. UEFI secure boot on, UEFI secure boot off or 'legacy mode' so not UEFI.
Other UEFI USB boots I've made work fine on the same laptop (i.e. my Macrium Reflect Rescue Disk).
I've googled the error message title and the error message and got zero results!
Any ideas please?
Hi Steve and all,
Hoping you can point me in the right direction please?
I'm using v2.15 to create a usb boot disk, with nothing changed from default apart from selecting the UK keyboard.
The process runs until the installing grub2dos to PRB step and I get a "LockDismount" error box saying "Error in Function IsVolOnDrive. Incorrect function" with an OK button.
I click the OK and the error message reappears. I click OK again and the error message reappears, then again and again, a total of 4 times with the same error.
Clicking OK to all four of the errors then the process continues and I get to the "Add a1ive grub2 File Manager UEFI boot files to Partition 2?" prompt.
I continue the process adding the UEFI boot files and ventoys and get to the green screen.
When I try to boot from the usb it is not showing up at all, regardless of boot mode I try, i.e. UEFI secure boot on, UEFI secure boot off or 'legacy mode' so not UEFI.
Other UEFI USB boots I've made work fine on the same laptop (i.e. my Macrium Reflect Rescue Disk).
I've googled the error message title and the error message and got zero results!
Any ideas please?
Quote from TryingTooHard on 2022-09-13, 9:25 AMHey Steve, Thank you for the rapid reply.
The guide I've been following (Low Dough Tech on YouTube) showing doing the qemu test after creating the drive, but the button is ghosted out for me.
I did run it from the drive itself and I got the legacy screen.
I was thinking of trying to create the drive on another laptop to see if the error message is machine specific. I'll let you know later.
Hey Steve, Thank you for the rapid reply.
The guide I've been following (Low Dough Tech on YouTube) showing doing the qemu test after creating the drive, but the button is ghosted out for me.
I did run it from the drive itself and I got the legacy screen.
I was thinking of trying to create the drive on another laptop to see if the error message is machine specific. I'll let you know later.
Quote from SteveSi on 2022-09-13, 9:32 AMI did run it from the drive itself and I got the legacy screen.
Do you mean that QEMU successfully booted the USB drive and displayed the blue boiler-plate screen followed by loading and displaying the E2B MAIN MENU?
If so then legacy booting is working and the USB drive is probably OK - the problem is probably that your BIOS is not legacy booting.
You need to ensure CSM is enabled in the BIOS, Fast Boot is disabled, Secure Boot is disabled.
Then turn on the Lenovo and hammer the F12 key until you see the BIOS Boot Selection menu - then choose the USB boot option for the USB drive - there may be two - one for legacy and one for UEFI.
Note that many Lenovo BIOSes have a stupid Fn BIOS 'feature' set by default - this means you need to hammer Fn+F12 keys (hold down Fn and hammer F12) instead of just pressing F12!
Describe accurately what you do and what you see...
I did run it from the drive itself and I got the legacy screen.
Do you mean that QEMU successfully booted the USB drive and displayed the blue boiler-plate screen followed by loading and displaying the E2B MAIN MENU?
If so then legacy booting is working and the USB drive is probably OK - the problem is probably that your BIOS is not legacy booting.
You need to ensure CSM is enabled in the BIOS, Fast Boot is disabled, Secure Boot is disabled.
Then turn on the Lenovo and hammer the F12 key until you see the BIOS Boot Selection menu - then choose the USB boot option for the USB drive - there may be two - one for legacy and one for UEFI.
Note that many Lenovo BIOSes have a stupid Fn BIOS 'feature' set by default - this means you need to hammer Fn+F12 keys (hold down Fn and hammer F12) instead of just pressing F12!
Describe accurately what you do and what you see...
Quote from TryingTooHard on 2022-09-13, 11:56 AMThis morning I've re-created the boot usb on a different Dell XPS laptop. It built perfectly, without the error message, I also got the QEMU test button and it showed the legacy boiler plate all the way through to the menu, therefore the problem is with my main 'problem' Dell XPS laptop not your application.
It's trying to boot to the newly recreated usb in the 'problem' laptop that is the problem, I still can't see it showing in the one time boot menu (via F12).
I can change the boot mode to legacy or UEFI, with and without secure boot, so four different type of settings and the usb is not visible in any.
The usb is visible in UEFI with secure boot on (and off) on the other 'working' laptop, again suggesting the problem is with my 'problem' laptop.
What is CSM? I've not heard of that and can't find it in the Dell BIOS settings.
This morning I've re-created the boot usb on a different Dell XPS laptop. It built perfectly, without the error message, I also got the QEMU test button and it showed the legacy boiler plate all the way through to the menu, therefore the problem is with my main 'problem' Dell XPS laptop not your application.
It's trying to boot to the newly recreated usb in the 'problem' laptop that is the problem, I still can't see it showing in the one time boot menu (via F12).
I can change the boot mode to legacy or UEFI, with and without secure boot, so four different type of settings and the usb is not visible in any.
The usb is visible in UEFI with secure boot on (and off) on the other 'working' laptop, again suggesting the problem is with my 'problem' laptop.
What is CSM? I've not heard of that and can't find it in the Dell BIOS settings.
Quote from SteveSi on 2022-09-13, 12:04 PMAs you have not given the exact model of the 'bad' laptop or its age or history it is difficult to answer.
I would suggest you use Google and search for a User Manual which has details of the BIOS settings (or maybe YouTube).
If it is quite old (>3 years) you can try doing a BIOS reset to defaults?
As you have not given the exact model of the 'bad' laptop or its age or history it is difficult to answer.
I would suggest you use Google and search for a User Manual which has details of the BIOS settings (or maybe YouTube).
If it is quite old (>3 years) you can try doing a BIOS reset to defaults?
Quote from TryingTooHard on 2022-09-13, 1:40 PMGood point, I have been a bit vague there 🙂
The 'problem' laptop is a Dell XPS 13 9380 on the latest Win 10 pro and Dell updates. The 'working' laptop is Dell XPS 13 9350. Both are on the latest BIOS versions (the 'problem' is on 1.20.0 from 11/Jul/2022).
The service manual gives nothing helpful, but googling I found that this model (9380) prefers to do usb boots from the right side usb c port (I've been using both of the left side usb ports), however even using the right side port I can see the usb partition 2 under UEFI (with and without secure boot on) but selecting it only results in a black screen and a small - hyphen in the top left corner no matter how long I leave it running.
Once back into windows I've run the QEMU_MENU_TEST from the usb drive and I get the boiler plate legacy and then the main menu.
I saw in the main menu option 4 "disable UEFI64 Secure Boot (bugfix for blank screen), is this something I should do? But if I can't usb boot to get to the menu, how do I select this menu option?
Good point, I have been a bit vague there 🙂
The 'problem' laptop is a Dell XPS 13 9380 on the latest Win 10 pro and Dell updates. The 'working' laptop is Dell XPS 13 9350. Both are on the latest BIOS versions (the 'problem' is on 1.20.0 from 11/Jul/2022).
The service manual gives nothing helpful, but googling I found that this model (9380) prefers to do usb boots from the right side usb c port (I've been using both of the left side usb ports), however even using the right side port I can see the usb partition 2 under UEFI (with and without secure boot on) but selecting it only results in a black screen and a small - hyphen in the top left corner no matter how long I leave it running.
Once back into windows I've run the QEMU_MENU_TEST from the usb drive and I get the boiler plate legacy and then the main menu.
I saw in the main menu option 4 "disable UEFI64 Secure Boot (bugfix for blank screen), is this something I should do? But if I can't usb boot to get to the menu, how do I select this menu option?
Quote from SteveSi on 2022-09-13, 2:17 PMHi - yes
legacy boot (you can use the 'good' system or RMPrepUSB - F11 to run QEMU - the QEMU Menu test.cmd file won't work) and run the option 4 'disable UEFI Secure Boot)'. This is a permanent change, so you can then use the USB drive in any system (just not Secure Boot any more!).
If you have CSM enabled then you should also see an option to Legacy boot in the BIOS Boot Selection Menu...
According to the XPS 13 9380 service manual the BIOS settings have...
Advanced Boot Options - Enable Attempt Legacy Boot which enables legacy boot.
Also...
USB Configuration
Enable USB Boot Support - Enable or disable booting from USB mass storage devices such as external hard drive, optical drive, and USB drive.
Enable External USB Port - Enable or disable booting from USB mass storage devices connected to external USB port.
Hi - yes
legacy boot (you can use the 'good' system or RMPrepUSB - F11 to run QEMU - the QEMU Menu test.cmd file won't work) and run the option 4 'disable UEFI Secure Boot)'. This is a permanent change, so you can then use the USB drive in any system (just not Secure Boot any more!).
If you have CSM enabled then you should also see an option to Legacy boot in the BIOS Boot Selection Menu...
According to the XPS 13 9380 service manual the BIOS settings have...
Advanced Boot Options - Enable Attempt Legacy Boot which enables legacy boot.
Also...
USB Configuration
Enable USB Boot Support - Enable or disable booting from USB mass storage devices such as external hard drive, optical drive, and USB drive.
Enable External USB Port - Enable or disable booting from USB mass storage devices connected to external USB port.
Quote from TryingTooHard on 2022-09-13, 3:27 PMSelecting that option 4 to disable UEFI Secure Boot has done the trick on the problem machine! 🙂
Thank you for your excellent suggestions, very much appreciated.
Selecting that option 4 to disable UEFI Secure Boot has done the trick on the problem machine! 🙂
Thank you for your excellent suggestions, very much appreciated.