在使用usb软驱或usb模拟软件安装raid1时,如果是自定义硬盘分区,很有可能在安装时,硬盘被认为是sdb,而usb东东被认为是sda。这种情况下,安装完毕后,在重启系统时,就可能出现grub无法启动Linux的情况。
详细的错误不再细说了,如想启动开系统,可以在启动选择菜单中,按“e”,可以编辑启动命令,此时可以把启动命令“root (hd1,0)”改为“root”或“root (hd0,0)”,回车,按“b”即可成功启动了。
但是,再次启动时,仍然提示无法正常启动,还需要象上面一样重做一遍。这样显然是不行的,万一掉个电什么的,服务器无法自动正常启动。
查了一下intel主板的帮助说这种情况下的解决办法如下:
引用网址:
http://www.intel.com/support/motherboards/server/sb/CS-025446.htm
During SuSE* Linux Enterprise Server installation, if a USB floppy drive is used to load mass storage driver, SuSE* Linux Enterprise Server may not able to boot after basic installation.
The following message appears:
resume device /dev/sdb1 not found (ignoring)
waiting for device /dev/sdb2 to appear..............................not found -- exiting to /bin/sh
$
This is because during installation, the USB floppy device was recognized as sda, and the mass storage was recognized as sdb. After reboot, mass storage is now recognized as sda, but SuSE* Linux still tries to load system files from sdb. To solve this issue, the grub menu list file and the fstab file needs to be modified.
At $ prompt, type the following command to mount file system on mass storage:
mount /dev/sda2 /tmp
(1) Edit the grub menu list file to change all entries with sdb to sda:
/tmp/bin/vi /tmp/boot/grub/menu.lst
(2) Next edit the fstab file to change all entries with sdb to sda and remove lines with floppy:
/tmp/bin/vi /tmp/etc/fstab
(3) Press Crtl-Alt-Del to reboot the server. SuSE* Linux should be able to find root file system and continue installation.
Operating System:
SUSE Linux Enterprise Server 10*
上面写的大体明白怎么回事了,但是与我的实际情况不符,因为sda2已经被我分区占用了。
明白怎么回事,就可以找到另外的解决办法,就是先通过手工改启动命令正常启动系统(本文一开始说的方法),找到/boot/grub/menu.lst文件,用gedit编辑一下,把其中的hd(1,0)全改为hd(0,0),保存,重启服务器,服务器很顺利的完全正常启动了。
全文完。
分享到:
相关推荐
安装SUSE Linux Enterprise for SAP Application 12 SP1 安装SLES 12 ,SAP HANA专用版 step by step 安装过程
SUSE SLES 11 SP2 环境部署详细安装,配置文档,使用中小企业搭建虚拟化平台。
介绍Linux安装redis的步骤、已经安装过程中遇到的很奇葩的问题,本文可以给不了解redis安装步骤的人提供问题的解决方案
华为服务器 Purley平台 SLES 12 SP3 安装指导书
SLES-11-SP4-DVD-x86_64-GM-DVD1.iso
华为 SAP HANA一体机 集群安装指南(RH5885H&RH8100 V3+5500 V3+SLES12SP1)02.pdf
sles11 官方文档_所有部分 SLES 11 Administration Guide SLES 11 Installation Quick Start
SLES-11-DVD-x86_64-GM-DVD1.iso sles11官方iso文件的百度网盘链接。 官网和其它源已很难找到该ISO。
经过无数次的上网搜索、参考前辈们的意见。结合自己的实践和经历,走了无数次的弯路,吐血整理,打包成完整的ansible离线安装资源包,包含ansible2.7.2介质和所有可能用到的依赖包。
MB V6 Inst Notes SLES 10 Linux
10gR2_sles11_install.pdf文档,中文的.
需要使用tar -xvf MySQL-5.6.45-2.sles12.x86_64.rpm-bundle.tar命令解压,里面是一堆rpm安装包,安装时使用到的包有:mysql-community-common-5.6.45-2.sles12.x86_64.rpm、mysql-community-libs-5.6.45-2.sles12....
在SUSE下安装ORACLE的方法和操作,使用指南等等
SLES10SP3在P2V的修复方法SLES10SP3在P2V的修复方法SLES10SP3在P2V的修复方法SLES10SP3在P2V的修复方法SLES10SP3在P2V的修复方法SLES10SP3在P2V的修复方法
Oracle10g for SLES10_SP1的安装文档,本人在公司测试环境安装后写的文档,可用且较为详细。
SLES Pacemaker SLES Pacemaker SLES Pacemaker SLES Pacemaker
MySQL数据库SUSE Linux版本:mysql-8.0.26-1.sles12.x86_64.rpm-bundle.tar 适用于:SUSE Linux Enterprise Server 12 (x86, 64-bit), RPM Bundle
该文档是我结合网上资源,反复安装了七八遍写好的,只要版本匹配,按步骤执行是绝对没有问题的 安装的时候细心一些,尤其在需要切换root用户时,注意再切换回来。祝你们安装成功!
SLES-10-SP4-DVD-x86_64-GM-DVD1.iso