PavelRadzevich / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

Can't map --mem third partition #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start grub4dos.exe from DOS command line.
2. press C to enter command line
3. map --mem (hd1,2)+1 (hd3)

What is the expected output? What do you see instead?
It used to load entire partition into RAM. But instead I now see the following:
probed C/H/S = 459/255/63, probed total sector 7358463
Error 28: Selected item cannot fit into memory.
But then I go back to the menu and see mem: 583K/3551M/29168M, End:3558AC

What version of the product are you using? On what operating system?
grub4dos version 0.4.6a 2012-12-31 on DOS (win98)

Please provide any additional information below.
hd0 is a bootable USB stick with DOS from Win98 and grub4dos executable.
hd1 is 120GB HDD with 3 primary partitions (MBR scheme). Drive is attached to 
ICH10R controller in RAID mode.
hd2 is another HDD detected by grub
hd3 does not exist and I use it to map memory drive

map --mem(hd1,0)+1 (hd3)   loads fine even with 12GB partition size (system 
with 32GB RAM)

I think the key is partition number. First one loads fine but not the third 
one. Could not try second partition (too big definitively).
The third partition starts at around 62GB if that matters at all.

verified the following grub4dos versions:
0.4.6a 2012.12.31 not working
0.4.6a 2012.12.12 not working
0.4.5c 2012.12.31 not working
0.4.5c 2012.12.16 not working
0.4.5c 2012.11.17 not working
0.4.5c 2012.10.02 not working
0.4.5c 2012.06.19 working
0.4.5c 2012.06.18 working
0.4.5c 2012.06.16 working

Original issue reported on code.google.com by andrius...@gmail.com on 8 Jan 2013 at 11:56

GoogleCodeExporter commented 8 years ago

Original comment by tinyb...@gmail.com on 13 Jan 2013 at 1:19

GoogleCodeExporter commented 8 years ago
Please give additional info about the contents of your (hd1,2):

cat --hex --length=80 (hd1,2)+1

Also please post the full feed-back of:

map --mem (hd1,2)+1 (hd3)

Original comment by tinyb...@gmail.com on 15 Jan 2013 at 2:06

GoogleCodeExporter commented 8 years ago
Hi thanks for looking into this. I apologize for my ignorance - don't know how 
to dump a screen into a file within grub4dos command line. But I've taken a 
photo instead. Please see file attached.

Original comment by andrius...@gmail.com on 15 Jan 2013 at 7:47

Attachments:

GoogleCodeExporter commented 8 years ago
Forgot to mention that partition sizes have changed slightly since my very 
first post. Not sure how important that is but I thought I better mention 
anyway.

Original comment by andrius...@gmail.com on 15 Jan 2013 at 7:53

GoogleCodeExporter commented 8 years ago
I have just built a test/debug version at

http://bbs.wuyou.com/viewthread.php?tid=274403

for you to download. It solved nothing, but is intended for debug the issue.

Before running the "map --mem (hd1,2)+1 (hd3)" command, run a "map --status" 
command and post the feed-back. Also please post the output of the "displaymem" 
command. Then post the feed-back of "map --mem (hd1,2)+1 (hd3)".

Original comment by tinyb...@gmail.com on 16 Jan 2013 at 2:30

GoogleCodeExporter commented 8 years ago

Original comment by andrius...@gmail.com on 16 Jan 2013 at 9:04

Attachments:

GoogleCodeExporter commented 8 years ago
It turns out your partition is too large: 143701425 sectors means more than 
70GB. You cannot load the whole partition into your deficient memory. Your 
memory is lacking.

You need to specify the --max-sectors option:

map --mem --max-sectors=13600767 (hd1,2)+1 (hd3)

Is it OK?

Original comment by tinyb...@gmail.com on 17 Jan 2013 at 12:22

GoogleCodeExporter commented 8 years ago
Oh, Sorry. It turns out to be a bug. New test build has uploaded(same link as 
mentioned above). It should have fixed the bug.

Please try it and confirm.

Original comment by tinyb...@gmail.com on 17 Jan 2013 at 7:03

GoogleCodeExporter commented 8 years ago
Hi, I can confirm this build (grub4dos-0.4.5c-2013-01-17) works fine. Many 
thanks for excellent support.

Original comment by andrius...@gmail.com on 17 Jan 2013 at 8:19

GoogleCodeExporter commented 8 years ago
Thank you for your hard work. Thank you for your report, your efforts to test, 
and the final confirmation. I can close the issue now. 

Original comment by tinyb...@gmail.com on 17 Jan 2013 at 10:36