LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: jianking

LFS安装设想,请大家指点一下!

[复制链接]
发表于 2004-2-21 10:40:33 | 显示全部楼层
最初由 jianking 发表
对了,忘记问home_king兄,不知你上述命令从那里得来?可否告诉兄弟我一下,我在网上搜了很久都没有找到相关的内容!

knoppix官方网站上主页的boot options链接,不很长,我在这贴一下吧。
http://download.linuxtag.org/knoppix/knoppix-cheatcodes.txt

  1.    CHEATCODES AND HINTS FOR KNOPPIX V3.3
  2. ==============================================================================
  3.                          (last update: 09.02.2004)

  4. These options (can be combined) work from the SYSLINUX bootprompt:

  5. knoppix lang=cn|de|da|es|fr|it|nl   specify language/keyboard
  6. knoppix lang=pl|ru|sk|tr|tw|us      specify language/keyboard
  7. knoppix alsa (or alsa=es1938)       Use ALSA sound driver (at your own risk)
  8. knoppix desktop=fluxbox|icewm       Use specified WM instead of KDE (1)
  9. knoppix desktop=kde|larswm|twm      Use specified WM instead of KDE (2)
  10. knoppix desktop=wmaker|xfce         Use specified WM instead of KDE (3)
  11. knoppix screen=1280x1024            Use specified Screen resolution for X
  12. knoppix xvrefresh=60 (or vsync=60)  Use 60 Hz vertical refresh rate for X
  13. knoppix xhrefresh=80 (or hsync=80)  Use 80 kHz horizontal refresh rate for X
  14. knoppix xserver=XFree86|XF86_SVGA   Use specified X-Server
  15. knoppix xmodule=ati|fbdev|i810|mga  Use specified XFree4-Module (1)
  16. knoppix xmodule=nv|radeon|savage|s3 Use specified XFree4-Module (2)
  17. knoppix xmodule=radeon|svga|i810    Use specified XFree4-Module (3)
  18. knoppix 2                           Runlevel 2, Textmode only
  19. knoppix floppyconfig                Run "knoppix.sh" from a floppy
  20. knoppix myconf=/dev/sda1            Run "knoppix.sh" from a partition
  21. knoppix myconf=scan (or config=scan) Try to find "knoppix.sh" automatically
  22. knoppix home=/dev/sda1/knoppix.img  Mount loopback file as /home/knoppix
  23. knoppix home=scan                   Automatic search for knoppix homedir
  24. knoppix no{apic,agp,apm,audio,ddc}  Skip parts of HW-detection (1)
  25. knoppix no{firewire,isapnpbios}     Skip parts of HW-detection (2)
  26. knoppix no{pcmcia,scsi,swap,usb}    Skip parts of HW-detection (3)
  27. failsafe                            Boot with (almost) no HW-detection
  28. knoppix pci=irqmask=0x0e98          Try this, if PS/2 mouse doesn't work *)
  29. knoppix pci=bios                    Workaround for bad PCI controllers
  30. knoppix ide2=0x180 nopcmcia         Boot from PCMCIA-CD-Rom (some notebooks)
  31. knoppix mem=128M                    Specify Memory size in MByte
  32. knoppix dma                         Enable DMA for ALL IDE-Drives
  33. knoppix noeject                     Do NOT eject CD after halt
  34. knoppix noprompt                    Do NOT prompt to remove the CD
  35. knoppix vga=normal                  No-framebuffer mode, but X
  36. knoppix blind                       Start Braille-Terminal (no X)
  37. knoppix brltty=type,port,table      Parameters for Braille device
  38. knoppix wheelmouse                  Enable IMPS/2 protocol for wheelmice
  39. knoppix nowheelmouse                Force plain PS/2 protocol for PS/2-mouse
  40. fb1280x1024                         Use fixed framebuffer graphics (1)
  41. fb1024x768                          Use fixed framebuffer graphics (2)
  42. fb800x600                           Use fixed framebuffer graphics (3)
  43. knoppix keyboard=us xkeyboard=us    Use different keyboard (text/X)
  44. knoppix splash                      Boot with fancy background splashscreen
  45. knoppix toram                       Copy CD to RAM and run from there
  46. knoppix tohd=/dev/hda1              Copy CD to HD partition and run from there
  47. knoppix fromhd=/dev/hda1            Boot from previously copied CD-Image
  48. knoppix testcd                      Check CD data integrity and md5sums
  49. expert                              Interactive setup for experts

  50. Hint: Using the default DE-bootimage, SYSLINUX boots with german keyboard
  51. layout. The '=' letter is located at Shift-0 on this keyboard (just in
  52. case you want to change keyboard and language with lang=us).

  53. *) Try "knoppix pci=irqmask=0x0e98" if (you have a notebook and) your
  54. PS/2 mouse doesn't work. (Possibly caused by a BIOS-flaw on your board,
  55. BIOS updates can help.) Sometimes, switching to the text console with
  56. Control-Alt-F1 and back to the X-screen with Control-F5 solves the
  57. problem without rebooting, since the X server reinitializes the mouse
  58. driver during that procedure.

  59. If your KNOPPIX CD makes strange noises during boot, or you see
  60. frequent errors like "cloop: read error", or programs on your KDE
  61. desktop keep crashing randomly, then your CD image is probably defective
  62. or incomplete, or your CD-burner created a defective CD due to wrong
  63. writing speed or bad media. This is the most common error reported.
  64. Please boot with "knoppix testcd" to check if the CD is OK, and/or even
  65. better, verify the MD5 checksums that are present on the mirrors before
  66. writing the CD. In some cases, defective IDE controllers cause this
  67. error if you have DMA enabled. Also, please read the KNOPPIX-FAQ.

  68. In case of a failing hardware autodetection, try booting with any of
  69. the "no-" options as shown in the table above, like in
  70.    knoppix noagp noaudio noddc noapm noapic nodma nopcmcia noscsi nousb
  71. to skip some critical parts of the autodetection system.

  72. The "noswap" option is useful for a forensic analysis without touching
  73. existing swap partitions.

  74. Some Boards apparently don't pass the proper memory size to the
  75. linux-kernel. It may cause the message "Panic: cannot mount root file
  76. system" and the system hangs. Use "knoppix mem=128M" to solve that
  77. problem if your system has 128MByte memory for example (caution:
  78. you MUST use a capital "M" here).

  79. The "expert" mode provides a very simple interface to loading additional
  80. Kernel modules from floppy disks (ext2 or vfat), plus interactive
  81. configuration of mouse/keyboard/soundcard/xserver. "expert" mode supports
  82. the same boot options as "knoppix".

  83. The "floppyconfig" or "(my)config=/dev/partition" options allow you to
  84. reconfigure the system after autoconfiguration by running a bourne
  85. shell script called "knoppix.sh" from the root directory on the given
  86. device (or floppy). There is a GUI to create such a configuration
  87. floppy disk calles "saveconfig" (also located in the KDE menu under
  88. "KNOPPIX", but experts also know how to do this by creating their own
  89. shellscripts. From Version 2.1 and up, a file called "knoppix.sh", if
  90. located in the toplevel KNOPPIX directory on CD, will also be executed
  91. at startup. This makes ist easier to create customized versions without
  92. having to change anything on the compressed filesystem KNOPPIX/KNOPPIX.

  93. SCSI-Emulation is active for all CD-Roms, so IDE CD-Writers should
  94. work with the installed versions of cdrecord and cdrdao (or the
  95. graphical frontends thereof, k3b for example).

  96. If your BIOS does not support el torito booting from CD, you can create
  97. a bootable floppy disk by issuing (on Linux)
  98. dd if=/cdrom/KNOPPIX/boot.img of=/dev/fd0 bs=18k
  99. or, in case of DOS, use the rawrite.exe program provided in the
  100. KNOPPIX directory on CD.

  101. If you wish to remaster the CD, please don't forget to specify
  102.         -b KNOPPIX/boot.img
  103. for the german version of the bootfloppy, or
  104.         -b KNOPPIX/boot-en.img
  105. for the english version, as option to mkisofs. Otherwise your CD
  106. won't be bootable. The directory KNOPPIX, containig the compressed
  107. filesystem file "KNOPPIX", must be located in the top level
  108. directory of the CD.

  109. Caution: X-Screensaver: Don't start xlock or any screensaver that
  110. requires a password. There are no default passwords on KNOPPIX,
  111. i.e. all accounts are LOCKED unless you explicitly set a password.
  112. See also README_Security.txt about this issue.
  113. If you accidentially hit the screensaver button in KDE,
  114. switch to one of the textconsoles by Control-Alt-F1 and kill
  115. the screensaver (or just set a password for the knoppix user).

  116. If you would like to edit your X-Server configuration manually
  117. (/etc/X11/XF86Config-4 for XFree86 V4.x), use "knoppix 2" to boot
  118. into runlevel 2 (textmode only) and, after changing the X
  119. configuration, start the X environment with "init 5". Note that
  120. you can always leave the graphical environment with "init 2", and
  121. restart it later with "init 5".
复制代码
发表于 2004-2-22 00:37:55 | 显示全部楼层
呵呵,也去试试看。
 楼主| 发表于 2004-2-22 00:44:06 | 显示全部楼层
我原来还以为这个文件和屏幕显示的内容一样多呢,现在看来是我粗心了!以后要好好改正!
发表于 2004-2-22 00:54:33 | 显示全部楼层
请问
knoppix lang=cn
是不是中文?
 楼主| 发表于 2004-2-22 10:01:58 | 显示全部楼层
并不是中文,只是对中文支持,也就是可以看中文,
但字体非常难看,英文字更加暴大!
发表于 2004-2-22 14:30:12 | 显示全部楼层
用knoppix fromhd=/dev/hda?命令启动
需要在/dev/hda? 上有什么内容,为什么我直接拷贝光盘中knoppix目录所有内容到d: 盘根目录下后,再用这个命令启动还是狂读光驱,没有丝毫从硬盘运行knoppix的迹象呢?
发表于 2004-2-22 14:50:04 | 显示全部楼层
最初由 freesky64 发表
用knoppix fromhd=/dev/hda?命令启动
需要在/dev/hda? 上有什么内容,为什么我直接拷贝光盘中knoppix目录所有内容到d: 盘根目录下后,再用这个命令启动还是狂读光驱,没有丝毫从硬盘运行knoppix的迹象呢?

knoppix tohd=/dev/hda1              Copy CD to HD partition and run from there
knoppix fromhd=/dev/hda1            Boot from previously copied CD-Image
 楼主| 发表于 2004-2-22 15:00:46 | 显示全部楼层
最初由 freesky64 发表
用knoppix fromhd=/dev/hda?命令启动
需要在/dev/hda? 上有什么内容,为什么我直接拷贝光盘中knoppix目录所有内容到d: 盘根目录下后,再用这个命令启动还是狂读光驱,没有丝毫从硬盘运行knoppix的迹象呢?


我是使用knoppix tohd=/dev/hda5来将目录拷贝到我的d盘的。
以后启动就使用hnoppix fromhd=/dev/hda5

我的分区是
hda1----c:
hda2----扩展分区
hda5----d:
hda6----e:
你的具体位置应该看自己情况,这点要搞清楚
而手动拷贝knoppix目录我没有试过。
发表于 2004-2-23 09:47:22 | 显示全部楼层
原来要这样,我再试试看,谢谢了!
发表于 2004-2-23 09:49:31 | 显示全部楼层
另外我想,有没有可能甚至不用光盘启动呢?
直接用个什么办法启动后,再使用
knoppix fromhd=/dev/hda?来达到目的呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表