search for: initramfs_load_arch

Displaying 9 results from an estimated 9 matches for "initramfs_load_arch".

2014 Apr 29
2
[PATCH][git-pull] lua: make kernel and initrd progress output match in sl_boot_linux
..."Loading kernel %s... ", kernel); if (loadfile(kernel, &kernel_data, &kernel_len)) printf("failed!\n"); else @@ -237,10 +237,10 @@ static int sl_boot_linux(lua_State * L) initrd = arg; printf("Loading initrd %s... ", initrd); - if (initramfs_load_archive(initramfs, initrd)) { + if (initramfs_load_archive(initramfs, initrd)) printf("failed!\n"); - } - printf("ok\n"); + else + printf("ok\n"); if (p) *p++ = ',';
2014 May 14
0
[PATCH][git-pull] lua: make kernel and initrd progress output match in sl_boot_linux
...l); > if (loadfile(kernel, &kernel_data, &kernel_len)) > printf("failed!\n"); > else > @@ -237,10 +237,10 @@ static int sl_boot_linux(lua_State * L) > > initrd = arg; > printf("Loading initrd %s... ", initrd); > - if (initramfs_load_archive(initramfs, initrd)) { > + if (initramfs_load_archive(initramfs, initrd)) > printf("failed!\n"); > - } > - printf("ok\n"); > + else > + printf("ok\n"); > > if (p) > *p++ = ','; > > ______________...
2018 Aug 02
1
initramfs_init() changes in 6.04
...ve access to 'self' without the caller having to explicitly pass it in? Isn't that kind of the point? --- a/boot/syslinux.lua +++ b/boot/syslinux.lua @@ -87,8 +87,14 @@ ?-- Booting the kernel ? ?local kernel = sl.loadfile("/BZIMAGE") -local initramfs = sl.initramfs_init() -sl.initramfs_load_archive(initramfs, "/INITRD") +local initramfs +if sl.initramfs_init ~= nil then +??initramfs = sl.initramfs_init() +??sl.initramfs_load_archive(initramfs, "/INITRD") +else +??initramfs = sl.initramfs() +??initramfs.load(initramfs, "/INITRD") +end ? ?local cmdline =??get_co...
2007 Apr 26
2
boot 32 or 64 kernel depending on cpu
Hello, The attached l32or64.c implements a com32 module that boots two different kernels with different initrds depending on whether the cpu has long mode support or not. I stumbled upon two problems while developing it with current git version (last commit 595705ffad4f63cfeb84e9bb1243df03808c2fff). The first was that syslinux_boot_linux didn't work for me. Both the command line and initrd
2016 Feb 19
6
Building a http query string including SMBIOS Serial Number to load a specific kernel
Hello folks, There is a way to get the system serial number from SMBIOS and pass it as HTTP query string to get the kernel and initrd? Something like this: LABEL OS Download MENU LABEL Clonezilla MENU INDENT 1 KERNEL http://192.168.10.10/kernel.php?type=kernel ( http://myserver/kernel.php?SN=SMBIOS_SERIAL_NUMBER&type=kernel )&SN=SMBIOS_SERIAL_NUMBER APPEND
2010 Apr 27
4
Patch sensible callback framework
...uot;); goto bail; } - if (!opt_quiet) - printf("ok\n"); cmdline = make_cmdline(argp); if (!cmdline) @@ -183,22 +219,24 @@ int main(int argc, char *argv[]) if (p) *p = '\0'; - if (!opt_quiet) - printf("Loading %s... ", arg); if (initramfs_load_archive(initramfs, arg)) { if (opt_quiet) printf("Loading %s ", kernel_name); printf("failed!\n"); goto bail; } - if (!opt_quiet) - printf("ok\n"); if (p) *p++ = ','; } while ((arg = p)); } + if (!opt_quiet) { +...
2008 Mar 13
5
Adding memdisk or similar when booting linux
Hi Thanx guys for the help on understanding howto read dmi info! I now have a custom boot menu for install of different linux versions based if they have been installed before (reinstall is ok for users, first install is not), and installquirks like if we detect odd hardware, we add install options to redhat installer so it can install anyhow (for instance hp dc7800 who needs pci=nommconf as
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com> This is a series of patches that, * shrink the core by moving things into an ldlinux ELF module * begin wiring up some of the C versions of various functions The core now only contains essential code and loads the ldlinux module to do everything else, like providing a command line interface and loading kernels. The config file parsing
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