s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
11. Tips and tricks
11.1 Redirecting output of the make or patch commands
If you would like logs of what those `
If you use sh or bash, (command) 2>&1 | tee (output file)will place a copy of (command) 's output in the
file `(output file) '.
For csh or tcsh, use (command) |& tee (output file)
For rc (Note: you probably do not use rc) it's (command) >[2=1] | tee (output file)
11.2 Conditional kernel installOther than using floppy disks, there are several methods of testing out a new kernel without touching the old one. Unlike many other Unix flavors, LILO has the ability to boot a kernel from anywhere on the disk (if you have a large (500 MB or above) disk, please read over the LILO documentation on how this may cause problems). So, if you add something similar to image = /usr/src/linux/arch/i386/boot/bzImage label = new_kernelto the end of your LILO configuration file, you can choose to run a newly compiled kernel without touching your old /vmlinuz (after running
lilo , of course). The easiest way to tell LILO to boot a new
kernel is to press the shift key at bootup time (when it says
LILO on the screen, and nothing else), which gives you a prompt.
At this point, you can enter `new_kernel ' to boot the new kernel.
If you wish to keep several different kernel source trees on your system at
the same time (this can take up a lot of disk space; be careful), the
most common way is to name them
11.3 Kernel updatesRussell Nelson ( http://www.crynwr.com/kchanges
Next Previous Contents |