Code Monkey home page Code Monkey logo

grub4dos-chenall's People

Watchers

 avatar

grub4dos-chenall's Issues

ISO booting

What steps will reproduce the problem?
1. builds from 03-09-2010 (03-09-2010 seems to work)
2.
3.

What is the expected output? What do you see instead?
expected output is to have iso's known to boot. error 25 disk read error is
what i get with g4d builds after 3-09-2010

What version of the product are you using? On what operating system?
grldr on windows xp(ntfs), iso's on different partition (fat32)

Please provide any additional information below.
also using a gfx menu, using seagate 250gb usb drive

Original issue reported on code.google.com by [email protected] on 23 May 2010 at 12:38

Panic whend booting xen with latest build, works with 0.4.4 2009-10-16

How to reproduce:

Boot xen on some hardwares (by ex HP DL380 G4).

The multiboot loader loads the Dom0 kernal at a wrong adress. Seems like an A20 
gate issue because the loading adress has the 20th bit forced to 1


Output from the console with 0.4.5b 2011-01-11 (non working version):
...
kernel grub.exe: Trying to turn on A20 gate ...

kernel grub.exe: A20 gate turned on OK!

Launching GRUB...

Get lower memory... 
Get upper memory... 
Turning on gate A20...            

Get E820 memory...

begin pxe scan...
Starting cmain() ... No PXE stack
GRUB4DOS 0.4.5b 2011-01-11, Mem: 637K/2046M/0M, End: 351F47 
Booting Xen -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.24-0.2

Filesystem type is ext2fs, partition type 0x83
[Multiboot-elf, <0x100000:0x16a000:0x256000>, shtab=0x14c0078, entry=0x100000] 
[0M/10M] [8M/10M]
[Multiboot-module @ 0x14c1000, 0xa8ebd0 bytes] [0M/15M] [8M/15M]
[Multiboot-module @ 0x1f50000, 0xfb7e00 bytes]
...

Output with working version (0.4.4 2009-10-16), note the the loading adresses 
are now the same as grub 0.97:
...
kernel grub.exe: Trying to turn on A20 gate ...

kernel grub.exe: A20 gate turned on OK!

Launching GRUB...

Get lower memory... 
Get upper memory... 
Turning on gate A20...

Get E820 memory...

begin pxe scan...
Starting cmain() ... No PXE stack

GRUB4DOS 0.4.4 2009-10-16, Memory: 637K / 2046M, MenuEnd: 0x4911F
Booting Xen -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.24-0.2

Filesystem type is ext2fs, partition type 0x83
[Multiboot-elf, <0x100000:0x16a000:0x256000>, shtab=0x4c0078, entry=0x100000]
[Multiboot-module @ 0x4c1000, 0xa8ebd0 bytes]
[Multiboot-module @ 0xf50000, 0xfb7e00 bytes]
...

Regards

Original issue reported on code.google.com by [email protected] on 12 Jan 2011 at 1:27

Improvement: conditional title skip command

What steps will reproduce the problem?
1. If an ISO or IMG etc file does not exist, it would be nice to suppress the 
whole menu entry for that ISO/IMG

e.g. if xx.iso does not exist do not list the entry in the menu.

if not exist /xx.iso skipentry
title boot using xx.iso
ffff (valid commands)
ffff
ffff


title boot to DOS
aaaaa
aaaaa
aaaaa



2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

This means you could have a large menu.lst containing many entires but just add 
the OS source files that you want and only valid menu options listed instead of 
all of them.


Original issue reported on code.google.com by Steve6375 on 11 Nov 2011 at 10:38

Can not found GRLDR on FAT32

What steps will reproduce the problem?
1. install on 16G FAT32 USB stick
2. MY PC is Pentium III 1000Mhz old machine, and have put grldr on /
3. I've tried two BIOS set as USB FDD or USB ZIP, both display 
BIOS: Drive=0x0, H=2, S=18
TUNE: Drive=0x0, H=2, S=9

Try (fd0): FAT32: No GRLDR

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
20110128

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Feb 2011 at 4:36

Wrong data read from USB drive > 128GiB (on ASUS P5Q PRO)

From http://www.boot-land.net/forums/index.php?showtopic=11684
ASUS P5Q PRO BIOS cannot correctly read data in sector 0x1000002f and beyond 
from USB drive.
biosdisk(BIOSDISK_READ,...) return success but with wrong data in the buffer. 
The buffer is not modified.  It still have old data from before the call. 
This results in wrong data in mapped drive when disk image file is beyond the 
BIOS limit. 

What is the expected output? 
GRUB4DOS show error message when it try to read unreadable sectors. 

What do you see instead?
No error message when it read unreadable sectors. 

I think this is BIOS bug.

Suggestion to work around this BIOS bug/limitation.  
GRUB4DOS writes some data to buffer before it calls BIOS to read disk.  
After the call, if data in the buffer is the same as before the call, the read 
data is probably wrong.  
When that happens, write different data to buffer and read disk again.  
If the read data is different from previous read, it is bad.  
Patch file is attached.

Original issue reported on code.google.com by [email protected] on 9 Dec 2010 at 2:35

Attachments:

cat always reports hex locations of found strings on screen

What steps will reproduce the problem?
1. cat --locate=c /menu.lst  display hex locations of matches on screen
2. using debug 0 or debug off should prevent this but it does not
3.

What is the expected output? What do you see instead?
get hex strings


What version of the product are you using? On what operating system?
0.4.5b 2011-11-03

Please provide any additional information below.


Original issue reported on code.google.com by Steve6375 on 11 Nov 2011 at 10:21

preset menu.lst failed

What steps will reproduce the problem?
1. ./configure --enable-preset-menu=preset_menu.lst
2. make
3. copy the new grldr to boot disk

What is the expected output? What do you see instead?
I wish grldr could access my /grub/menu.lst automatically, but failed.


What version of the product are you using? On what operating system?
svn r149. And archlinux.

Please provide any additional information below.
I use preset_menu.lst whic.h already prepared in src directory

Original issue reported on code.google.com by [email protected] on 28 Mar 2011 at 7:15

[PATCH] adding PC-DOS/MS-DOS chainloading support

Please use labels and text to provide additional information.
I'm NOT going to apply this patch in this moment as chainloading PC DOS is 
minor and the patch is large when comparing other chainloading methods, if you 
have any requests, please comment in this issue.

Original issue reported on code.google.com by [email protected] on 18 May 2011 at 6:54

help echo does not produce any help text

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by Steve6375 on 21 Aug 2011 at 2:52

[PATCH] Add ReactOS freeldr chainloading support

Please provide any additional information below.
I think it is nice to support chainloading freeldr in this moment now. The 
following patch enables chainloading ReactOS freeldr.sys in Grub4DOS.

Original issue reported on code.google.com by [email protected] on 5 May 2011 at 1:59

"root | set var" doesn't get whole line in %var% since r156

What steps will reproduce the problem?
1.Press [c] key in menu to go to command prompt
2.type "root | set var" (without quote) and press [Enter] key
3.type "set var" (without quote) and press [Enter] key to see the result

What is the expected output? What do you see instead?
It should display something like "var=(fd0) Filesystem is fat, using whole disk"
But it is "var=Filesystem is fat, using whole disk" since r156

What version of the product are you using? On what operating system?
grub4dos-0.4.5b-2011-04-29.7z

Please provide any additional information below.
Although the new method (i.e. %@root%) works, the old method (i.e. "command | 
set var") should work for compatibility.

Original issue reported on code.google.com by [email protected] on 30 Apr 2011 at 7:15

LZMA decompression

I have adapted LZMA decompression code from LZMA SDK ( 
http://www.7-zip.org/sdk.html ) for use with GRUB4DOS. 
Patch file is attached. 

I have tested it with cat command, it seems to work. 
However, map command cannot be used .lzma file created from LZMA Utils or XZ 
Utils ( http://tukaani.org/ ) directly.  It needs "Uncompressed Size" field in 
.lzma file header (8-byte integer starting at byte offset 5).  You may use hex 
editor to write this value in .lzma file header before using it with map 
command. 

Original issue reported on code.google.com by [email protected] on 28 Nov 2010 at 3:39

Attachments:

0.4.5a and 5b do not support map of .gz file

What steps will reproduce the problem?
1. use map --mem /somefile.gz
2.
3.

What is the expected output? What do you see instead?
Error 13: Invalid or unsupported executable format

What version of the product are you using? On what operating system?
0.4.5a and latest 27/11 0.4.5b

Please provide any additional information below.
documentation says .gz map is supported???

Original issue reported on code.google.com by Steve6375 on 28 Nov 2010 at 12:56

cursor key > 30 times

What steps will reproduce the problem?
1. Create menu with 32 menu items
2. press KEY_DOWN key 30 times
3. 5 second countdown starts

What is the expected output? What do you see instead?
countdown should not start

Also happens with v,^,left,right,up,down.

What version of the product are you using? On what operating system?
latest/all builds

Please provide any additional information below.

Suggest code in stage2.c
//    if (!old_c_count_end && c == old_c && (old_c_count >= 30 || (old_c_count 
>= 8 && c != KEY_DOWN /*&& c != KEY_RIGHT*/ && c != KEY_UP /*&& c != 
KEY_LEFT*/)))
      if (!old_c_count_end && c == old_c && old_c_count >= 8 && c != KEY_LEFT  && c != KEY_RIGHT  && c != KEY_DOWN  && c != KEY_UP && ((char)c) != '^' && ((char)c) != 'v')
        grub_timeout = 5;


in addition would be nice to have a debug setting to turn this off (or indeed 
turn all old dumb_terminal/vt52 features off using a grub4dos command - e.g. 
terminal disable  )


Original issue reported on code.google.com by Steve6375 on 16 Jun 2011 at 10:23

grub.exe fails to load using kexec

What steps will reproduce the problem?
1. boot a linux
2. run kexec -l grub.exe # or badgrub.exe
3. run kexec -e
4. observe the message "Launching GRUB..." Nothing happens after that.

What is the expected output? What do you see instead?
Start GRUB and wait for input on the GRUB-prompt.


What version of the product are you using? On what operating system?
I tried it wit different linux distributions (all kernel 3.0+) and most recent 
grub4dos-chenall trunk.
I tried it on two computers (netbook and desktop) aswell as a qemu VM all with 
the same result so I guess its pretty much hardware independent.


Please provide any additional information below.
I did not find a convenient way to debug the grub loader. Any help on debugging 
is apretiated too - I might be able to fix it myself I didn't find a good entry 
point to the code yet though.

The ultimate goal of this project is to be able to start windows from a 
graphical menu from inside Linux. With the Windows replacing the Linux 
completely. If possible I will try to get ipxe running from grub4dos so that 
OSes can be bootet over network. But first of all grub4dos needs to run.


Original issue reported on code.google.com by [email protected] on 4 Oct 2011 at 8:42

pxe boot broken since 2010-5-2 (2010-4-20 still ok)

What steps will reproduce the problem?
1. copy grldr on tftp server
2. pxe boot ==> up to 2010-4-20 is working good
3. builds 2010-5-2 and after fails

What is the expected output? What do you see instead?
search for config file icluding portion of MAC address
instead it hangs after DHCP request

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by ruymbeke on 19 May 2010 at 8:04

Attachments:

Suppress menu item at top right of screen

What steps will reproduce the problem?
1. Use cursor key or number key
2.
3.

What is the expected output? What do you see instead?
Menu item is always displayed at top right and cannot be suppressed

What version of the product are you using? On what operating system?
All

Please provide any additional information below.

Suggest adding code to Stage2.c   if (debug > 0)  , then if debug off or debug 
-1, the menu item number will not be displayed.


gotoxy (MENU_BOX_E - 4, MENU_BOX_Y - 2);
if (debug > 0 ) grub_printf ("%3d ", (first_entry + entryno));
gotoxy (MENU_BOX_E, MENU_BOX_Y + entryno);


Original issue reported on code.google.com by Steve6375 on 15 May 2011 at 2:18

Cannot find grldr

What steps will reproduce the problem?
I have grub4dos installed on my usb drive. The drive is formatted with ntfs5 
and it boots into an ISO located on the ntfs5 partition.

Everything works fine on all computers with EIDE drivers i have. 

But on computers with SATA drives i get the message "cannot find grldr" (see 
below)

What is the expected output? What do you see instead?

Try (hd0,0): NTFS5: 2
Try (hd0,1): invalid or null
Try (hd0,2): invalid or null
Try (hd0,3): invalid or null
Try (hd1,0): NTFS5: No grldr
Try (hd1,1): NTFS5: No grldr
Try (hd1,2): invalid or null
Try (hd1,3): invalid or null
Cannot find grldr

What version of the product are you using? On what operating system?

grub4dos-0.4.5b-2011-07-24

Please provide any additional information below.

The usb-drive contains only one primary, active partition.

menu.lst:
timeout 0
title ISO on HDD
find --set-root /microcore-current.iso
map --mem /microcore-current.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)

What does "NTFS: 2" mean?

Original issue reported on code.google.com by [email protected] on 25 Jul 2011 at 8:42

How to switch to harddisk when usb is not plugin?

I have a NB, c:/menu.lst
And a USB d:/menu.lst

I wish when I plugin USB, it boot from USB.
When the USB plug-out, it .boot from c:/menu

So, I set c:/menu.lst as

title boot from usb
find --set-root /usb.tag
configfile /menu.lst
fallback 1

title boot c:/ windows
....


What steps will reproduce the problem?
When I boot from my c:/ without USB, it will failed on first title with error 
code 15.

What is the expected output? What do you see instead?
I want it automatic jump to 2nd title.

What version of the product are you using? On what operatigng system?
2011-02-21 grub4dos-chenall

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Mar 2011 at 11:53

Cosmetic bug: background in command line

What steps will reproduce the problem?
1. Set a background image through the splashimage command (either in the 
command line or directly in a menu.lst startup command)
2. The menu list will correctly have that background
3. The command line screen (hit 'c') will not

Up until the 2011-11-03 version, the command line would have the background 
image defined in splashimage. From version 2011-11-04 onwards it no longer does 
that, it always has a black background. Hitting 'Esc' to go back to the grub 
menu it still has the correct background, only the command line screen doesn't.


Original issue reported on code.google.com by [email protected] on 20 Nov 2011 at 9:45

(bd) not valid after drive mapping is hooked

What steps will reproduce the problem?
1. use map (hd1) (hd0), map (hd0) (hd1), map --hook
2. now ls (bd)/ lists wrong drive - actually hd1 and not boot drive
3.

What is the expected output? What do you see instead?
(bd) should be boot device even after remapped

What version of the product are you using? On what operating system?
Latest 

Please provide any additional information below.
if (bd) is (hd0,0) and then remap hdo to hd1, (bd) should now point to (hd1,0).

If this cannot be fixed then should be documented.


Original issue reported on code.google.com by Steve6375 on 25 Jun 2011 at 9:06

Unable to boot when using r135

I've been testing different builds and updating every so often and it'd seem as 
though after updating to r135 GRUB can no longer identify any of my partitions. 
If I switch back to r134 then I can boot perfectly fine.

I can only guess the GPT changes are interfering but I'm not sure what else I 
can provide to help. I can tell you that using the geometry command the output 
is just "drive 0x80(LBA): C/H/S=1024/255/63, Sector Count/Size=1953521664/512".

Original issue reported on code.google.com by [email protected] on 9 Feb 2011 at 8:44

help --all has some strange graphics characters in the list of commands

What steps will reproduce the problem?
1.  help --all
2.  two strange graphics characters occur - e.g. after calc, displaymem, 
gfxmenu,hiddenflag, initrd, and testvbe (twice)
3.

What is the expected output? What do you see instead?
no funny <£ symbols

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by Steve6375 on 21 Aug 2011 at 2:51

only support one usb stick when boot?

My eeepc has a SSD disk and a SD card and could plugin usb sticks.

What steps will reproduce the problem?
1. Without any usb stick, I could boot from SSD disk, then launch linux on SD 
card.  
2. With one usb stick plugin, the system seems only understood usb stick, and 
the SD card is missing in GRUB4dos's device list when booting.

What is the expected output? What do you see instead?
I wish grub4dos could work well even more usb sticks plugin to my eeepc.

What version of the product are you using? On what operating system?
svn r.143

Original issue reported on code.google.com by [email protected] on 27 Mar 2011 at 1:52

grub2 doesn't work !!!

I think there is a bug, in version grub4dos-0.4.5b-2011-10-21 grub2 from my 
ubuntu and vboot loader doesn't work !!!

Original issue reported on code.google.com by [email protected] on 21 Oct 2011 at 8:59

MS-DOS PBR is corrupted when grub4dos code installed to PBR

What steps will reproduce the problem?
1. Format 4GB USB drive as 63 spt 255hds geometry
2. Add io.sys, command.com - check boots OK (in Qemu)
3. Install grub4dos (from Windows 7 as Admin) using grubinst 
--install-partition=0 (hd1)
4. Add menu.lst with just chainloader /io.sys  command
5. Boot using Qemu - result is get error
Will boot to MS-DOS 7.x from drive=0x80, partition=0x0(hidden sectors=0x3f)
Type the name of the Command Interpreter (e.g., C:\WINDOWS\COMMAND.COM)
C>


PBR is corrupt

What is the expected output? What do you see instead?
Does not happen if install grub4dos to MBR.
Does not happen if install grub4dos to USB with 32 SPT geometry.


What version of the product are you using? On what operating system?
0.4.5b and 0.4.3a

Please provide any additional information below.


Format USB 4GB or 8GB stick


[Sector 0]  0MB
0000 33 C0 8E D0 BC 00 7C 8E - C0 8E D8 BE 00 7C BF 00  3ÀŽÐ¼.|Ž 
ÀŽØ¾.|¿.
0010 06 B9 00 02 FC F3 A4 50 - 68 1C 06 CB FB B9 04 00  .¹..üó¤P h�.Ëû¹..
0020 BD BE 07 80 7E 00 00 7C - 0B 0F 85 10 01 83 C5 10  ½¾.€~..| 
.�…�.ƒÅ�
0030 E2 F1 CD 18 88 56 00 55 - C6 46 11 05 C6 46 10 00  âñÍ�ˆV.U ÆF�.ÆF�.
0040 B4 41 BB AA 55 CD 13 5D - 72 0F 81 FB 55 AA 75 09  ´A»ªUÍ�] r��ûUªu.
0050 F7 C1 01 00 74 03 FE 46 - 10 66 60 80 7E 10 00 74  ÷Á..t.þF �f`€~�.t
0060 26 66 68 00 00 00 00 66 - FF 76 08 68 00 00 68 00  &fh....f ÿv.h..h.
0070 7C 68 01 00 68 10 00 B4 - 42 8A 56 00 8B F4 CD 13  |h..h�.´ BŠV.‹ôÍ�
0080 9F 83 C4 10 9E EB 14 B8 - 01 02 BB 00 7C 8A 56 00  ŸƒÄ�žë�¸ 
..».|ŠV.
0090 8A 76 01 8A 4E 02 8A 6E - 03 CD 13 66 61 73 1E FE  Šv.ŠN.Šn .Í�fas�þ
00A0 4E 11 0F 85 0C 00 80 7E - 00 80 0F 84 8A 00 B2 80  N��…..€~ 
.€�„Š.²€
00B0 EB 82 55 32 E4 8A 56 00 - CD 13 5D EB 9C 81 3E FE  ë‚U2äŠV. 
Í�]ëœ�>þ
00C0 7D 55 AA 75 6E FF 76 00 - E8 8A 00 0F 85 15 00 B0  }Uªunÿv. èŠ.�…�.°
00D0 D1 E6 64 E8 7F 00 B0 DF - E6 60 E8 78 00 B0 FF E6  Ñædè�.°ß 
æ`èx.°ÿæ
00E0 64 E8 71 00 B8 00 BB CD - 1A 66 23 C0 75 3B 66 81  dèq.¸.»Í �f#Àu;f�
00F0 FB 54 43 50 41 75 32 81 - F9 02 01 72 2C 66 68 07  ûTCPAu2� ù..r,fh.
0100 BB 00 00 66 68 00 02 00 - 00 66 68 08 00 00 00 66  »..fh... .fh....f
0110 53 66 53 66 55 66 68 00 - 00 00 00 66 68 00 7C 00  SfSfUfh. ...fh.|.
0120 00 66 61 68 00 00 07 CD - 1A 5A 32 F6 EA 00 7C 00  .fah...Í �Z2öê.|.
0130 00 CD 18 A0 B7 07 EB 08 - A0 B6 07 EB 03 A0 B5 07  .Í� ·.ë. 
 ¶.ë. µ.
0140 32 E4 05 00 07 8B F0 AC - 3C 00 74 FC BB 07 00 B4  2ä...‹ð¬ 
<.tü»..´
0150 0E CD 10 EB F2 2B C9 E4 - 64 EB 00 24 02 E0 F8 24  �Í�ëò+Éä 
dë.$.àø$
0160 02 C3 49 6E 76 61 6C 69 - 64 20 70 61 72 74 69 74  .ÃInvali d partit
0170 69 6F 6E 20 74 61 62 6C - 65 00 45 72 72 6F 72 20  ion tabl e.Error 
0180 6C 6F 61 64 69 6E 67 20 - 6F 70 65 72 61 74 69 6E  loading  operatin
0190 67 20 73 79 73 74 65 6D - 00 4D 69 73 73 69 6E 67  g system .Missing
01A0 20 6F 70 65 72 61 74 69 - 6E 67 20 73 79 73 74 65   operati ng syste
01B0 6D 00 00 00 00 62 7A 99 - A1 EA E8 D7 00 00 80 01  m....bz™ 
¡êè×..€.
01C0 01 00 0C FE 7F E7 3F 00 - 00 00 A9 9F 77 00 00 00  ...þ�ç?. ..©Ÿw...
01D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 55 AA  ........ ......Uª

========= END OF SECTOR DATA ================


Partition 1 (SIZE=3.738GB)  Type: C FAT32LBA (2047GB max) ACTIVE
START POS = CYL:0 HD:1 SEC:1  END POS = CYL:487 HD:254 SEC:63
START (LBA) = 63 (3F)   SIZE (LBA) = 7839657 (779FA9)


2. Install grub4dos from Win 7 as Administrator using grubinst 
--install-partition=0 (hd1)

get valid PBR

[Sector 63]  0MB
0000 EB 58 90 47 52 4C 44 52 - 20 20 20 00 02 08 22 00  ëX�GRLDR    ...".
0010 02 00 00 00 00 F8 00 00 - 3F 00 FF 00 3F 00 00 00  .....ø.. ?.ÿ.?...
0020 A9 9F 77 00 E9 1D 00 00 - 00 00 00 00 02 00 00 00  ©Ÿw.é�.. ........
0030 01 00 06 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0040 80 01 29 AA 72 99 BB 4E - 4F 20 4E 41 4D 45 20 20  €.)ªr™»N O NAME  
0050 20 20 46 41 54 33 32 20 - 20 20 FA FC B6 00 80 FE    FAT32    úü¶.€þ
0060 FF 75 02 B2 00 31 C0 8E - D8 BD 00 7C 8E C0 8E D0  ÿu.².1ÀŽ 
ؽ.|ŽÀŽÐ
0070 8D 66 E0 FB 89 56 40 B4 - 41 BB AA 55 CD 13 72 10  �fàû‰V@´ 
A»ªUÍ�r�
0080 81 FB 55 AA 75 0A F6 C1 - 01 74 05 C6 06 8F 7D 42  �ûUªu.öÁ .t.Æ.�}B
0090 66 31 C0 66 89 46 44 8B - 46 0E 66 03 46 1C 66 89  f1Àf‰FD‹ F�f.F�f‰
00A0 46 48 66 89 46 4C 66 8B - 46 10 66 F7 66 24 66 01  FHf‰FLf‹ F�f÷f$f.
00B0 46 4C 66 8B 46 2C 66 50 - E8 8A 00 BE B8 7D 0F 82  FLf‹F,fP 
èŠ.¾¸}�‚
00C0 2F 01 C4 9E E8 01 E8 98 - 00 31 FF B9 0B 00 BE BB  /.Äžè.è˜ 
.1ÿ¹..¾»
00D0 7D F3 A6 74 15 83 C7 20 - 83 E7 E0 3B 7E 0B 75 EB  }ó¦t�ƒÇ  
ƒçà;~.uë
00E0 4A 75 DF 66 58 E8 29 00 - EB CC 26 FF 75 09 26 FF  JußfXè). ëÌ&ÿu.&ÿ
00F0 75 0F 66 58 31 DB 66 50 - E8 4A 00 73 07 8B 56 40  u�fX1ÛfP èJ.s.‹V@
0100 FF AE E8 01 E8 5A 00 4A - 75 FA 66 58 E8 02 00 EB  ÿ®è.èZ.J uúfXè..ë
0110 E5 06 53 66 C1 E0 02 66 - 0F B7 5E 0B 66 F7 F3 66  å.SfÁà.f �·^.f÷óf
0120 03 46 48 BB 60 00 8E C3 - 31 DB 66 3B 46 44 74 07  .FH»`.ŽÃ 1Ûf;FDt.
0130 66 89 46 44 E8 2A 00 67 - 26 80 62 03 0F 67 66 26  f‰FDè*.g &€b.�gf&
0140 8B 02 5B 07 C3 66 3D F8 - FF FF 0F F5 72 12 66 48  ‹.[.Ãf=ø ÿÿ�õr�fH
0150 66 48 66 0F B6 56 0D 52 - 66 F7 E2 5A 66 03 46 4C  fHf�¶V.R f÷âZf.FL
0160 C3 66 60 66 31 D2 66 52 - 66 50 06 53 6A 01 6A 10  Ãf`f1ÒfR fP.Sj.j�
0170 66 31 C9 66 FF 76 18 59 - 66 F7 F1 42 59 52 31 D2  f1Éfÿv�Y f÷ñBYR1Ò
0180 66 F7 F1 86 D6 59 86 C5 - C0 E4 06 08 E1 B8 01 02  f÷ñ†ÖY†Å 
Àä..á¸..
0190 89 E6 8A 56 40 CD 13 61 - 66 61 72 52 66 40 03 5E  ‰æŠV@Í�a farRf@.^
01A0 0B 73 09 52 8C C2 80 C6 - 10 8E C2 5A C3 64 69 73  .s.RŒÂ€Æ 
�ŽÂZÃdis
01B0 6B 20 65 72 72 6F 72 00 - 4E 6F 20 47 52 4C 44 52  k error. No GRLDR
01C0 20 20 20 20 20 20 00 00 - 00 00 00 00 00 00 00 00        .. ........
01D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01E0 00 00 00 00 00 00 00 00 - 00 00 00 20 BB 59 BE AD  ........ ... »Y¾­
01F0 7D AC B4 0E CD 10 3C 00 - 75 F7 EB FE 00 00 55 AA  }¬´�Í�<. u÷ëþ..Uª

Step 3 - boot to MSDOS via chainloader /io.sys

Get error
Will boot to MS-DOS 7.x from drive=0x80, partition=0x0(hidden sectors=0x3f)
Type the name of the Command Interpreter (e.g., C:\WINDOWS\COMMAND.COM)
C>

PBR now corrupt


[Sector 63]  0MB
0000 EB 58 90 47 52 4C 44 52 - 20 20 20 00 02 08 22 00  ëX�GRLDR    ...".
0010 02 00 00 00 00 F8 00 00 - 3F 00 FF 00 3F 00 00 00  .....ø.. ?.ÿ.?...
0020 A9 9F 77 00 E9 1D 00 00 - 00 00 00 00 02 00 00 00  ©Ÿw.é�.. ........
0030 01 00 06 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0040 80 00 29 AA 72 99 BB 4E - 4F 20 4E 41 4D 45 20 20  €.)ªr™»N O NAME  
0050 20 20 46 41 54 33 32 20 - 20 20 FA FC B6 00 80 FE    FAT32    úü¶.€þ
0060 FF 75 02 B2 00 31 C0 8E - D8 BD 00 7C 8E C0 8E D0  ÿu.².1ÀŽ 
ؽ.|ŽÀŽÐ
0070 8D 66 E0 FB 89 56 40 B4 - 41 BB AA 55 CD 13 72 10  �fàû‰V@´ 
A»ªUÍ�r�
0080 81 FB 55 AA 75 0A F6 C1 - 01 74 05 C6 06 8F 7D 42  �ûUªu.öÁ .t.Æ.�}B
0090 66 31 C0 66 89 46 44 8B - 46 0E 66 03 46 1C 66 89  f1Àf‰FD‹ F�f.F�f‰
00A0 46 48 66 89 46 4C 66 8B - 46 10 66 F7 66 24 66 01  FHf‰FLf‹ F�f÷f$f.
00B0 46 4C 66 8B 46 2C 66 50 - E8 8A 00 BE B8 7D 0F 82  FLf‹F,fP 
èŠ.¾¸}�‚
00C0 2F 01 C4 9E E8 01 E8 98 - 00 31 FF B9 0B 00 BE BB  /.Äžè.è˜ 
.1ÿ¹..¾»
00D0 7D F3 A6 74 15 83 C7 20 - 83 E7 E0 3B 7E 0B 75 EB  }ó¦t�ƒÇ  
ƒçà;~.uë
00E0 4A 75 DF 66 58 E8 29 00 - EB CC 26 FF 75 09 26 FF  JußfXè). ëÌ&ÿu.&ÿ
00F0 75 0F 66 58 31 DB 66 50 - E8 4A 00 73 07 8B 56 40  u�fX1ÛfP èJ.s.‹V@
0100 FF AE E8 01 E8 5A 00 4A - 75 FA 66 58 E8 02 00 EB  ÿ®è.èZ.J uúfXè..ë
0110 E5 06 53 66 C1 E0 02 66 - 0F B7 5E 0B 66 F7 F3 66  å.SfÁà.f �·^.f÷óf
0120 03 46 48 BB 60 00 8E C3 - 31 DB 66 3B 46 44 74 07  .FH»`.ŽÃ 1Ûf;FDt.
0130 66 89 46 44 E8 2A 00 67 - 26 80 62 03 0F 67 66 26  f‰FDè*.g &€b.�gf&
0140 8B 02 5B 07 C3 66 3D F8 - FF FF 0F F5 72 12 66 48  ‹.[.Ãf=ø ÿÿ�õr�fH
0150 66 48 66 0F B6 56 0D 52 - 66 F7 E2 5A 66 03 46 4C  fHf�¶V.R f÷âZf.FL
0160 C3 66 60 66 31 D2 66 52 - 66 50 06 53 6A 01 6A 10  Ãf`f1ÒfR fP.Sj.j�
0170 66 31 C9 66 FF 76 18 59 - 66 F7 F1 42 59 52 31 D2  f1Éfÿv�Y f÷ñBYR1Ò
0180 66 F7 F1 86 D6 59 86 C5 - C0 E4 06 08 E1 B8 01 02  f÷ñ†ÖY†Å 
Àä..á¸..
0190 89 E6 8A 56 40 CD 13 61 - 66 61 72 52 66 40 03 5E  ‰æŠV@Í�a farRf@.^
01A0 0B 73 09 52 8C C2 80 C6 - 10 8E C2 5A C3 64 69 73  .s.RŒÂ€Æ 
�ŽÂZÃdis
01B0 6B 20 65 72 72 6F 72 00 - 4E 6F 20 47 52 4C 44 52  k error. No GRLDR
01C0 20 20 20 20 20 20 00 00 - 00 00 00 00 00 00 00 00        .. ........
01D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01E0 00 00 00 00 00 00 00 00 - 00 00 00 20 BB 59 BE AD  ........ ... »Y¾­
01F0 7D AC B4 0E CD 10 3C 00 - 75 F7 EB FE 00 00 55 AA  }¬´�Í�<. u÷ëþ..Uª

========= END OF SECTOR DATA ================


Original issue reported on code.google.com by Steve6375 on 1 Dec 2010 at 8:09

Improve grub4dos menu item numbering

What steps will reproduce the problem?

1. Create menu list with blank entry
e.g.

title 0 Boot to FreeDOS
xx
xx
x


title Linux OS/n
root

title  1 Ylmf
xx
xx

2. If user presses '1' then 2nd menu item (Linux separator) is selected and not 
the item numbered 1  (Ylmf).

I know this is expected operation. But it would be really useful if grub4dos 
could have a good automatic menu shortcut feature. 

This would also help when changing between using gfxmenu (which starts at 1 for 
numbering) and grub4dos splashimage menu (which starts at 0).

So if the title menu text starts with a number, then use that number as the 
menu item number and shortcut key.

Is this possible to add, or if you point me at the relevant source code file of 
latest version, I could try to add it? I presume it would mean making a table 
in memory of shortcut number v. menu order number and using that as a lookup 
table.



Thanks
Steve






Original issue reported on code.google.com by Steve6375 on 2 May 2011 at 9:06

Help text for cat incomplete

What steps will reproduce the problem?
1. at grub4dos command shell type     help cat
2.
3.

What is the expected output? What do you see instead?
Does not list --replace and --number as valid parameters

What version of the product are you using? On what operating system?
All

Please provide any additional information below.
Useful function which is not documented!

Original issue reported on code.google.com by Steve6375 on 21 Aug 2011 at 8:11

New way of installation with first partition offset of 1Mbyte

Since the harddisks with 4k sectors and SSDs it has become common to partition 
a drive in a way that the first partition starts with an offset of 1Mbyte. That 
leaves more enough space to fit the whole grldr in there, instead of 
bootlace.com or wee.

Two things are needed for this:
1) the code for the mbr that loads grldr from that unpartitioned hd-space and 
starts it.
2) some small commandline tool that writes the mbr and the grldr to the 
appropriate positions.

For 1) I don't have enough knowledge, but for 2) I can provide something like 
the weesetup code, I provided some time ago.

How about this?

Original issue reported on code.google.com by [email protected] on 24 Nov 2011 at 10:15

Having trouble building from latest source files

What steps will reproduce the problem?
1. download using svn
2. ./configure fails at --build==none  not understood
3. If use previous configure file, now fails in asm.S for e820cycles undefined 
reference.

Using MinGW which works still with previous July build.

Original issue reported on code.google.com by Steve6375 on 13 Aug 2011 at 10:06

boot error on Acer TravelMate when grub4dos installed to MBR

What steps will reproduce the problem?
1. Install grub4dos to MBR using grubinst
2. Try to boot from Acer Travelmate
3. Get Unregistered Exception handler

I am reporting this from posts 
http://reboot.pro/10503/page__view__findpost__p__117680
and http://diskcryptor.net/forum/index.php?topic=546.0

The grldr.mbr code should be changed to be more compatible with normal MBR boot 
code.


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
http://reboot.pro/10503/page__view__findpost__p__117680

Original issue reported on code.google.com by Steve6375 on 23 Dec 2010 at 4:22

bootlace.com on Windows 64-bit

Hello,

Trying to run last bootlace from your download section on Windows 7 64-bit but 
bootlace say it is 32-bit only and do not compatible with Windows 64-bit.

Is it possuble to make bootlace run Windows 64-bit?

Or if not - could you be so kind to add such possibilites in future?

Sorry if it is not concerning but I cannot find the way in documentation.

I just need to make my USB-flash bootable with your version Grub4Dos on 64 bit 
Windows 

Original issue reported on code.google.com by [email protected] on 25 Oct 2011 at 8:14

atapi cdrom configured as a slave device is detected but not included in total cdroms

What steps will reproduce the problem?
Boot system using Grub4DOS

What is the expected output? What do you see instead?
Expect status messages reporting 3 ATAPI devices and 3 CDROM devices.
However, the cdrom configured as a slave device is not included in the cdrom 
total. Grub4DOS reports: 3 ATAPI devices and 2 CDROMs.

What version of the product are you using? On what operating system?
Version 0.4.4 on openSUSE Linux.

Please provide any additional information below.
Please send debugging patches.

Original issue reported on code.google.com by [email protected] on 15 Jul 2011 at 12:00

can't compile under archlinux

What steps will reproduce the problem?
1. use this build script http://aur.archlinux.org/packages.php?ID=46752
2. configure failed.

error: GRUB requires a working absolute objcopy; upgrade your binutils

But, in fact, my binutils is brand new,

What is the expected output? What do you see instead?
compile OK

What version of the product are you using? On what operating system?
grub4dos-chenall svn r203
binutils-multilib 2.21.1-1 (archlinux package)
mingw32-binutils 2.21-1 (archlinux package)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Aug 2011 at 1:08

  • Merged into: #13

Wrong tuned geometry

What steps will reproduce the problem?
1. Make VHD disk image 767 MB with Windows 7 diskpart. 
VHD footer geometry is H/S = 16/63
2. Create a primary partition with Windows 7 diskpart or disk management and 
format NTFS.
MBR,PBR geometry is H/S = 255/63
4. Attach VHD to VirtualBox VM as second disk and another disk with grub4dos 
installed as first disk. 
5. Boot VM.
From VirtualBox Log
00:00:00.669 Guest Log: BIOS: ata0-1: PCHS=779/16/63 LCHS=779/32/63
BIOS geometry is H/S = 32/63
6. grub> map --harddrives=2   
(write 2 to address 0x475 which has wrong value 1 when in VirtualBox) 
7. grub> debug 2
   grub> geometry (hd1)
   grub> geometry --tune --sync (hd1)
   grub> geometry (hd1)

What is the expected output? 
GRUB4DOS geometry is the same as BIOS int13/AH=8 geometry.

What do you see instead? 
BIOS int13/AH=8 reports 779/32/63. 
GRUB4DOS geometry is still unchanged 98/255/63. 

--tune fail to detect the correct geometry that BIOS use. 

MBR geometry and BIOS geometry can disagree when user move disk between 
(virtual) machine. 
I want to add an option of geometry command that user can use to tell GRUB4DOS 
to use geometry reported by BIOS to update MBR,PBR with --sync.

Original issue reported on code.google.com by [email protected] on 4 Dec 2010 at 8:41

Attachments:

cdrom's --add-io-ports doesn't add additional ports to search list

What steps will reproduce the problem?
1. CD-ROM is connected to the Secondary channel (170h/376h)
after boot of grldr/grub.exe execute in console 
>cdrom --init 

ATAPI device found: Data=170, Ctrl=376, dev=0 (Note: 0=master, 1=slave) 
CDROM device found: Data=170, Ctrl=376, dev=0 (Note: 0=master, 1=slave)

Found 1 CD-ROM. 

2. Make a binary patch of grldr/grub.exe. 
find "70 01 76 03" and replace with "F0 01 F6 03" (conversion to Primary 
channel addresses) 

3. After boot of patched grldr/grub.exe execute in console
>cdrom --init

No CD-ROMs found.

>cdrom --add-io-ports=0x03760170
>cdrom --init

No CD-ROMs found.

What is the expected output? What do you see instead?
I expect to get:

ATAPI device found: Data=170, Ctrl=376, dev=0 (Note: 0=master, 1=slave) 
CDROM device found: Data=170, Ctrl=376, dev=0 (Note: 0=master, 1=slave)

Found 1 CD-ROM.

And I see:

No CD-ROMs found.

What version of the product are you using? On what operating system?
All available to download versions.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Mar 2011 at 11:38

improve line numbering menu no longer works! See issue 23 for details

What steps will reproduce the problem?
1. Create menu with 6 items, number items F,1,2,3,G,4
2. Run grub4dos and press 4 - menu item G selected
3.

What is the expected output? What do you see instead?
Should be menu item 4

What version of the product are you using? On what operating system?


Please provide any additional information below.

Traced bug to REMed out code line at approx line 197 in Stage2.c
static void
clean_entry (char *text)
{
  int i;
  // (void) strcpy (ntext, text);

If delete // then code works OK.


Original issue reported on code.google.com by Steve6375 on 16 Jul 2011 at 5:05

[PATCH] fix autoconf and gcc issues in Linux

this fixes/adds:
- after autoconf, configure doesn't generate grub4dos_int_ver.h
- add --buildid=none detection and support (from debian grub-legacy, which is 
needed to work correctly with newer GCC which generates build-id in separated 
section and bloats objcopy)
- add -mpreferred-stack-boundary=2 and -momit-leaf-frame-pointer for generating 
smaller binaries

Original issue reported on code.google.com by [email protected] on 25 Dec 2010 at 5:11

Attachments:

Very slow boot of Windows 7 Ultimate x64

What steps will reproduce the problem?
1. root (hd0,0), chainloader /bootmgr and boot: There's a delay after each 
command which adds up to around 1.5-2 mins. total.
2. Detailed analysis at 
http://www.boot-land.net/forums/index.php?showtopic=13170

What is the expected output? What do you see instead?
Each step/command should not take so long to execute, since it slows the boot 
process significantly.

What version of the product are you using? On what operating system?
Tried 0.4.4 and also the latest 0.4.5 beta release from Nov 27. Trying to boot 
Windows 7 Ultimate x64.

Please provide any additional information below.
Please see http://www.boot-land.net/forums/index.php?showtopic=13170 for more.

Original issue reported on code.google.com by [email protected] on 29 Nov 2010 at 10:11

unbreak "--disable-graphics"

Please provide any additional information below.
To build a graphic-less Grub4DOS, "--disable-graphics" switch is needed. 
Attached patch re-enables "--disable-graphics" switch again.

Original issue reported on code.google.com by [email protected] on 10 Apr 2011 at 2:49

Hyper-V guest hangs

What steps will reproduce the problem?
1. Install Linux OS on guest
2. Install Windows 2008 R2 Server on guest for dual boot
3. Configure grub menu to boot windows as default 

What is the expected output? What do you see instead?

Expect windows to boot but just get flashing cursor. Guest does not appear to 
be using CPU.

What version of the product are you using? On what operating system?

R211 on Windows Hyper-V

Please provide any additional information below.

Using a Linux build environment I have put debug statements in the source to 
see where the hang is. It appears that grub hands control to asm.S at 
ENTRY(HMA_start) but after that nothing happens.


Original issue reported on code.google.com by [email protected] on 6 Sep 2011 at 12:07

redirection issue

What steps will reproduce the problem?
title test
map     --mem /menu.lst (hd60)
map     --hook
find > (hd60)+1
clear
debug 1
cat --locate="(hd0,0)" (hd60)+1 >nul && echo (hd0,0)
cat --locate="(hd0,0)" (hd60)+1 >nul && parttype (hd0,0)
cat --locate="(hd0,0)" (hd60)+1 >nul && ls (hd0,0)/
echo 
pause
map --unhook
map --unmap=hd60
configfile /menu.lst



1.
2.
3.

What is the expected output? What do you see instead?
because cat is redirected to nul then it should not echo the character location 
but it does!


What version of the product are you using? On what operating system?
20-11-2011

Please provide any additional information below.

if --replace="(hd0,0)" is added then it does redirect to nul

Original issue reported on code.google.com by Steve6375 on 24 Nov 2011 at 8:40

grub4dos fails to boot Xen with 256GB of memory

What steps will reproduce the problem?
1. Boot a server with Xen (HP DL785-G5) with 256 GB of memory


What is the expected output? What do you see instead?
Instead of booting Xen properly, the server just hangs and finally reboots 
spontaneously afer one minute or two without displaying anything on the console

Here is the last relevant output: 

                            256 GB Installed                                    

ProLiant System BIOS - A15 (12/04/2009)                                         
Copyright 1982, 2009 Hewlett-Packard Development Company, L.P.                  

Loading grub.exe......ready.

kernel grub.exe: Trying to turn on A20 gate ...
kernel grub.exe: A20 gate turned on OK!
Booting XEN
Filesystem type is ext2fs, partition type 0x83
  [Multiboot-elf, <0x100000:0xe7648:0x849b8>, shtab=0x126c078, entry=0x100000]
  [Multiboot-module @ 0x126d000, 0x518b10 bytes]
  [Multiboot-module @ 0x1786000, 0x14e6000 bytes] 

What version of the product are you using? On what operating system?
Latest grub4dos 0.4.5b 25-08-2011

Please provide any additional information below.
grub4dos is launched when booting PXE, if I cancel PXE boot by hitting the ESC 
key, the server boots correctly without grub4dos help

grub4dos works correctly with less memory but I don't remember the exact 
quantity

Original issue reported on code.google.com by [email protected] on 30 Aug 2011 at 3:17

Improvement: ignore any comments following valid commands in a menu.lst

What steps will reproduce the problem?

menu.lst example...

1.  root (bd)         € set root to boot drive
2.  map (hd0) (hd1)   € map hd0 to hd1
3.  map (hd1) (hd0)   € map hd1 to hd0
4.  map --hook        € put mapping into effect

What is the expected output? What do you see instead?
The € symbol (ALT-GR+4) denotes start of a comment, therefore the line is 
valid and treated as just  root (), map etc. 

What version of the product are you using? On what operating system?
any

Please provide any additional information below.

The Euro symbol translates as 80 hex when used in Notepad. It would be easy to 
add code to treat this symbol as a comment character in grub4dos. 80 hex in 
ASCII is a Ç symbol which is unlikely to be wanted in a grub4dos menu (echo or 
help text).


code inserted into stage2.c

/* Skip non-printable chars, including the UTF-8 Byte Order Mark: EF BB BF */
        if ((unsigned char)c > ' ' && (unsigned char)c <= 0x7F) //((c != ' ') && (c != '\t') && (c != '\n') && (c != '\r'))
            cmdline[pos++] = c;
        }
    }
    else
    {


// NEW CODE 

    if ((unsigned char)c == 0x80)
      {
      info |=2;     // start comment if char = 80 hex
      c = ' ';
      }

works fine.

Also suggest allowing both # or € at start of a line to allow whole line to 
be a comment.






Original issue reported on code.google.com by Steve6375 on 28 Jun 2011 at 10:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.