Displaying 10 results from an estimated 10 matches for "syslinux_bootsect".
2013 Jan 04
4
syslinux 5.00 does not build
I am trying to build an RPM starting from the TAR archive. The relevant
error is:
make[1]: Entering directory
`/tmp1/Software/rpmbuild/BUILD/syslinux-5.00/libinstaller'
perl bin2c.pl syslinux_bootsect < ../core/ldlinux.bss > bootsect_bin.c
perl bin2c.pl syslinux_ldlinux 512 < ../core/ldlinux.sys > ldlinux_bin.c
perl bin2c.pl syslinux_mbr < ../mbr/mbr.bin > mbr_bin.c
perl bin2c.pl syslinux_gptmbr < ../mbr/gptmbr.bin > gptmbr_bin.c
make[1]: *** No rule to make target
`../c...
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello,
Happy New Year!
These patches make syslinux/linux support ext2/3/4, and it doesn't
require the root privilege, I'd like to add a separate e2fs/syslinux, if
that is more appropriate, it should be easy to do that.
I put these patches on github so that you can easily get them in case
you'd like to test them. (The repo's name is sys_tmp, which avoids
confusing others, I will
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
...(8):
extlinux/main.c: support unmounted ext2/3/4 filesystem
extlinux/main.c: implement install_file_to_device()
extlinux/main.c: implement handle_adv_on_device()
extlinux/main.c: implent ext_read/write_xx_fs()
extlinux/main.c: implement write_to_device()
extlinux/main.c: implement patch_syslinux_bootsect()
extlinux/main.c: implement ext_construct_sectmap_fs()
libinstaller/syslxopt.c: update the help text.
extlinux/Makefile | 2 +-
extlinux/main.c | 611 +++++++++++++++++++++++++++++++++++++++++++-----
libinstaller/syslxopt.c | 2 +-
3 files changed, 553 insertions(+), 62 del...
2016 Mar 05
2
build problems with 6.04-pre1
...30:53.878913729 +0100
+++ syslinux-6.04-pre1-BROKEN/libinstaller/Makefile 2016-03-04 17:04:17.927473149 +0100
@@ -8,23 +8,24 @@ VPATH = $(SRC)
all: installer
-bootsect_bin.c: $(OBJ)/../core/ldlinux.bss bin2c.pl
+bootsect_bin.c: $(OBJ)/../bios/core/ldlinux.bss bin2c.pl
$(PERL) $(SRC)/bin2c.pl syslinux_bootsect < $< > $@
---8<---
Another kind of error was the failure to find some headers (eg
version.h): this was fixed by tweaking the INCLUDES variable in some
Makefiles (see enclosed patch).
I'm not sure my fixes are correct, but it seems to me that _some_ fix is
needed.
thanks a lot f...
2019 Apr 22
0
Installing syslinux on a purely virtual disk
...ixed SYSLINUX version you can use pre-patched
files. I tried that and got "ldlinux.sys" running but it failed to load
ldlinux.c32.
I used "syslinux_mbr" in "create_mbr" and made the partition bootable.
"create_partition_boot_sector" was modified to use "syslinux_bootsect"
with Sect1Ptr0 = 0x80 and Sect1Ptr1 = 0. The value 0x80 was chosen
because the plugin put the first file (ldlinux.sys) there.
"ldlinux.sys" itself was pre-patched by the official installer.
Therefore I created a compatible temporary file system with "mkfs.vfat
-f 1 -F 32 -R 32...
2019 Apr 18
4
Installing syslinux on a purely virtual disk
I'm trying to add boot support to
https://github.com/libguestfs/nbdkit/tree/master/plugins/floppy
This NBD server plugin generates a completely virtual FAT filesystem
and partition table. Nothing is ever written to a file, and it must
run without anything needing to be root, loop mounting etc. Running
"syslinux --install <something>" is a non-starter.
So I've looked at
2008 Feb 26
2
3.62-pre16: Compiling on old (2.4 kernel) distros
I have put a compile hack in for older distros and pushed it out as
syslinux-3.62-pre16; for those who have reported compilation problem on
older distros I would greatly appreciate if you could confirm if it
works now (it worked for me on a CentOS 3.9 VM.)
-hpa
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
...bytes, &geo);
+ sector_size = get_sector_size(devfd);
+ get_geometry(devfd, totalbytes, sector_size, &geo);
if (opt.heads)
geo.heads = opt.heads;
@@ -276,7 +290,7 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd)
sbs = (struct fat_boot_sector *)syslinux_bootsect;
- totalsectors = totalbytes >> SECTOR_SHIFT;
+ totalsectors = totalbytes / sector_size;
if (totalsectors >= 65536) {
set_16(&sbs->bsSectors, 0);
} else {
@@ -284,7 +298,7 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd)
}
set_...
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.
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
..., "no fat, ntfs, ext2/3/4 or btrfs superblock found on %s\n",
- device);
+ fprintf(stderr,
+ "no fat, ntfs, ext2/3/4, btrfs or xfs superblock found on %s\n",
+ device);
return 1;
}
+
if (fs_type == VFAT) {
struct fat_boot_sector *sbs = (struct fat_boot_sector *)syslinux_bootsect;
if (xpwrite(fd, &sbs->FAT_bsHead, FAT_bsHeadLen, 0) != FAT_bsHeadLen ||
@@ -385,6 +423,12 @@ int install_bootblock(int fd, const char *device)
perror("writing ntfs bootblock");
return 1;
}
+ } else if (fs_type == XFS) {
+ if (xpwrite(...