Displaying 2 results from an estimated 2 matches for "ninitrd".
Did you mean:
initrd
2012 Jul 01
2
booting FreeDOS ISO image using syslinux hangs
...mounted /dev/sdb1 to /media/usb and copied iso
image(http://www.freedos.org/download/download/fd11src.iso), memdisk
image and created syslinux.cfg:
root at debian64:~# cp freedos.iso
/home/martin/syslinux-4.05/memdisk/memdisk /media/usb
root at debian64:~# printf 'LABEL FreeDOS\nLINUX memdisk\nINITRD
freedos.iso\nAPPEND iso\n' > /media/usb/syslinux.cfg
root at debian64:~# cat /media/usb/syslinux.cfg
LABEL FreeDOS
LINUX memdisk
INITRD freedos.iso
APPEND iso
root at debian64:~# ls -l /media/usb/
total 80960
-rwxr-xr-x 1 root root 82804736 juuli 1 20:10 freedos.iso
-rwxr-xr-x 1 root root...
2007 Apr 26
2
boot 32 or 64 kernel depending on cpu
...ot;
" <64b kernel> <64b initrd> \\"
" [kernel arguments]\n");
return 1;
}
detect_cpu(&cpu);
if (cpu.flags.lm) {
initrd = argv[4];
kernel = argv[3];
} else {
initrd = argv[2];
kernel = argv[1];
}
printf("kernel: %s\ninitrd: %s\n", kernel, initrd);
cmdline[0] = '\0';
for (i = 5, p = 0; i < argc; i++) {
unsigned l = strlen(argv[i]);
if ((p + l + 1) >= sizeof cmdline) {
fprintf(stderr, "command line exceeds internal "
"buffers, trimmed.\n");
break;
}
memcpy(cm...