chenall / grub4dos

外部命令和工具源码:https://github.com/chenall/grubutils 下载:
http://grub4dos.chenall.net
GNU General Public License v2.0
654 stars 136 forks source link

query: does grub4dos 0.4.6a detect floppy disks? #344

Open steve6375 opened 3 years ago

steve6375 commented 3 years ago

I do not have any systems with floppy disk drives so I cannot test, but a user booted to grub4dos 0.4.6a 2020-02 version (no menu.lst) and then did a find command in command console.

no floppy drives where listed (floppy drive + floppy disk present) User says he can see files on the disk under Windows 10.

Would you expect find command to work and list floppy drives if present?

felixkat commented 2 years ago

I'm currently seeing this problem. I have two VHD's, one XP and one Windows 7, booted via GRUB4DOS. Floppy controller is seen but no A: Drive. I converted the Windows 7 VHD back to a hard disk, booted up and the floppy drive can been seen again.

I will test older versions of grub4dos and report findings.

felixkat commented 2 years ago

Okay I can confirm that at least two versions of 0.4.6a doesn't show a "real" floppy drive in windows which are booted via VHD.

Reverting to 0.4.5c shows the floppy drive as expected. I believe this is the same issue that @steve6375 has raised.

20220303_132957

20220303_134107

felixkat commented 2 years ago

Just for completion, not that I think it's important.

20220303_131801

20220303_131620

20220303_132827

steve6375 commented 2 years ago

did you try map --floppies=1 in your menu.lst ?

felixkat commented 2 years ago

did you try map --floppies=1 in your menu.lst ?

No I hadn't tried that.

I can confirm now though that by inserting that line that the floppy is detected again in Windows on both versions of 0.4.6a that I tested previously.

So possibly not related to your issue then.

Thanks for the tip, all works fine.

steve6375 commented 2 years ago

It may be related to the original issue. I reported the issue on behalf of another user and they would not try any fix or troubleshooting. It sounds like this version of grub4dos loses or changes the number of floppies in the BIOS ??

felixkat commented 2 years ago

Yes, something infidelity has changed.

Great help with the "map --floppies=1" statement though.

I try to keep a note of some of these parameters ether from your website or reboot.pro. I can't get on reboot.pro though, I've tried signing up a few times but never receive the confirmation email.

steve6375 commented 2 years ago

If you contact me with your email address I will pass on your details to reboot. I also have ebooks available which you may find useful.

1ras commented 1 year ago

I'm not sure if its related to the initial bug report, but commit https://github.com/chenall/grub4dos/commit/5a887fc1b0c8947116bb96850cd83af854665c49 disables floppies if they are not the boot device.

I needed to revert this commit for my use case with an old computer booting DOS, otherwise the floppy is not visible by the OS.

Would be better to have it as a configuration option, but I can understand that floppies are not a priority these days.