您的位置:首页 > 运维架构 > Linux

linux安装后不能启动解决方法

2010-01-01 17:28 1381 查看
启动到LINUX界面下按F3,后输入linux all-generic-ide pci=nommconf 后回车即可。安装完后,重启时还需要输入。

  按“E”选择,在选中第二项。

  按“E”,输入:pci=nommconflinux all-generic-ide pci=nommconf 回车,后按“B”即可正常启动。
启动搞定了就差重启时候的引导了;这时候就不要再来每次启动都手动edit it;
进入系统后找到:/boot/grub/grub.conf(“引导配置文件”)再把
pci=nommconf/boot/grub/grub.conf的相应位置(不要放到“#”后面啦、这是解释语句来的)启动选项行只有两个选项来的、你看吧、我在手动处理时候是两个选项后面添加命名都行的、 这时候在grub.conf中两处都给它放上得了、懒得理它重启ok啦!
修改启动文件grub.conf确保新安装的内核为优先启动.

#cat /boot/grub.conf

////////////////////////////////////////////////////////////////////

# 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,1)

# kernel /vmlinuz-version ro root=/dev/sda8

# initrd /initrd-version.img

#boot=/dev/sda

default=0

timeout=5

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

hiddenmenu

title Red Hat Enterprise Linux AS (2.6.9-22.ELhugemem)

root (hd0,1)

kernel /vmlinuz-2.6.9-22.ELhugemem ro root=LABEL=/ rhgb quiet pci=nommconf

initrd /initrd-2.6.9-22.ELhugemem.img

title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)

root (hd0,1)

kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet pci=nommconf

initrd /initrd-2.6.9-22.ELsmp.img

title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)

root (hd0,1)

kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet pci=nommconf

initrd /initrd-2.6.9-22.EL.img

////////////////////////////////////////////////////////////////////////////////////////////////

如果hiddenmenu

下面的内容顺序不对,请修改default=x(x对应ELhugemem项)
我遇到的是只有两个启动加载项、这上面的是3个、都加上吧不会逃掉的、好像决定启动选项应该是在default=0

timeout=5

splashimage=(hd0,1)/grub/splash.xpm.gz 这里决定的;

安装linux时在running /sbin/loader停止

解决方法如下:

即在进入初始页面(选择安装、修复、检测的菜单页面)时,按Tab键,输入 linux acpi=off apm=off 再回车

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  不能启动 linux 职场