Jump to content











Photo
- - - - -

Syslinux 4.01 and BOOTMGR issues?


  • Please log in to reply
14 replies to this topic

#1 delicatepc

delicatepc

    Member

  • Members
  • 42 posts
  •  
    United States

Posted 12 July 2010 - 08:06 PM

Hi Folks,

Is anyone having BOOTMGR issues with Syslinux 4.01?

I am doing the following to chainload it:
LABEL -

MENU LABEL BOOTMGR

	COM32 /boot/syslinux/chain.c32

	APPEND boot ntldr=/BOOTMGR

My file directory looks like so:

C:\TESTING
| BOOTMGR
+---BOOT
| | BCD
| | boot.sdi
| | bootsect.exe
| | ETFSBOOT.COM
| | memtest.exe
| |
| +---en-us
| | bootsect.exe.mui
| |
| +---fonts
| | chs_boot.ttf
| | cht_boot.ttf
| | jpn_boot.ttf
| | kor_boot.ttf
| | wgl4_boot.ttf
| +---isolinux
| | isolinux.bin
| | isolinux.cfg
| |
| \---syslinux
| chain.c32
| econfig.c32
| hdt.c32
| ldlinux.sys
| mbr.bin
| memdisk
| memtest
| menu.c32
| reboot.c32
| syslinux.cfg
| vesamenu.c32
|
+---EFI
| \---microsoft
| \---boot
| | bcd
| |
| \---fonts
| chs_boot.ttf
| cht_boot.ttf
| jpn_boot.ttf
| kor_boot.ttf
| wgl4_boot.ttf
|
+---SOURCES
| boot.wim
|
\---ubcd
|
+---menus
| \---syslinux
| main.cfg


Its seems BOOTMGR chainloads normally but then it conks out and gives an error:

File: \Boot\BCD
Status: 0xc0000225
Info: An error occured while attempting to read the boot configuration data.


If I format the drive to just FAT32 and transfer files to the usb drive (so we are using FAT32's inherent programming telling it to boot NTLDR or BOOTMGR) the drive boots successfully (get a listing of available options from the BCD store). I have several different BCD files and I have even tried copied everything from a working syslinux 3.8x USB stick that has BOOTMGR loading however it still doesnt seem to work.

I have tested on a Lenovo W500 and Dell E4300 with same result. I am using Windows 7 RTM to build the stick. I have tried a few sources of the BOOTMGR/etc files and not much luck yet...

Anyone have BOOTMGR issues with syslinux 4.01? The chainloading seems fine but I was wondering if anyone could shed some light on why its having a hard time accessing the boot configuration data...

thank you,
dpc

#2 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 12 July 2010 - 08:15 PM

Can you try this?
LABEL bootmgr

MENU LABEL BOOTMGR

	COM32 /boot/syslinux/chain.c32

	APPEND fs ntldr=/BOOTMGR


#3 delicatepc

delicatepc

    Member

  • Members
  • 42 posts
  •  
    United States

Posted 12 July 2010 - 08:27 PM

Can you try this?

LABEL bootmgr

MENU LABEL BOOTMGR

	COM32 /boot/syslinux/chain.c32

	APPEND fs ntldr=/BOOTMGR

IT WORKS!

What happened? A change in chain.c32?

Thank you,

#4 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 12 July 2010 - 08:44 PM

From syslinux-3.85, chain.c32 will load the boot sector of the partition too, when booting a file with ntldr=. In earlier versions this was not done.
It is possible that it only works completely correct from syslinux-4.00-pre39 (set-hidden option fix: http://git.zytor.com...83d9e0c15ead03).

So now you need to specify the partition number too (and not only the drive number).
When you want to boot Windows from the same partition as the one where you installed SYSLINUX, you can use 'fs'. 'fs' will pass the boot drive and partition number of the syslinux partition to the booted file (NTLDR, BOOTMGR, SETUPLDR.BIN, ...).

#5 delicatepc

delicatepc

    Member

  • Members
  • 42 posts
  •  
    United States

Posted 12 July 2010 - 08:56 PM

Sounds good!

Thank you IceCube!,
dpc

#6 delicatepc

delicatepc

    Member

  • Members
  • 42 posts
  •  
    United States

Posted 13 July 2010 - 03:22 PM

Since the chainloading has changed in syntax slightly would the following still be proper:

LABEL -
MENU LABEL Boot Partition 2 of USB Drive
COM32 /boot/syslinux/chain.c32
APPEND hd0 2

LABEL -
MENU LABEL Boot Partition 3 of USB Drive
COM32 /boot/syslinux/chain.c32
APPEND hd0 3

LABEL -
MENU LABEL Boot Partition 4 of USB Drive
COM32 /boot/syslinux/chain.c32
APPEND hd0 4

LABEL -
MENU LABEL Boot next device
COM32 /boot/syslinux/chain.c32
APPEND hd1 swap

These are all for loading partitions off the same usb drive running syslinux (in order to get around a setup.exe limitation in Vista and later).

Thank you,
dpc

#7 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 13 July 2010 - 04:13 PM

Since the chainloading has changed in syntax slightly would the following still be proper:

Yes.
LABEL -

MENU LABEL Boot Partition 2 of USB Drive

COM32 /boot/syslinux/chain.c32

APPEND hd0 2
Even better, use "," instead of " " for avoiding ambiguities:
LABEL -

MENU LABEL Boot Partition 2 of USB Drive

COM32 /boot/syslinux/chain.c32

APPEND hd0,2
You can also use "boot" in combination with a partition number:
LABEL -

MENU LABEL Boot Partition 2 of USB Drive

COM32 /boot/syslinux/chain.c32

APPEND boot,2


#8 delicatepc

delicatepc

    Member

  • Members
  • 42 posts
  •  
    United States

Posted 13 July 2010 - 04:15 PM

Got it. Many thanks IceCube!

~
dpc

#9 ghjm

ghjm
  • Deactivated
  • 1 posts
  •  
    United States

Posted 19 August 2010 - 09:21 PM

This solved my problem also.

Unfortunately I grew old and grey while trying to find it.

What will the girls think of me now?

#10 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14759 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 20 August 2010 - 10:05 AM

What will the girls think of me now?

The plain truth: you are a geek, and you can do nothing about it. :smiling9:

:)
Wonko
  • deckoff likes this

#11 c400

c400
  • Members
  • 4 posts
  •  
    Russian Federation

Posted 19 July 2011 - 11:26 PM

very helpful!!!! thx

#12 deckoff

deckoff

    Member

  • Members
  • 76 posts
  •  
    Bulgaria

Posted 18 December 2011 - 12:50 PM

The plain truth: you are a geek, and you can do nothing about it. :smiling9:

:(
Wonko

Honestly, for some 30 minutes of fun time girls can seriously spoil and steal the other 23:30 hours of good geek time ;)

#13 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14759 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 18 December 2011 - 01:09 PM

Honestly, for some 30 minutes of fun time girls can seriously spoil and steal the other 23:30 hours of good geek time ;)

But, on the other hand, I know a lot of geeks wanting to get that "half hour of fun" and very few "normal" people wanting to have "23:30 hours of geekitude".... :dubbio:

:cheers:
Wonko

#14 protools23

protools23

    Newbie

  • Members
  • 13 posts
  •  
    Israel

Posted 14 February 2012 - 06:05 AM

my preference 23:55 of geekness and 5 minutes with mis. right hand lol

#15 zzx

zzx
  • Members
  • 1 posts
  •  
    Lithuania

Posted 07 March 2012 - 10:32 AM

Can you try this?

LABEL bootmgr

MENU LABEL BOOTMGR

	COM32 /boot/syslinux/chain.c32

	APPEND fs ntldr=/BOOTMGR


I have issue with this.

1. Win 7 boots and works. And I want to have syslinux to chose what to boot. So
2. syslinux -m X: (where X: boot partition, FAT32)
after that
if any of these :
APPEND fs ntldr=/BOOTMGR
APPEND boot 1 ntldr=/BOOTMGR (or might be any partition set except 0)
then syslinux report "Requested partition not found!"
if
APPEND boot 0 ntldr=/BOOTMGR
then bootloader seems to be found and has passed control to it , but says :
File: BootBCD
Status: 0xc0000225
Info: An error occured while attempting to read the boot configuration data.

If I want to boot to windows again just need boorrec /fixboot from Win PE.

syslinux ver 4.04 and 4.05 ... same thing.

Please point out what I'm missing.... tx.

Edited by zzx, 07 March 2012 - 10:33 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users