Docs updates from Finn Thain

This commit is contained in:
Laurent Vivier
2007-09-03 17:45:38 +00:00
parent 82470e3801
commit 650440b6b2
2 changed files with 6 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ To set root filesystem on NFS
You can also read current boot arguments from floppy: You can also read current boot arguments from floppy:
# emile-set-cmdline -r /dev/fd0 # emile-set-cmdline -g /dev/fd0
Current command line: "root=/dev/ramdisk ramdisk_size=2048" Current command line: "root=/dev/ramdisk ramdisk_size=2048"
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@@ -62,12 +62,6 @@ First of all, you must "flatten" the kernel object:
# objcopy -I elf32-big -O binary -R .note -R .comment -S vmlinux vmlinux.bin # objcopy -I elf32-big -O binary -R .note -R .comment -S vmlinux vmlinux.bin
To allocate correct buffer size during uncompress, EMILE needs to know the size of flattened kernel:
# ls -l vmlinux.bin
-rwxr-xr-x 1 m68k users 1290240 2004-06-09 22:41 vmlinux.bin
You can now compress kernel with gzip (bzip2 is not supported by EMILE): You can now compress kernel with gzip (bzip2 is not supported by EMILE):
# gzip -9 vmlinux.bin # gzip -9 vmlinux.bin
@@ -75,7 +69,7 @@ You can now compress kernel with gzip (bzip2 is not supported by EMILE):
You can copy first and second level bootloader and kernel to floppy: You can copy first and second level bootloader and kernel to floppy:
# emile-install -f first -s second -i vmlinux.bin.gz -b 1290240 /dev/fd0 # emile-install -f first -s second -k vmlinux.bin.gz /dev/fd0
And finally, you can set kernel boot arguments: And finally, you can set kernel boot arguments:
@@ -85,7 +79,7 @@ And finally, you can set kernel boot arguments:
If you have a ramdisk, the two last steps become: If you have a ramdisk, the two last steps become:
# emile-install -f first -s second -i vmlinux.bin.gz -b 1290240 -r ramdisk.gz /dev/fd0 # emile-install -f first -s second -k vmlinux.bin.gz -r ramdisk.gz /dev/fd0
# emile-set-cmdline /dev/fd0 "root=/dev/ramdisk ramdisk_size=2048" # emile-set-cmdline /dev/fd0 "root=/dev/ramdisk ramdisk_size=2048"
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@@ -60,7 +60,7 @@ manpage.1: manpage.sgml
</cmdsynopsis> </cmdsynopsis>
<cmdsynopsis> <cmdsynopsis>
<command>&dhprogram;</command> <command>&dhprogram;</command>
<arg>-r</arg> <arg>-g</arg>
<arg>image</arg> <arg>image</arg>
</cmdsynopsis> </cmdsynopsis>
</refsynopsisdiv> </refsynopsisdiv>
@@ -70,7 +70,7 @@ manpage.1: manpage.sgml
<para><command>&dhprogram;</command> sets the kernel command line <para><command>&dhprogram;</command> sets the kernel command line
to cmdline for a <command>&dhpackage;</command> to cmdline for a <command>&dhpackage;</command>
bootloader disk image, floppy disk device (/dev/fd0), bootloader disk image, floppy disk device (/dev/fd0),
or the second level file. Executing with "-r" flag, or the second level file. Executing with "-g" flag,
displays the current command line. displays the current command line.
</para> </para>
@@ -88,7 +88,7 @@ manpage.1: manpage.sgml
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-r</option></term> <term><option>-g</option></term>
<listitem> <listitem>
<para>Display current kernel command line.</para> <para>Display current kernel command line.</para>
</listitem> </listitem>