search for: install_mbr

Displaying 3 results from an estimated 3 matches for "install_mbr".

Did you mean: install_dir
2010 Sep 18
1
find bug:syslinux.exe
...riveName, "\\\\.\\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.PartitionNumber, opt.install_mbr, opt.activate_partition)) { ========================== function: ========================== BOOL GetStorageDeviceNumberByHandle(HANDLE handle, const STORAGE_DEVICE_NUMBER * sdn) { BOOL result = FALSE; DWORD count; if (DeviceIoControl(handle, IOCTL_STORAGE_GET_DEVICE_NUMBER, NULL, 0, (LPVOID) sdn,...
2014 Dec 24
0
[PATCH 1/8] extlinux/main.c: support unmounted ext2/3/4 filesystem
...close(devfd); + return 1; + } + fs_type = EXT2; } sync(); @@ -1533,16 +1560,25 @@ int modify_existing_adv(const char *path) int main(int argc, char *argv[]) { parse_options(argc, argv, MODE_EXTLINUX); + struct stat st; if (!opt.directory || opt.install_mbr || opt.activate_partition) usage(EX_USAGE, 0); + if (stat(opt.directory, &st)) { + fprintf(stderr, "%s: %s: %s\n", program, opt.directory, strerror(errno)); + return 1; + } + if (opt.update_only == -1) { - if (opt.reset_adv || opt.set_once || opt.menu_save...
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux, Merry Christmas! These patches will make extlinux work with umounted ext2/3/4 filesystem, for example: $ extlinux -i /dev/sdXN or $ extlinux -i file_block Also it can work with something like: $ extlinux /dev/sdXN --reset-adv or $ extlinux file_block --reset-adv We don't use a new option (I planed to use "-d" but it is already in use), it will check whether the