当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 转载自:http://blog.chinaunix.net/article.php?articleId=34406&blogId=7635前天恢复我的RH8,一年多了,没时间管她。
 

 

 ·如何看透一个人    »显示摘要«
    摘要:看一个男人的品味,要看他的袜子。    看一个女人是否养尊处优,要看她的手。    看一个人的气血,要看他的头发。    看一个人的心术,要看他的眼神。    看一个人的身价,要看他的对手。    看一个人的底牌.要看他身边的好友。    看一个人的性格,要看他的字写得怎样。    看一个人是否快乐,不要看笑容,要看清晨梦醒时的一刹那表情。    看一个人的胸襟,要看他如何面对失败及被人出卖。  ......
 ·为网卡配置多ip    »显示摘要«
    摘要:我用的是8139的网卡,今天为其配置了多个ip,这是我的配置经过……为一块网卡配置多ip可以通过命令行设置也可以通过配置文件设置,以下我分别通过这两种方式实现:1.用命令行设置ifconfig命令格式:ifconfig 设备名 ip netmask 掩码 broadcast 广播地址 动作[root@localhost root]# ifconfigeth0   &#......


教你如何学习GRUB[转]
上一页   .../dev/hdc1 * 1 894 7181023+ b win95 fat32

/dev/hdc2 895 2434 12370050 f win95 extd (lba) 【程序编程相关:重新编译内核来修改进程打开的最大文件数和

【推荐阅读:忘记root密码(grup/lilo)

/dev/hdc5 895 1787 7172991 b win95 fat32 【扩展信息:windows做时间服务器,linxu和

/dev/hdc6 1788 2434 5196996 b win95 fat32

disk /dev/hda: 255 heads, 63 sectors, 1867 cylinders

units = cylinders of 16065 * 512 bytes

device boot start end blocks id system

/dev/hda1 * 1 1020 8193118+ 83 linux

/dev/hda2 1021 1802 6281415 83 linux

/dev/hda3 1803 1867 522112+ 82 linux swap

grub.conf,这个文件位于;/boot/grub/grub.conf

# grub.conf generated by anaconda

#

# note that you do not have to rerun grub after making changes to this file

# notice: you do not have a /boot partition. this means that

# all kernel and initrd paths are relative to /, eg.

# root (hd0,0)

# kernel /boot/vmlinuz-version ro root=/dev/hda1

# initrd /boot/initrd-version.img

#boot=/dev/hda

default=0

timeout=3

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title red hat linux (2.4.18-14)

root (hd0,0)

kernel /boot/vmlinuz-2.4.18-14 ro root=label=/

initrd /boot/initrd-2.4.18-14.img

title microsoft windows xp

map (hd0) (hd1)

map (hd1) (hd0)

root (hd1,0)

chainloader (hd1,0)+1

makeactive

boot

2 解读grub.conf文件

我们将来看看grub.conf文件内语句,(注:...)内的东西是我们的解读内容.

# grub.conf generated by anaconda

#

# note that you do not have to rerun grub after making changes to this file

# notice: you do not have a /boot partition. this means that

# all kernel and initrd paths are relative to /, eg.

# root (hd0,0)

# kernel /boot/vmlinuz-version ro root=/dev/hda1

# initrd /boot/initrd-version.img

#boot=/dev/hda (注:以上以符号井"#"开头的行表示被注释掉,没有任何意义)

default=0 (注:默认的操作系统就是由default控制的.default后加一个数字n,表明是第 n+1个.需要注意的是,grub中,计数是从0开始的,第一个硬盘是hd0,第一 个软驱是fd0,等等.所以,default 0 表示默认的操作系统在这儿是 red hat linux (2.4.18-14)如果你修改成1就是winxp了)

timeout=3 (注:timeout表示默认等待的时间,这儿是3秒钟.超过3秒,用户还没有作出选 择的话,系统将自动选择默认的操作系统;当然你可以改成任何你乐意的时间)


...   下一页
 ·无聊    »显示摘要«
    摘要:选择生命,选择工作,选择终生职业,选择家庭,选择他妈的大电视,选择洗衣机,选择汽车,选择cd机,选择健康...........选择低类固醇和牙医保险,选择数字按揭,选择买第一间房子,选择你的朋友,选择分期付款的头三件西装,选择他妈的强生避孕套,星期天傻乎乎的收看无聊的电视,边看边吃零食,选择苟延残喘,选择在老人院尿床,在象你一样的狗男女面前丢脸,选择将来,选择生命........,我为什么要这样?......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE