search for: bootsec

Displaying 20 results from an estimated 21 matches for "bootsec".

Did you mean: bootsect
2007 Aug 12
2
SYSLINUX-3.52-pre5: XP BOOTSEC.BIN Bug
...ect that includes BartPE/WinPE, BartPE fails to boot w/ 'CDBoot can not boot CD: error 4" msg. For the record, the stanza that fails: #### LABEL bartpe MENU DEFAULT MENU LABEL ^BartPE/WinPE TEXT HELP Boot the ultimate power tool for repairing Windows 2K/XP/2K3/Vista.... ENDTEXT KERNEL /BOOTSECT.BIN APPEND - #### I realized almost immediately what was wrong and rolled back to the modules from 3.50 and the boot error went away. In anticipation of pos follow-up questions: did not forget the -boot-info-table option; problem isn't media-related as I was testing under VMWare; gene...
2005 Dec 04
4
Problems with multiboot DVD and isolinux > 3.07
...d_root/ and the /boot/isolinux directory from the Knoppix CD to dvd_root/boot/knoppixo (this boot loader will be refered to as "secondary isolinux") 3. I changed the config search dir of dvd_root/boot/knoppixo/isolinux.bin to its new directory 4. I created a 2KB file called dvd_root/boot/bootsec/knoppixo.bin (which is loaded from the main isolinux when selecting Knoppix) 5. I created the ISO9660 image 6. I wrote the boot info table to /boot/knoppixo/isolinux.bin (in the ISO9660 image!) and copied the first 2KB of /boot/knoppixo/isolinux.bin to /boot/bootsec/knoppixo.bin (in the ISO9660...
2009 Mar 30
2
[PATCH 1/1] v2 Add Diagnostic MBR for trouble-shooting
...d this MBR */ +pnp_header = (stack-4) /* The Plug'n'Play header received from BIOS in ES:DI */ +drive_number = (stack-6) /* The boot device as reported by BIOS in DL */ +cylinders = (stack-8) +heads = (stack-10) +sectors = (stack-12) +sectors_cylinder= (stack-16) + + .section ".bootsec", "a", @nobits /* assemble into; ELF: allocatable, no data. doc: 7.95 */ + .global bootsec /* externally visible. doc: 7.56 */ +bootsec: + .space 512 /* set 512 bytes to zero. doc: 7.102 */ + + .text + .global _start +_start: + + /* All code from here until the relocation opera...
2009 Mar 30
0
[PATCH 1/1] Add Diagnostic MBR for trouble-shooting
...d this MBR */ +pnp_header = (stack-4) /* The Plug'n'Play header received from BIOS in ES:DI */ +drive_number = (stack-6) /* The boot device as reported by BIOS in DL */ +cylinders = (stack-8) +heads = (stack-10) +sectors = (stack-12) +sectors_cylinder= (stack-16) + + .section ".bootsec", "a", @nobits /* assemble into; ELF: allocatable, no data. doc: 7.95 */ + .global bootsec /* externally visible. doc: 7.56 */ +bootsec: + .space 512 /* set 512 bytes to zero. doc: 7.102 */ + + .text + .global _start +_start: + + /* All code from here until the relocation opera...
2009 Mar 30
2
[PATCH 1/1] v3: Add Diagnostic MBR for trouble-shooting BIOS boot-order problems.
...d this MBR */ +pnp_header = (stack-4) /* The Plug'n'Play header received from BIOS in ES:DI */ +drive_number = (stack-6) /* The boot device as reported by BIOS in DL */ +cylinders = (stack-8) +heads = (stack-10) +sectors = (stack-12) +sectors_cylinder= (stack-16) + + .section ".bootsec", "a", @nobits /* assemble into; ELF: allocatable, no data. doc: 7.95 */ + .global bootsec /* externally visible. doc: 7.56 */ +bootsec: + .space 512 /* set 512 bytes to zero. doc: 7.102 */ + + .text + .global _start +_start: + + /* All code from here until the relocation opera...
2008 Jun 24
2
Debugging
...ing localhost:1234 0x0000fff0 in ?? () at localboot.inc:68 68 jmp kaboom ; If we returned, oh boy... How does "jmp kaboom" get here? We are at the BIOS entry point: (gdb) display/10i $cs*16+$eip 1: x/10i $cs * 16 + $eip 0xffff0: ljmp $0xf000,$0xe05b [...] (gdb) info symbol 0x7c00 bootsec in section .text (gdb) b bootsec Note: breakpoint -2 also set at pc 0x7c00. Breakpoint 1 at 0x7c00: file extlinux.asm, line 146. Breakpoint -2? That's new for me. Anyway: (gdb) c Continuing. ^C Program received signal SIGINT, Interrupt. 0x000005a7 in ?? () 1: x/10i $cs * 16 + $eip 0xf05a7:...
2019 Jan 07
0
Interaction with Windows bootloader
On Sun, Jan 6, 2019 at 12:58 PM Ady Ady via Syslinux <syslinux at zytor.com> wrote: > > > > On Sat, Jan 5, 2019 at 3:17 PM Ady Ady via Syslinux <syslinux at zytor.com> wrote: > > > > > > syslinux[64].exe -i -f c: bootsecfile.bss > > > > > > > > This should have been the form for your desire as specifying the > > > > filename should have told it to create the BSS instead of writing it > > > > to the VBR. Being the "fixed" HDD instead of a removable drive lik...
2005 Aug 03
0
Starting isolinux from another isolinux
...multiboot DVD, but SuSE uses a modified version of isolinux. I tried the following: 1. I copied the isolinux stuff from the SuSE DVD to /boot/suselive. 2. I edited isolinux.bin and substituted "/boot/isolinux" by "/boot/ suselinux" 3. I created a 2kB file suselinux.bin in /boot/bootsec and added it as kernel in the config file of the DVD's main isolinux. 4. I created the ISO9660 image. 5. I wrote the boot info table of /boot/suselinux/isolinux.bin _after_ the creation of the ISO image. 6. I copied the first 2kB of /boot/suselinux/isolinux.bin to /boot/ bootsec/suselinux.bin...
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...c at all -- it is just a stub * loader of a hard-coded offset, but that's good enough to load * ISOLINUX. */ #define DEBUG_PRINT 1 #include "adjust.h" .code16 .text HYBRID_MAGIC = 0x7078c0fb isolinux_hybrid_signature = 0x7c00+64 isolinux_start_hybrid = 0x7c00+64+4 .globl bootsec /* Important: the top 6 words on the stack are passed to isolinux.bin */ stack = 0x7c00 partoffset = (stack-8) driveno = (stack-14) heads = (stack-16) sectors = (stack-18) ebios_flag = (stack-20) secpercyl = (stack-24) BIOS_kbdflags = 0x417 BIOS_page = 0x462 /* gas/ld has issues with doing t...
2019 Jan 06
2
Interaction with Windows bootloader
> On Sat, Jan 5, 2019 at 3:17 PM Ady Ady via Syslinux <syslinux at zytor.com> wrote: > > > > syslinux[64].exe -i -f c: bootsecfile.bss > > > > > > This should have been the form for your desire as specifying the > > > filename should have told it to create the BSS instead of writing it > > > to the VBR. Being the "fixed" HDD instead of a removable drive like a > > > U...
2019 Jan 03
3
Interaction with Windows bootloader
...ms... If possible, I would like to have syslinux generate the .bss data as a file instead of writing to the partition. This will retain the existing Windows bootloader while allowing me to chain load the file generated. Looking at the online documentation, there is an optional value for the 'bootsecfile', but I can't get it to work. I have tried: syslinux[64].exe -i "/path/to/syslinux/file" c: bootsecfile.bss syslinux[64].exe -i "/path/to/syslinux/file" c:\bootsecfile.bss syslinux[64].exe -i "/" c: bootsecfile.bss syslinux[64].exe -i "/" c:\boo...
2013 Feb 08
6
[PATCH] 4k_sector: Support dynamic sectors in GPT MBR
This patches add support for dynamic sectors to GPT MBR code. First 3 patches are trick and optimizations to gain some space for the forth patch. I have a modified version of SeaBIOS, some code and some script o test it I'll send on a different mail.
2007 Aug 16
0
SYSLINUX Digest, Vol 53, Issue 12
...com > To: syslinux at zytor.com > Subject: SYSLINUX Digest, Vol 53, Issue 12 > Date: Wed, 15 Aug 2007 12:00:05 -0700 > Message: 4 > Date: Tue, 14 Aug 2007 17:02:44 -0700 > From: "H. Peter Anvin" <hpa at zytor.com> > Subject: Re: [syslinux] SYSLINUX-3.52-pre5: XP BOOTSEC.BIN Bug > To: For discussion of SYSLINUX and tftp-hpa <syslinux at zytor.com> > Message-ID: <46C242A4.90508 at zytor.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Duke McAllister wrote: > > > > I'd *love* to exc the std ISO is 700MB ! Pairing i...
2012 Aug 10
1
[PATCH 4/4] Support sectors >512
...%ax + divw -6(%bp) /* %dx == 0 here */ xchgw %ax,%cx incw %cx @@ -214,7 +230,7 @@ boot: movl (32+20)(%si),%eax movl (36+20)(%si),%edx call read_sector_phdr - cmpw $0xaa55, -2(%bx) + cmpw $0xaa55, (0x7c00+0x1fe) jne missing_os /* Not a valid boot sector */ movw %bp, %sp /* driveno == bootsec-6 */ popw %dx /* dl -> drive number */ @@ -258,12 +274,12 @@ read_sector: /* This chunk is skipped if we have ebios */ /* Do not clobber %es:%bx or %edx:%eax before this chunk! */ read_sector_cbios: - divl -6(%bp) /* secpercyl */ + divl -36(%bp) /* secpercyl */ shlb $6, %ah movb %ah,...
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
...tart) -SECTIONS -{ - /* Read-only sections, merged into text segment: */ - . = 0x600; - .text : - { - *(.text*) - *(.rodata*) - } =0x90909090 - - . = ALIGN(4); - .data : - { - *(.data*) - } - - . = ALIGN(128); - .bss : - { - *(.bss*) - } - - . = 0x7c00; - .bootsec : - { - *(.bootsec) - } - - /* Stabs debugging sections. */ - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.i...
2004 Dec 08
3
isolinux needing mkisofs
...t ',0 ;DEB debug msg < rba_loc_msg: db 'RBA is ',0 ;DEB debug msg < imgsz_msg: db 'Boot loader size in bytes ',0 ;DEB debug msg 1759,1760d1715 < size_of_code equ ldlinux_end-bootsec ;DEB Used to calculate bi_length
2007 Apr 27
9
can''t mount vfat fs on lvm created by winxp guest
Greetings, I''ve had no success with mounting a vfat file system created by a Windows XP guest on a lvm volume. # mount -t vfat /dev/vg1/win1 /mnt/ mount: wrong fs type, bad option, bad superblock on /dev/vg1/win1, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so # dmesg FAT: invalid media value (0xb9) VFS:
2011 Aug 05
3
isolinux: Generate GPT and Mac bootable images
...ages slightly in order to leave space for the Apple header, but should have no functional impact. Signed-off-by: Matthew Garrett <mjg at redhat.com> --- diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S index 2784fb8..65ab75a 100644 --- a/mbr/isohdpfx.S +++ b/mbr/isohdpfx.S @@ -65,6 +65,38 @@ bootsec: .text .globl _start _start: + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop + nop .byte 0x33, 0xed /* xorw %bp, %bp */ cli movw %bp, %ss diff --git a...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com> These patches basically remove unused linker scripts and port a change that was made to an unused script. Those are to be applied on top of the gcc 5 bug fixes as they would conflict otherwise. Sylvain Gault (4): diag/mbr: fix dependency to linker script Remove unused linker scripts core: Make symbols defined in linker script HIDDEN