Displaying 4 results from an estimated 4 matches for "syslinux_check_bootsect".
2012 Jul 16
1
Support for 4kb disks
Hi,
I'm trying to get syslinux (extlinux actually) work with 4kb disks.
I got a bios with 4kb support but seems that extlinux does not work at
all. In extlinux/main.c SECTOR_SIZE and SECTOR_SHIFT are constants to
512 bytes and also there are a lot of checks in different places (like
in syslinux_check_bootsect).
Currently I'm trying it to work using GPT and an ext3 partition.
Anybody is working on similar issue or has some advice?
Is there a way to emulate 4kb bios using any virtual environment?
Regards
Frediano
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
...raid_mode, subpath, subvol);
+ opt.raid_mode, subpath, subvol, sector_size);
free(dirpath);
return rv;
diff --git a/libinstaller/syslinux.h b/libinstaller/syslinux.h
index 8b86f88..75ed451 100644
--- a/libinstaller/syslinux.h
+++ b/libinstaller/syslinux.h
@@ -49,6 +49,7 @@ const char *syslinux_check_bootsect(const void *bs, int *fs_type);
typedef uint64_t sector_t;
int syslinux_patch(const sector_t *sectors, int nsectors,
int stupid, int raid_mode,
- const char *subdir, const char *subvol);
+ const char *subdir, const char *subvol,
+ unsigned sector_size);
#endif
diff --git a/lib...
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 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