wok view linld/stuff/linld.txt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (2018-03-13)
parents b939fa61b2b0
children e93e6b4d565f
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 -f force. Do not ask memory manager for allocation
48 -b base lower buffer address, default 1088k
49 root number root filesystem device
50 mem number higher memory address, default 256m
52 Every arguments can be stored in a separate file and load with @filename, i.e
53 > linld @args.cmd
55 The -f and -b are useful skip XMM (max 64M ?) and VCPI (max 32M ?) limits:
56 > linld -f -b 64m initrd=rootfs4.gz,rootfs3.gz,rootfs2.gz,rootfs1.gz "cl=rw root=/dev/null video=-32"