📄 00000070.htm
字号:
Additional editing instructions are imbedded in the nuni script. <BR> <BR> Progress Indicator: <BR> <BR> When nuni is loading the kernel, it prints a string of '.........' <BR> one for each ext2 block that is loaded. <BR> <BR> Kernel command line: <BR> <BR> Nuni accepts file-based and interactive input for the kernel <BR> command line. These are concatenated at boot time. The file-based <BR> kernel parameters are placed in the nuni script. Editing <BR> instructions are included in the script. The parameters or commands <BR> can be placed on separate lines for readability if desired. To <BR> obtain a prompt at boot time, hold down any shift, control, or alt <BR> key while the bios boot sequence is proceeding. A prompt of the <BR> form: <BR> <BR> Cmd: <BR> <BR> will appear. Type any desired kernel parameters using the syntax <BR> described in the BootPrompt HOWTO. <BR> <BR> Errors: <BR> <BR> If nuni receives an error code from the drive, it prints an 'E' and <BR> halts. Nuni can't really tell the difference between garbage and <BR> correct data. In the case of garbage, it will happily load blocks <BR> until it happens to attempt to fetch a block beyond the end of the <BR> drive. Then it will get an error code form the drive. <BR> <BR> Multi-booting: <BR> <BR> If you have a boot manager, you can put nuni in the boot sector of <BR> each Linux system to be booted. Without a boot manager, you can put <BR> nuni on a different floppy for each Linux system to be booted. This <BR> method is fast and may be more convenient than administering a <BR> multi-booting loader. <BR> <BR> Ontrack Disk Manager: <BR> <BR> If you have Ontrack on the drive, use this in nuni.c <BR> <BR> #define ontrack 63 <BR> <BR> If Ontrack is not present use <BR> <BR> #define ontrack 0 <BR> <BR> Real-soon-now this will be made automatic. <BR> <BR> Verbosity: <BR> <BR> The verbosity can be turned on and off by editing this line in <BR> nuni.c: <BR> <BR> #define verbose 1 <BR> <BR> <BR> <BR> About the Author of nuni: <BR> <BR> Neil writes: <BR> <BR> "I have been an assembly language junkie since the days of the TRS-80 <BR> Model 1. I used to write cpm bios's and assemblers & cross-assemblers <BR> for Z80 and NS32000 machines. Around 1986 I wrote a 32-bit (single <BR> user) operating system for the NS32000. I was a performance junkie, <BR> too, and my system compiler would compile a program in less time than <BR> it took to just make a copy of the source. " <BR> <BR> "After MS Windows took over, I was a man without a country for many <BR> years. Coming to Linux is like coming home, but what a transition; <BR> Linux has more files than my old system had bytes. This boot loader is <BR> a nice exercise for breaking the ice; some nice easy assembly coding <BR> together with a little sprinkling of C and script." <BR> <BR> Neil has also submitted nuni to Mandrake for possible inclusion in the <BR> Linux-Mandrake distribution. They are also considering GRUB, the <BR> bootloader from the GNU project. A selection of non-LILO interactive <BR> boot programs that included GRUB, chos and syslinux are available at <BR> metalab. <BR> <BR> <BR> Files Needed <BR> <BR> nuni <BR> <BR> nuni-0.04.tar.gz <BR> <BR> nasm <BR> <BR> RPM nasm-0.98-1.i386.rpm <BR> <BR> SOURCE <A HREF="http://www.web-sites.co.uk/nasm/ver.html">http://www.web-sites.co.uk/nasm/ver.html</A> <BR> <BR>===End===== <BR>-- <BR> //sigh, 签名档太长会浪费空间, 所以放到个人说明档里面去了。呵呵... <BR> 我转载的一切文章, 版权归相应的作者所有。 <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -