域名|空间 淘宝 拍拍网店传奇世界私服 林海科技频道 欢迎加盟1G双线赠数据库八折广告位56296827
返回列表 回复 发帖

[转帖]如何判定你是否具备有学习Linux的素质

<p>  俗话说:天有不测风云,人有旦夕祸福。</p><p>  作为一个Linux系统管理员,你可能会把Linux 超级用户密码遗忘了,把/etc/inittab或/etc/rc.d/rc.sysinit之类文件误编辑,导致系统不能正常启动的恼人错误?</p><!--Element not supported - Type: 8 Name: #comment--><table cellspacing="0" cellpadding="0" align="left" border="0"><tbody><tr><td><div id="ublicRelation5" name="ublicRelation"></div></td></tr></tbody></table><!--Element not supported - Type: 8 Name: #comment--><p>  而为了解决以上问题,你就需要进到linux根文件系统处于可读写状态的单用户模式下。</p><p>  下面介绍在GRUB引导下进入Linux单用户模式的三种方式:</p><p>  (1) 硬件环境:</p><p>  intel P4 / 1G RAM / sata 80G</p><p>  (2) 软件环境:</p><p>  1)Fedora Core 3(以下简称为FC3)和Windows2000 advance server双系统</p><p>  2)LVM管理Linux分区</p><p>  3)/boot/grub/grub.conf文件内容:</p><p>  # grub.conf generated by anaconda<br/>  #<br/>  # Note that you do not have to rerun grub after making changes to this file<br/>  # NOTICE: You have a /boot partition. This means that<br/>  # all kernel and initrd paths are relative to /boot/, eg.<br/>  # root (hd0,2)<br/>  # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00<br/>  # initrd /initrd-version.img<br/>  #boot=/dev/sda<br/>  default=1<br/>  timeout=1000<br/>  splashimage=(hd0,2)/grub/splash.xpm.gz<br/>  hiddenmenu<br/>  title Fedora Core (2.6.9-1.667)<br/>  root (hd0,2)<br/>  kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet<br/>  initrd /initrd-2.6.9-1.667.img<br/>  title windows 2000 adv<br/>  rootnoverify (hd0,0)<br/>  chainloader +1</p><p>  首先,启动电脑,屏幕出现如下提示:</p><p>  Press any key to enter the menu<br/>  Booting windows 2000 adv in 999 seconds…</p><p>  按任一键跳过计时,进入下一步:</p><p>  GNU GRUB version 0.95 (639K lower/103924K upper memory)<br/>  Fedora Core (2.6.9-1.667)<br/>  Windows 2000 adv</p><p>  下面是GRUB的提示:</p><p>  ‘e’ 在booting前编辑启动命令行</p><p>  ‘a’ 在booting前编辑kernel的参数</p><p>  ‘c’进入grub命令行</p>
返回列表