IPB

 
 
Rating 3 V
> Start Grub4DOS GRLDR from NT bootsector, why not working?
 
 ilko
post Apr 13 2008, 07:47 PM
Post #1


Frequent Member
***

Group: Members
Posts: 166
Joined: 27-May 07
Member No.: 7,732


Bulgaria


I am trying to launch Grub4DOS either by changing in NT bootsector NTLDR to GRLDR, or by renaming GRLDR to NTLDR. Both ways fail.
USB stick formated by HP USB format utility and PEtoUSB. Tried all format options- FAT16, 16X, 32, NTFS.
Grub4Dos versions 14-03-2008 , 0.4.3 from 10.2007 and the stable 0.4.2.
Using various format options result in either blinking cursor, "please remove disk or other media", "FATAL INT18:BOOT FAILURE" in QEMU, or starting from the second disk.
Tests on Dell Inspiron 6000 and QEMU.
In all formatting options using ntldr or setupldr.bin, bootmgr renamed to ntldr start fine.

Am I missing something, or simply GRLDR cannot be started from NT bootsector ? As far as I remember there were posts on 911cd.net describing success renaming GRLDR to NTLDR, I never had such on my machines.

Reading README_GRUB4DOS.txt description of GRUB-bootable bootsector doesn't help me much to get the details what is wrong.
I'd like to avoid using bootlace.exe or grldr.mbr to start directly grub4dos, as well as using NTLDR/boot.ini to chainload GRLDR.

What would be the easiest way to format USB stick and make it GRUB4Dos bootable considering the written above?

ilko
Go to the top of the page
 
 
 tinybit
post Apr 14 2008, 02:39 AM
Post #2


Frequent Member
***

Group: Developer
Posts: 224
Joined: 14-August 07
Member No.: 10,098


China


If you do want it like that, be aware there are limitations on it:

1. The fstype should be FAT32 or NTFS. Others will fail, or supposedly will fail.

2. The boot record should come from Microsoft. Note that both FAT32 and NTFS have multi-sector boot record with Microsoft. For both FAT32 and NTFS, you had better try the windows 2000 boot record, which is considered tidy and harmless.

------------

Optionally, you may try it in another way: installing grldr filesystem boot record onto any of FAT12/16/32/NTFS/ext2/ext3 and changing all occurences of grldr/GRLDR into ntldr/NTLDR.
You may do it manually(or thru bootlace.com). See readme for descriptions on the layout of grldr boot record for FAT/NTFS/EXT2. In that way, the GRLDR boot code will become the NTLDR boot code. Thus you can place in the root dir either the MS NTLDR or the NTLDR renamed from GRLDR.


Go to the top of the page
 
 
 ilko
post Apr 15 2008, 05:50 AM
Post #3


Frequent Member
***

Group: Members
Posts: 166
Joined: 27-May 07
Member No.: 7,732


Bulgaria


Thanks Tinybit, FAT32 indeed made a difference.

Another issue turnd out to be in HP USB format tool v2.1.8- it does NOT set an active partition, no matter of FS type. Writing zeros to first 500 sectors prior to formatting doesn't change this behavior, nor did multiple formats.
2.0.6 works just fine, GRLDR renamed to NTLDR starts when FAT32 was used.
Used 1GB USB stick for tests.
Format FAT32 from Windows Explorer, while stick seen as removable- by default it won't boot. Drive ID in bootsector is 00h, change it to 80h- it boots, GRLDR renamed to NTLDR works fine.
USB stick seen as fixed, using Hitachi microdrive filter driver, formated FAT32 from windows explorer. It won't boot. Drive ID is 80h, but in MBR there is no active partition. Change Boot Indicator at offset 1BE to 80 and it boots, GRLDR renamed to NTLDR.

FAT16 format by HP tool, PEtoUSB or XP format results in GRLDR won't start when renamed to NTLDR. Just of curiosity- why it doesn't like FAT16?

ilko
Go to the top of the page
 
 
 tinybit
post Apr 16 2008, 12:55 AM
Post #4


Frequent Member
***

Group: Developer
Posts: 224
Joined: 14-August 07
Member No.: 10,098


China


why it doesn't like FAT16?

Because the MS NTLDR boot sector of an FAT12/16 partition only loads one sector, i.e., the first sector of the NTLDR file. If this NTLDR was our GRLDR, then this will fail to boot. On the other hand, the MS NTLDR boot sector of an FAT32/NTFS partition will load the whole NTLDR file into memory, and thus our GRLDR(renamed to NTLDR) can boot OK.
Go to the top of the page
 
 
 ilko
post Apr 16 2008, 03:40 AM
Post #5


Frequent Member
***

Group: Members
Posts: 166
Joined: 27-May 07
Member No.: 7,732


Bulgaria


Thanks, now it's all clear (IMG:../forums/style_emoticons/default/smile.gif)
Go to the top of the page
 
 
 jaclaz
post Apr 16 2008, 08:32 AM
Post #6


Finder
******

Group: Advanced user
Posts: 3,730
Joined: 14-July 06
Member No.: 2


Italy


QUOTE (ilko @ Apr 16 2008, 04:40 AM) *
Thanks, now it's all clear (IMG:../forums/style_emoticons/default/smile.gif)

Well, NO, it it is not, there is some mixing between FAT16 and FAT32.

Maybe this it is (provided I got it right):

QUOTE
FAT16 bootsector will NOT work

FAT32 and NTFS bootsectors WILL work


(IMG:../forums/style_emoticons/default/smile.gif)

jaclaz
Go to the top of the page
 
 
 tinybit
post Apr 16 2008, 03:52 PM
Post #7


Frequent Member
***

Group: Developer
Posts: 224
Joined: 14-August 07
Member No.: 10,098


China


Oh, yeah. I just corrected my post.

QUOTE
FAT12/16 bootsector will NOT work

FAT32 and NTFS bootsectors WILL work


Those are true for MS NTLDR boot record.

If our grldr boot records are employed, all of FAT12/16/32/NTFS/EXT2/EXT3 will be fine, as mentioned above.

Go to the top of the page
 
 
 
 

 
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

Collapse

>

  Topic Replies Topic Starter Views Last Action
No New Posts Starting a service AFTER networking support is started
5 homes32 68 Yesterday, 04:37 PM
Last post by: homes32
No new Posts Pinned: Grub4dos Guide/Tutorial
23 diddy 11,053 29th January 2009 - 12:04 PM
Last post by: caze
No New Posts grub4dos multiboot usb
some unresolved questions
5 caze 307 26th January 2009 - 09:57 AM
Last post by: caze
No New Posts Not sure how to do this
livexp project problems
2 CSilva 66 24th January 2009 - 07:10 PM
Last post by: CSilva
No New Posts grub4dos multiboot usb: some success reported
3 caze 398 22nd January 2009 - 08:51 PM
Last post by: jaclaz


 
menu_build_menu( "topicreferrals", new Array( img_item + " http://diddy.boot-land.ne...les/install.htm   12 clicks", img_item + " no grldr   5 clicks", img_item + " http://greenflash.su/Grub...les/install.htm   4 clicks", img_item + " boot grldr   3 clicks", img_item + " petousb fat32 bootsector   2 clicks", img_item + " grldr   2 clicks", img_item + " grldr boot   2 clicks", img_item + " http://www.911cd.net/foru...20&start=20   2 clicks", img_item + " grldr ntldr   2 clicks", img_item + " grub4dos multi ntldr   1 clicks", img_item + " install grldr grub4dos ...ble disk failed   1 clicks", img_item + " fatal: int18: boot failure   1 clicks", img_item + " grub4dos grldr   1 clicks", img_item + " what is grldr   1 clicks", img_item + " petousb remove disks or... or other media   1 clicks", img_item + " http://www.dogpile.co.uk/...&engineset=   1 clicks", img_item + " winbuilder grldr   1 clicks", img_item + " bootsektor offset ntldr grldr   1 clicks", img_item + " grldr second partition   1 clicks", img_item + " grbldr load img   1 clicks", img_item + " ntldr fat32 boot usb   1 clicks", img_item + " grub4dos /ntldr   1 clicks", img_item + " fatal int18 boot failure   1 clicks", img_item + " grub4dos remove disk o... or other media   1 clicks", img_item + " grldr for boot usb   1 clicks", img_item + " bootsector unknown on usb   1 clicks", img_item + " grldr dos boot   1 clicks", img_item + " grldr windows vista usb   1 clicks", img_item + " grldr missing   1 clicks", img_item + " grldr fat32   1 clicks", img_item + " grldr is missing   1 clicks", img_item + " grldr boot fail   1 clicks", img_item + " http://www.hardwarebg.com...ad.php?t=123999   1 clicks", img_item + " remove grldr from mbr   1 clicks", img_item + " grub4dos not work   1 clicks", img_item + " grub4dos grldr usb boot   1 clicks", img_item + " load grldr from ntldr   1 clicks", img_item + " grub4dos + usb fat32   1 clicks", img_item + " grub4dos usb grldr   1 clicks", img_item + " cannot start windows no grldr   1 clicks", img_item + " grldr is missing   1 clicks", img_item + " chainloader grldr   1 clicks", img_item + " grub4dos rename ntldr   1 clicks", img_item + " grldr auf ntfs   1 clicks", img_item + " vista doesn't boot blin...cursor grub4dos   1 clicks", img_item + " fatal: int18: boot failure   1 clicks", img_item + " install grub4dos to a bootsector   1 clicks", img_item + " http://search.msn.com/res...t+grub+no+grldr   1 clicks", img_item + " fat16 grub4dos   1 clicks", img_item + " grldr usb stick   1 clicks", img_item + " grub4dos usb format   1 clicks", img_item + " usb + ntfs + grub4dos   1 clicks", img_item + " grldr ntldr diff   1 clicks", img_item + " grldr xp   1 clicks", img_item + " r boot.ini ntfs   1 clicks" ) );

RSS "Boot-Land.net", "WinBuilder" Lo-Fi Version Time is now: 31st January 2009 - 03:07 PM