grub4dos icon indicating copy to clipboard operation
grub4dos copied to clipboard

grub4dos usb 2.0 driver does not work in VMWare

Open steve6375 opened this issue 7 years ago • 5 comments

If you create a Windows XP virtual machine in VMWare Player, and attach a bootable grub4dos ISO to the VM's CD, it will boot to the ISO\CD grub4dos menu. You can then attach a USB flash drive in a USB 2.0 port to the VM using the Removable Devices menu. If you boot to a plop ISO, plop will boot to USB drive. However, if you boot to a grub4dos ISO, and use the grub4dos usb --init command, it does not detect the USB drive. Is it possible to make the grub4dos usb driver work under VMWare? The reason is that the plop driver is a read-only driver and so cannot be used with grub4dos if it writes to the USB drive (e.g. default command or dd or cat --replace or partnew, etc.) and so plop cannot be used with Easy2Boot. The test ISO I used is here https://1drv.ms/u/s!AqlrQcdsFA-Km0Yim5HUlIkiTy7c It first tries to use grub4dos usb --init and if it fails it runs Plop. https://youtu.be/1ka1PVGT9mw

steve6375 avatar Feb 14 '18 22:02 steve6375

P.S. If you boot to the Plop ISO and then load grub4dos 0.4.6a (23/12/2017) and then run usb --init it works! and it finds a USB drive. But it does not work if you boot to a grub4dos ISO and run usb --init. So perhaps plop is initialising the USB controller registers in some way that then makes the grub4dos driver work? Using USB_BOOT_v2.1 boot in VMWare to the USB_BOOT_v2.1.iso attach Easy2Boot grub4dos bootable USb drive reboot to Plop! (grub4dos usb --init fails) boot to USB drive (Easy2boot or just grub4dos) run usb --init from grub4dos and it works.

steve6375 avatar Feb 15 '18 00:02 steve6375

https://1drv.ms/u/s!AqlrQcdsFA-Ko0ENBgAZ821vwj-u This is the same version with grub4dos 23/12/2017.

steve6375 avatar Feb 15 '18 00:02 steve6375

The USB driver works in a real mode and can't work in a virtual machine.

yaya2007 avatar Feb 15 '18 15:02 yaya2007

Hi, but the grub4dos USB driver DOES work in VMWare. but only if you first load the Plop! driver.

i.e. under VMWare

  1. Boot to grub4dos ISO and run usb --init - FAIL
  2. Boot to Plop! ISO and choose USB option - BOOTS
  3. Boot to Plop! - choose USB to boot to grub4dos USB drive - run usb --init - WORKS

steve6375 avatar Feb 15 '18 19:02 steve6375

@yaya2007 我觉得这个可以有 说不定能解决一些其他设备的usb2.0兼容问题

daiaji avatar Mar 12 '18 03:03 daiaji