Jump to content











Photo
- - - - -

Switch GRUB4DOS to use APM or ACPI


  • Please log in to reply
7 replies to this topic

#1 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 231 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, EFI, Coreboot, MS VirtualPC, VMware
  •  
    European Union

Posted 21 December 2015 - 05:26 AM

Hi. I like G4D but on my ThinkPad X61 in any virtual machine G4D use 100% CPU. CPU temperature is high and the fan noise strongly.
In DOS use tools IDLE.COM or FDAPM:
LH FDAPM APMDOS
Please read this blog's to understand what I mean:
 
Why does DOS use 100% CPU under Virtual PC?
DOS guest in VirtualBox is heating up the host machine

Is it possible to do something to G4D using APM?
Thx.

#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7075 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 21 December 2015 - 09:10 AM

Grub4dos will need to be modified. You can submit a request here:

https://github.com/c...grub4dos/issues



#3 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 231 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, EFI, Coreboot, MS VirtualPC, VMware
  •  
    European Union

Posted 21 December 2015 - 01:39 PM

OK, I submitted request on https://github.com/c...b4dos/issues/89

#4 tinybit

tinybit

    Gold Member

  • Developer
  • 1158 posts
  •  
    China

Posted 23 December 2015 - 02:07 AM

It is a known problem.

 

It could be solved by adding a HLT instruction within the getkey loop.

 

But the HLT instruction will cause other problems.

 

Some hardware virtualization softwares will hangup at a HLT instruction. Grub4DOS cannot successfully boot up under those virtualization softwares.

 

I think you should ignore this problem.



#5 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 231 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, EFI, Coreboot, MS VirtualPC, VMware
  •  
    European Union

Posted 23 December 2015 - 10:02 AM

I think you should ignore this problem.

On other computers where CPU fan runs at a constant speed in fact no problem and can be ignored.
The most bothered when using the G4D command line.

#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 23 December 2015 - 04:14 PM

Hi. I like G4D but on my ThinkPad X61 in any virtual machine G4D use 100% CPU. 

 

 

Last time I ran grub4dos in Qemu (actually Qemu Manager) the VM usage stayed at 50% CPU load, maybe it applies to VirtualBox only (or on your specific ThinkPad only)  :dubbio:

 

:duff:

Wonko



#7 tinybit

tinybit

    Gold Member

  • Developer
  • 1158 posts
  •  
    China

Posted 23 December 2015 - 04:28 PM

grub4dos is just a bootloader. it is not an OS. most people, in most cases,
only use it to boot up an OS, such as Windows and Linux. people seldom work under
grub4dos for a very long period of time.

On the other hand, it is important for a bootloader to work fine in various environments.
A bootloader should avoid hangups as long as possible.

#8 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 231 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, EFI, Coreboot, MS VirtualPC, VMware
  •  
    European Union

Posted 23 December 2015 - 07:53 PM

grub4dos is just a bootloader. it is not an OS. most people, in most cases,
only use it to boot up an OS, such as Windows and Linux. people seldom work under
grub4dos for a very long period of time.

On the other hand, it is important for a bootloader to work fine in various environments.
A bootloader should avoid hangups as long as possible.

Yes, you are absolutely right and probably better to ignore the problem. To learn G4D commands better to use a different, quiet computer e.g. fanless Thin Client :-)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users