Quantcast
Channel: Reboot.pro
Viewing all articles
Browse latest Browse all 6812

Grub4Dos menu redirect problem

$
0
0

I can not seem to redirect the grub4dos menu

 

Menu.lst

#RAM Test
if "%RUN%"=="" echo Loading KGB Systems
debug off

Boot/bios int=0x15 eax=0x0000e801 > (md)0x300+1
cat --skip=24 --length=4 (md)0x300+1 | set n=
set /a MEMSIZE=0x%n%/16+16
if "%RUN%"=="" set RUN=0 && configfile /menu.lst

#if "%MEMSIZE%"=="2048" configfile /Boot/main.lst
if %MEMSIZE%<=700-1 configfile /Boot/main.lst

color border=7
splashimage /Boot/red.bmp
timeout 30
default 0

title Low RAM Warning:%MEMSIZE%MB Detected 700MB Required 
root ()

title Continue To Boot Acid_PE
configfile /Boot/main.lst

title
root ()

title Reboot
reboot
 
title Shutdown
halt

What i want to do here is to boot to the main.lst automatically if its found that their is sufficient RAM

If their is not then it will sty in this menu

Note that main.lst uses a GFX menu made by Win7PE_SE

With my tests, %MEMSIZE% dose not display a value in this GFX menu

Can You Please tell me what i am doing wrong?

 

ThanX

 

Ps: is their a way to find out what tipe of processor is being used?

Because socket 1155,1156 MB's seems to use a different tipe of  memory addressing method

where the script above shows a max of 512MB RAM available on these MB tipe, even if their is like 4GB installed

 

I would like to just give a warning that a sock 1155 is being used and that the Ram Check May be invalid

 

 

 


Viewing all articles
Browse latest Browse all 6812

Trending Articles