search for: drivenam

Displaying 16 results from an estimated 16 matches for "drivenam".

Did you mean: drivename
2016 Jul 14
3
[PATCH] : Adding dlabel option to chain.c32
On 07/14/16 05:56, Ady Ady via Syslinux wrote: > > @Peter, Erwan, Gene, Michal, (and anyone else interested)... > > Although I haven't actually tested Erwan's patch, would it be > acceptable by you (all) if I were to send a patch to this Syslinux > Mailing List with the same code while changing the wording as I > previously suggested in a prior email? Would it be
2009 May 12
1
bug in com32/modules/chain.c
Hello, The main function in com32/modules/chain.c does a lot of argument parsing, finding the drivename, partition, seg, etc., for two statements nullifying most of the work: drivename = argv[1]; partition = argv[2]; /* Possibly null */ Seeing as the function initializes the variables correctly at the beginning: drivename = "boot"; partition = NULL; shouldn't these stateme...
2007 Oct 17
3
Adding a "boot from local hard disk" option to syslinux menu, booted from USB
...ve is??). Well, in any case, I would really appreciate if someone can let me know if what I want to do is possible at all with syslinux; and possibly how to do it... Thanks, Cheers /// int main(int argc, char *argv[]) { char *mbr, *boot_sector = NULL; struct part_entry *partinfo; char *drivename, *partition, *endds, *endps, *waittotals; int hd, drive, whichpart; static com32sys_t inreg; /* In bss, so zeroed automatically */ int idd, idp, endd, endp; FILE *f; char *log = "/chsdlog.txt"; char logsc[1024]; char *logs = &logsc; char logrc[10240]; char *logr =...
2016 Jul 15
0
[PATCH] : Add diskbypartname option to chain.c32
...ad + iter = pi_begin(&diskinfo, opt.piflags); + goto ok; + } + } + drive = -1; +ok: + *_boot_part = iter; + return drive; +} + static void do_boot(struct data_area *data, int ndata) { struct syslinux_memmap *mmap; @@ -300,6 +332,15 @@ } if (find_by_label(opt.drivename + 6, &iter) < 0) { error("Unable to find requested GPT partition by label."); + goto bail; + } + } else if (!strncmp(opt.drivename, "diskbypartname", 14)) { + if (!opt.drivename[15]) { + error("No partition name specified."); + goto bail; +...
2016 Jul 17
0
[PATCH] Restore - chain.c32: Allow both "guid" and "uuid"
...a/com32/chain/chain.c b/com32/chain/chain.c index 4e9e32d..492f21c 100644 --- a/com32/chain/chain.c +++ b/com32/chain/chain.c @@ -286,7 +286,8 @@ int find_dp(struct part_iter **_iter) error("Unable to find requested MBR signature."); goto bail; } - } else if (!strncmp(opt.drivename, "guid", 4)) { + } else if (!strncmp(opt.drivename, "guid", 4) || + !strncmp(opt.drivename, "uuid", 4)) { if (str_to_guid(opt.drivename + 5, &gpt_guid)) goto bail; if (find_by_guid(&gpt_guid, &iter) < 0) { diff --git a/com32/ch...
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
This patch introduces extra functionality to chain.c, mainly with reference to BPB adjustments, but not only that. It expects 3 small patches I sent earlier (they are included for easy reference, patches 1-3/4). The changes introduced are: 1) file and boot sector use separate options to control load address and jump address (if applicable). Options are as described below: *
2010 Sep 18
1
find bug:syslinux.exe
..., so I don't subscribe syslinux mail list. I just report a bug, no more information. bug file: syslinux.exe source: win\syslinux.c in function FixMBR: ========================== BOOL FixMBR(int driveNum, int partitionNum, int write_mbr, int set_active) { BOOL result = TRUE; HANDLE drive; char driveName[128]; sprintf(driveName, "\\\\.\\PHYSICALDRIVE%d", driveNum); ========================== It need a drive num!!! It get it from function : ========================== STORAGE_DEVICE_NUMBER sdn; if (GetStorageDeviceNumberByHandle(d_handle, &sdn)) { if (!FixMBR(sdn.DeviceNumber, sdn.Par...
2003 Mar 14
1
AW: subdirectory of home
...ectory, he really > will connect with, by example, /home/user/subdir. > > I don't now if it's possible to do that in the [homes] section, or I > must create a new different section for every user. if your clients-machines are Windows2000 or later, you could run a net use <drivename>: \\server\homes\your_subdir via netlogon.cmd or even the local Startup-Folder without any changes to your samba-setup. Maybe you could add a "path = /home/%u/subdir" to the [Homes] segment, dunno if this works, not even sure if the '%u' is the right variable. regards K...
2009 Jul 19
2
Patch for chain.c32: Set default boot drive to CD drive from which ISOLINUX is booted
...ion of the problematic code). Gert Hulselmans $ diff -u ./com32/modules/chain.c.old ./com32/modules/chain.c.new --- ./com32/modules/chain.c.old 2009-07-19 20:33:16.468094540 +0200 +++ ./com32/modules/chain.c.new 2009-07-19 20:26:54.636091513 +0200 @@ -666,8 +666,7 @@ } else if (!strcmp(drivename, "boot")) { const union syslinux_derivative_info *sdi; sdi = syslinux_derivative_info(); - if (sdi->c.filesystem == SYSLINUX_FS_PXELINUX || - sdi->c.filesystem == SYSLINUX_FS_ISOLINUX) + if (sdi->c.filesystem == SYSLINUX_FS_PXELINUX ) drive = 0x80;...
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things (and in partiter part), fixes few minor issues and adds a few new features. Details are in the following commits, below is the summary and pull details at the end. Shao - any chance to peek over them ? Most of those are relatively simple changes and well tested, though of course something might have slipped my attention.
2013 Jan 07
2
chain.c32 bug
i`ve found a bug in chain.c32 in v4.06. When i use isolinux it does not run windows7 installation, chainloading bootmgr. the error is: Can't find myself on the drive I booted from. chain.c32 from syslinux 3.xx works like a charm! chain.c32 from syslinux 5 shous tat this is not a com32 app
2014 Jun 04
2
MultiFS syntax definition
It would be good to clean it up so out can be used for both. Just teach it that ) ends the parse. On June 4, 2014 2:06:22 PM PDT, Raphael S Carvalho <raphael.scarv at gmail.com> wrote: >On Wed, Jun 4, 2014 at 5:36 PM, Raphael S Carvalho ><raphael.scarv at gmail.com> wrote: >> On Wed, Jun 4, 2014 at 5:21 PM, H. Peter Anvin <hpa at zytor.com> wrote: >>> On
2010 Aug 08
1
PATCH/RFC chain.c: update iterator code, yank from chain.c, move both to separate directory
1) code split and move Iterator related functionality is yanked from chain.c and moved to iterator.{c,h}. Both are moved to com32/chain and this way chain.c is ready for further splitting. Alternatively, partiter could be moved to com32/lib at any time in the future. It's potentially useful for other modules (e.g. if someone wanted to code partition dumper or editor). 2) Iterator updates
2010 Jul 24
0
[PATCH] chain.c: allocation fixes
...return NULL; } @@ -1292,6 +1297,9 @@ int main(int argc, char *argv[]) struct mbr *mbr = NULL; char *p; struct disk_part_iter *cur_part = NULL; + void *sect_area = NULL, *file_area = NULL; + struct part_entry *hand_area = NULL; + struct syslinux_rm_regs regs; char *drivename, *partition; int hd, drive, whichpart = 0; /* MBR by default */ @@ -1523,6 +1531,7 @@ int main(int argc, char *argv[]) goto bail; } data[ndata].base = load_base; + file_area = (void *)data[ndata].data; load_base = 0x7c00; /* If we also load a boot sector */ /* Create boot info...
2014 Jun 29
10
[PATCH 0/6] chain.c32 patches
This small set fixes few bugs, improves gpt handling (under buggy conditions) and implements strict flag with more fine grained control which should fix issues with sanity checks against disk sizes. If this set is allright I'd want to do what I mentioned in older discussion with Ady - backport missing patches from 6.x to 5.x and 4.x so all versions have up to date chain version. Michal
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and