Jump to content











Photo
- - - - -

syslinux link from Grub4Dos?


  • Please log in to reply
18 replies to this topic

#1 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 01 June 2010 - 02:40 PM

i know that u can get to grub4dos from syslinux
but can i load the syslinux.cfg file from grub4dos?

#2 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 01 June 2010 - 02:59 PM

If you install SYSLINUX this way (won't over write the boot sector), you can chainload the syslinux boot sector file with grub4dos:
syslinux.exe -d /boot/syslinux X: syslinux_bootsect.bin
Replace X: with the correct drive letter for your drive.
ldlinux.sys will be installed in /boot/syslinux (remove "-d /boot/syslinux", if you don't want that).

In your menu.lst file:
title Boot Syslinux

chainloader /syslinux_bootsect.bin


#3 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 01 June 2010 - 03:04 PM

em....where do i write the first command?
it wont overwrite other files on my usb flash drive right?
and i dont know what the ldlinux.sys do.
thanks

#4 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 01 June 2010 - 04:00 PM

Translation :(:
SYSLINUX.EXE is a command line app (open a command console in nt based systems and run it from it).
It's purpose is:
  • take bootsector DATA from your target drive.
    AND:
  • write a new bootsector (called ldlinux.sys) to the drive
    OR (in the usage explained by Icecube):
  • a file containing that DATA together with the CODE to load SYSLINUX

syslinux.exe -d /boot/syslinux X: syslinux_bootsect.bin
means:

take some data from the bootsector on drive X: and write it in a directory /boot/syslynux with name "syslinux_bootsect.bin"


The drive needs to be ALREADY formatted (and bootable).

:)
Wonko

#5 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 01 June 2010 - 04:04 PM

em....where do i write the first command?
it wont overwrite other files on my usb flash drive right?
and i dont know what the ldlinux.sys do.
thanks

What OS do you have available for potentially installing Syslinux? Whatever your answer is, find the Syslinux installer for that OS and the command-line for that OS. The Syslinux command Icecube gave will only overwrite the boot-sector and the LDLINUX.SYS file (which belongs to Syslinux anyway).

#6 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 01 June 2010 - 04:09 PM

OK i tried it with windows but no syslinux_bootsect.bin file appeard.
the ldlinux.sys was inastalled.
where is my mistake?

#7 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 01 June 2010 - 10:29 PM

The syslinux_bootsect.bin file is created in the current directory of the command prompt.

You can run the following to create the file in X:\boot\syslinux\:
syslinux.exe -d /boot/syslinux X: X:\boot\syslinux\syslinux_bootsect.bin


#8 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 02 June 2010 - 09:55 AM

ok now we are getting some where...
unable to create boot sector file: blablabla some non english characters

#9 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 02 June 2010 - 10:18 AM

ok now we are getting some where...

No, we are not. :)

The plot:
  • we suggest something
  • you do something, WITHOUT posting EXACTLY what you do, WITHOUT describing EXACTLY the environment you run the command in, which OS, which media, etc.etc.
  • you report what you did (which we DO NOT actually know) as not working
  • we have no way to understand if the suggestions were wrong or if you replicated them incorrectly
  • possibly loop to #1

We are in the "I'm ill, doctor. Help!" phase:
http://homepages.tes...ard-litany.html

:(
Wonko

#10 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 02 June 2010 - 02:12 PM

NICE.
anyway i thought it might be a known problem so...
i'm using windows 7 and installing on usb flashdrive.
the MBR should be syslinux boot or grub4dos?
for any further information you can ask

#11 Sha0

Sha0

    WinVBlock Dev

  • Developer
  • 1682 posts
  • Location:reboot.pro Forums
  • Interests:Booting
  •  
    Canada

Posted 02 June 2010 - 02:17 PM

Please download Syslinux 3.86 from this site[1] which should not result in non-English characters, with any luck.

[1] http://www.kernel.or...slinux-3.86.zip

#12 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 02 June 2010 - 03:24 PM

the MBR should be syslinux boot or grub4dos?

It doesn't matter, as it is NOT touched, you are using bootsector files.

for any further information you can ask

Can you simply post:
  • which EXACT version of Syslinux you are using (if not the one suggested by Sha0)
  • which EXACT letters the drives on your machine, INCLUDING the USB flashdrive use
  • which EXACT command line did you enter
  • which EXACT error message you get

Is it possible that the "non-english" characters come not from Syslinux but from your environment (like a regional version of Windows 7 with an incorrect codepage setting)? :)

:(
Wonko

#13 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 02 June 2010 - 06:36 PM

using the syslinux from the link above.
C: E: D: and G: is the usb flash drive.
Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.



C:\Windows\system32>syslinux.exe -d /syslinux G: G:\syslinux\syslinux_bootsect.b

in

Unable to create bootsector file: ■■∞ε≥°δ· αΘ∩ α⌠∙°σ· ∞α·° α· Σ≡·Θß ∙÷σΘ∩.



C:\Windows\system32>
[i moved the syslinux.exe to the system32 directory cuz i'm lazy]

the last question i think thats the problem. im using hebrew version of windows 7.
what do i need to change?

#14 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 02 June 2010 - 07:28 PM

[i moved the syslinux.exe to the system32 directory cuz i'm lazy]


Hmm. :)

Try the following:
  • At the C:\Windows\system32 prompt , type:
  • MD G:\boot
  • Press the [ENTER] key
  • MD G:\boot\syslinux
  • Press the [ENTER] key
  • syslinux.exe -d /boot/syslinux G: G:\boot\syslinux\syslinux_bootsect.bin
  • Press the [ENTER] key


What happens? :(

(Check the contents of G:\boot\syslinux\ before saying "nothing" :()

:(
Wonko

#15 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 02 June 2010 - 07:50 PM

Darn
idk what you did better than me, but you did.
thanks!
Edit: Could not find the file contains a live file system...
whats next?
^thats on Qemu when the flashDrive is an hardisk.
on the real machine it says "Boot error" strait after the Grub4dos

#16 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 02 June 2010 - 09:10 PM

on the real machine it says "Boot error" strait after the Grub4dos

On which drive and partition did you install grub4dos?

Set the root drive first:
title Boot Syslinux

root (hd0,3)

chainloader /boot/syslinux/syslinux_bootsect.bin
Which version of grub4dos are you using? You may need a more recent version, see
http://www.boot-land...showtopic=10262 why.

#17 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 02 June 2010 - 10:16 PM

0.4.5B
installed on G: partition 0 [no others]
another wired thing thats the boot screen of real syslinux is not like the syslinux from grub4dos.

that what i did:
Used the tool "Create Boot Disk" from ubuntu 10.4.
its creating the files in the root not on /boot directory.
Used the command that u gave me
C:\Windows\system32>syslinux.exe -d /syslinux G: G:\syslinux\syslinux_bootsect.bin
now, when i boot with syslinux i get a purple screen of ubuntu and manage to load ubuntu netbook 10.4
when i change the PBR to Grub4Dos i can go to the syslinux with the menu.lst entry you gave me [(hd0,0)]
but the boot screen is black and i get the same error.

Edit: ok something is wired here.
its only working with the syslinux installed with the tool "Create Boot Disk" from ubuntu 10.4.
if i change the PBR to syslinux by BOOTICE.EXE [newest one] its not working.
now, i just need to copy the PBR that comes with this tool to the bin file. how can i do that?

#18 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 03 June 2010 - 07:24 AM

now, i just need to copy the PBR that comes with this tool to the bin file. how can i do that?


Easiest:
HDHACKER:
http://dimio.altervista.org/eng/
you want to access the first sector of LogicalDrive (the bootsector or PBR).

:)
Wonko

#19 Ariel

Ariel

    Member

  • Members
  • 33 posts
  •  
    Israel

Posted 03 June 2010 - 12:53 PM

Yes but hos can i make the syslinux_bootsect.bin file from this sector?
i have a mbr backup it might be the same?...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users