Forum

Please or Register to create posts and topics.

Error Message: Error in Function IsVolOnDrive. Incorrect function

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?

 

Try running qemu menu test to see if legacy booting works.

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.

 

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...

 

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.

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?

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?

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.

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.

SteveSi has reacted to this post.
SteveSi

Multi-buy discount 10%

eBooks (in PDF format)

Easy-to-read eBooks are available in PDF format (each eBook is over 100 pages) – rated 4.5/5 stars.
Learn the secrets of Legacy and UEFI USB booting and then make your perfect multiboot USB drive.
E2B eBook #1 includes instructions on how to remove the E2B 5-second start-up delay blue screen.

E2B is unique in that it uses partition images which allows you to directly boot from Secure Boot images (no need to disable Secure Boot or run MOK manager or modify your UEFI BIOS).

Most eBooks are over 100 pages long, contain original content (not AI generated!) and step-by-step exercises which are suitable for both the beginner or the more experienced user.
Customer reviews are located at bottom of each eBook product page and multi-buy discounts are available when you buy more than one eBook. Please also visit RMPrepUSB.com and the E2B Forum.
Subscribe to my blog for the latest news, tips, USB boot articles and free eBook updates.