wok-current view linld/stuff/linld.txt @ rev 24668

updated intel-microcode (20210216 -> 20220207)
author Hans-G?nter Theisgen
date Fri Mar 11 16:27:56 2022 +0100 (2022-03-11)
parents 3d63943ab632
children
line source
1 Linld 0.97
3 Linld is a Linux loader for DOS. I wrote it when loadlin failed to load newer
4 kernel for me and I found loadlin source to bee too big and complex to fix.
6 So I just wrote a repacement.
8 Build instructions
9 ------------------
10 You need a DOS/Windows machine. Download linld097devel.tar.bz2,
11 unpack it, cd DIST/LINLD097 and run !COMPILE.BAT
13 Usage
14 -----
16 LINLD [image=<file>] [initrd=<file>] [vga=vgamode] [cl=<kernel cmdline>]
17 vgamode: ask,extended,normal or dec/oct/hex number
18 Defaults:
19 image=bzImage
20 initrd=(nothing)
21 cl=auto
22 vga=0
23 Use quotes: "cl=..." if you need spaces in cmdline
24 Use cl=@filename to take cmdline from file
26 Acknowledgements
27 ----------------
28 Lots of code was borrowed from loadlin source
29 (author of loadlin is Hans Lermen <lermen@elserv.ffm.fgan.de>).
30 Some code from linux kernel (setup.S) was used too.
31 Thank you guys!
33 Changelog
34 ---------
35 0.91 Added support for cl=@filename
36 0.92 VCPI voodoo magic: booting under EMM386 and foes :-)
37 0.93 Cleanup. cl=@filename: cr/lf will be converted to two spaces
38 0.94 Ugly workaround for DOS int 15 fn 88 breakage
39 0.95 Bug squashed: vga=NNN did not like dec numbers, oct/hex only
40 Some VCPI comments added
41 0.96 Do not lowercase entire command line
42 0.97 memtop() must be rounded down to page boundary
44 SliTaz patches
45 --------------
46 New command line arguments:
47 -64 boot a 64 bits CPU only.
48 -f force. Do not ask memory manager for allocation
49 -b base lower buffer address, default 1088k
50 root number root filesystem device
51 mem number higher memory address, default 256m
53 Every arguments can be stored in a separate file and load with @filename, i.e
54 > linld @args.cmd
56 The -f and -b are useful skip XMM (max 64M ?) and VCPI (max 32M ?) limits:
57 > linld -f -b 64m initrd=rootfs4.gz,rootfs3.gz,rootfs2.gz,rootfs1.gz "cl=root=/dev/null video=-32"
59 Image/zImage support.