免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: killua
打印 上一主题 下一主题

linux-2.6内核升级文档(全) [复制链接]

论坛徽章:
0
41 [报告]
发表于 2005-05-28 00:53 |只看该作者

linux-2.6内核升级文档(全)

按照原文升级2.4内核到2.6不能起动的问题. 问题如下,请求帮助
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hdb3
# initrd /initrd-version.img
#boot=/dev/hdb
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.11.10)
root (hd0,0)
#kernel /vmlinuz-2.6.11.10 ro root=LABEL=/(升级2.4内核到2.6后,默认生成)
kernel /vmlinuz-2.6.11.10 ro root=/dev/hdb1 elevator=deadline(按照原文修改的)
initrd /initrd-2.6.11.10.img
title Red Hat Linux (2.4.20-
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,4)
chainloader +1
grub.conf 文件内容如上, 但是没有办法起动,开机提示如下

VFS: cannot open root device "/dev/hdb1" or Unknown_block(0,0)
Please append a correct "root=" boot option
Kernel panic-not Syncing:VFS:unable to mount root fs on Unknown-block(0,0)
<7>; Whci_hcd 0000:00:1f.4 Suspend-he

注: RH9 安装在 第一个IDE从盘的硬盘第一分区上

我是双硬盘,一个装XP(IDE1主盘),一个装linux(IDE1从盘),有boot分区,这些是确定的。至于为什么(hd0,0)因为我是新手,我也不大清楚。不过我的从盘里有一个fat32分区(在后面30G),在挂载这个区分的时候,使用的就是/dev/hdb5呀。再一个我改成/dev/hda1也不行的,还是出现同样的问题。

在grub>;提示符下用默认的
grub>;root (hd0,0)
grub>;kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
grub>;initrd /initrd-2.4.20-8.img
grub>;root
或者
grub>;root (hd0,0)
grub>;kernel /vmlinuz-2.4.20-8 ro root=/dev/hdb1(hda1)
grub>;initrd /initrd-2.4.20-8.img
grub>;root

都不能启动内核是2.4.20-8的系统,如果直接在启动菜单选择这个还是可以进入linux-2.4.20-8的,不知道为什么出现这现象。

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
42 [报告]
发表于 2005-06-15 17:41 |只看该作者

linux-2.6内核升级文档(全)

VFS: cannot open root device "/dev/sda1" or Unknown_block(0,0)
Please append a correct "root=" boot option
Kernel panic-not Syncing:VFS:unable to mount root fs on Unknown-block(0,0)
<7>; Whci_hcd 0000:00:1f.4 Suspend-he


重启出现这个提示是什么意思呢?
grub.conf中默认是这样的,后来改成root=/dev/sda1还是上面的提示
kernel /vmlinuz-2.6.2 ro root=LABEL=/

论坛徽章:
0
43 [报告]
发表于 2005-06-15 20:06 |只看该作者

linux-2.6内核升级文档(全)

楼主只把升级前写了,升级后我把我的总结贴一下。


http://www.grlinux.net/squall/solve_kernel26.htm

论坛徽章:
0
44 [报告]
发表于 2005-06-19 12:01 |只看该作者

linux-2.6内核升级文档(全)

谢谢,支持一下

论坛徽章:
0
45 [报告]
发表于 2005-07-13 16:53 |只看该作者

linux-2.6内核升级文档(全)

安装lvm2-2.00.25-1.01.i386.rpm 时出错,怎么解决??
warning: / mnt/usb/lvm2-2.00.25-1.01.i386.rpm :V3 DSA signature:NOKEY,key ID 4f2a6fd2
error:Failed dependencies:
kernel >;=2.6 is need by lvm2-2.00.25-1.01 libselinux.so.1 is needed by lvm2-2.00.25-1.01 lvm <1.0.3-19 confilicts with lvm2-2.00.25-1.01

论坛徽章:
0
46 [报告]
发表于 2005-07-13 18:39 |只看该作者

linux-2.6内核升级文档(全)

需要2.6的内核,楼主是怎么升的呢?
qmylove 该用户已被删除
47 [报告]
发表于 2005-09-22 14:35 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
48 [报告]
发表于 2005-10-14 13:29 |只看该作者

linux-2.6内核升级文档(全)

Networking support  --->;     网络选项
               
  • Networking support                                                                  
                     Networking options  --->;                                       
                                  <*>; Packet socket                                                                        
                         [ ]   Packet socket: mmapped IO                                                         
                         < >; Netlink device emulation                                                            
                         <*>; Unix domain sockets        如果你有网络就选                                                         
                         < >; PF_KEY sockets                                                                     
                         
  • TCP/IP networking                                                                    
                         [ ]   IP: multicasting                                                                  
                         [ ]   IP: advanced router                                                               
                         [ ]   IP: kernel level autoconfiguration                                                
                         < >;   IP: tunneling                                                                     
                         < >;   IP: GRE tunnels over IP                                                            
                         [ ] IP: ARP daemon support (EXPERIMENTAL)                                                
                         
  • IP: TCP syncookie support (disabled per default)     能防DOS攻击,但会降低一点性能,总的说性价比不错                                
                         < >; IP: AH transformation                                                               
                         < >; IP: ESP transformation                                                              
                         < >; IP: IPComp transformation                                                            
                         < >; IP: tunnel transformation                                                            
                         <*>; IP: TCP socket monitoring interface                                                  
                          IP: Virtual Server Configuration  --->;                   lvs 支持                           
                         < >; The IPv6 protocol (EXPERIMENTAL)                                                   
                         
  • Network packet filtering (replaces ipchains)  --->;    包过滤省略(知道的自己选,不熟悉的都选上)              
                                               以下都没选,省略

    怎么没有netfilter configuration???
  • 论坛徽章:
    0
    49 [报告]
    发表于 2005-12-31 17:07 |只看该作者

    NUMA是新出现的?

    原帖由 killua 于 2005-1-18 18:17 发表
    ...
       06.NUMA
           对非一致内核访问(Non-Uniform Memory Access - NUMA)系统的支持是 2.6 内核中新出现的。
    ...


    那么2.4里的mm/numa.c是干什么用的?

    论坛徽章:
    0
    50 [报告]
    发表于 2007-12-13 14:07 |只看该作者
    我按你的方法升级,但升级后用新内核启动时,报错。

    以下是启动时,出现的错误提示:

    Uncompressing Linux...OK,booting the kernel.
    PCI:Cannot allocate resource region 4 of device 0000:00:07.1
    audit(1195948811.376:0):initialized
    Red Hat nash version 4.2.1.6 starting
        Reading all physical volumes.  This may take a while ...
        No volume groups found
       Unable to find volume group "VolGroup00" (VolGroup00是我分区的逻辑卷)
    ERROR:  /bin/lvm exited abnormally!(pid 369)
    Mount:  error  6  mounting  ext3
    Mount:  error  2  mounting  none
    Switchroot: mount  failed: 22
    Umount   /initrd/dev failed:  2
    Kernel panic  ---  not syncing: Attempted to kill init!
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP