Comments (12)
from grub.
UEFI BIOS?
from grub.
I can automatically select a 32-bit install of Windows from a dual architecture ISO if the system has <4GB of RAM.
You can't boot/install a 32-bit Windows if UEFI firmware is 64-bit.
from grub.
Sure , in that case I was thinking of Legacy boot.
But you can run Linux 32-bit kernels from UEFI64 boot (for instance).
from grub.
But you can run Linux 32-bit kernels from UEFI64 boot (for instance).
compatibility of 32-bit linux is bad. It doesn't work no some tablets with 64-bit CPU/UEFI.
besides many linux distros (eg. Ubuntu) have dropped support for 32-bit.
from grub.
Sure , in that case I was thinking of Legacy boot.
How to get the total amount of RAM in grub4dos?
from grub.
set /a M=*0x8298 & 0xffffffff>>10+1 > nul && set /a M1=*0x82c0>>10+1 > nul
set /a M=%M% + %M1% > nul
grub4dos has documented memory location where it is stored.
0000:8298 4 (DWORD) saved_mem_upper (extended memory size in KB)
0000:82C0 8 (QWORD) saved_mem_higher (max contiguous mem in KB starting at 4G
can do a BIOS call, int15 e820h
https://wiki.osdev.org/Detecting_Memory_(x86)#BIOS_Function:_INT_0x15.2C_EAX_.3D_0xE820
See grub4dos stage2\common.c for code.
from grub.
That is showing memory above 4GB
You need to add up all conv-mem entries to get total memory?
from grub.
What variable is the result returned in?
--set=VAR work ?
from grub.
download latest build.
stat -q -r -s a
echo $a
from grub.
Thanks. MBR result agrees with grub4dos within +/-1. 👍
from grub.
Thanks - great work!
from grub.
Related Issues (20)
- 截屏模块 和 某些命令 的问题。 HOT 12
- Request: Disable menu 'c' and 'e' hotkeys HOT 6
- put nointegritychecks to OSLOADER HOT 1
- add an option to load bootvhd.dll (i386-pc/ntboot)
- Load SeaBIOS/TianoCore HOT 1
- Question: dd status=progress? HOT 8
- getkey key codes for Ctrl+Shift+F HOT 20
- 为什么ntboot不支持光盘? HOT 1
- Ignore floppies
- 在Ubuntu18.04 x86_64中编译aarch64 HOT 1
- menuentry --help-msg buggy HOT 10
- Query: Are variables in a theme .txt file supported? HOT 2
- NTBOOT 没有启动动画 HOT 8
- wimboot BIOS fails for WinPE WIMs larger than 890MB HOT 10
- how to build HOT 1
- set fallback=1 it not work? HOT 1
- GRUB does not create menu entries
- Request adding support for zstd compressed squashfs files.
- What changes can be upstreamed? HOT 13
- Wimboot.mod in UEFI mode loads only first image in wim file when index is not 1. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grub.