control node not booting up SLES 10 SP3, the only way to boot the node is via Failsafe Mode

  • KM02770434
  • 06-Apr-2017
  • 06-Apr-2017

Summary

control node not booting up SLES 10 SP3, the only way to boot the node is via Failsafe Mode Node is a Proliant DL180G6

Error

control node not booting up SLES 10 SP3, the only way to boot the node is via Failsafe Mode

 

Node is a Proliant DL180G6

Cause

steps taken to try and boot SLES10 SP3

1.- vi'd  device.map and menu.lst to replace /dev/disk/by-id/cciss-3600508b1001c0b1e36dbf138146bf0ca with /dev/cciss/c0d0

  it did not boot

2.- reinstalled grub

Boot using the SLES10 SP3 DVD ROM. Select the Rescue System option.
Login as root without entering a password.

From Rescue Boot:
mount /dev/cciss/c0d0p1 /mnt
cd /mnt

made sure
/boot/grub/menu.lst has a line root (hd0,0)
/boot/grub/device.map so that it has (hd0) /dev/cciss/c0d0

mount --bind /sys sys
mount --bind /proc proc
mount --bind /dev dev
chroot .

Rescue:/#grub-install --nofloppy /dev/cciss/c0d0

expr: non-numeric argument
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script 'grub-install'

(hd0) /dev/cciss/c0d0
(hd1)   /dev/disk/by-id/cciss-3600508b1001c0a1e7b5e4afaba29732d


grub
grub>root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grub>setup (hd0)
Checking if :/boot/grub/stage1" exists... yes
Checking if :/boot/grub/stage2" exists... yes
Checking if :/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.

grub>

reboot and let it reboot from sles10 sp3 -- no luck , still won't boot
rebooted from failsafe and vi'd device.map to

(hd0)   /dev/disk/by-id/cciss-3600508b1001c0b1e36dbf138146bf0ca
(hd1)   /dev/disk/by-id/cciss-3600508b1001c0a1e7b5e4afaba29732d

reboot and see if it comes up after fixing device.map

it did not reboot , I had to reboot from failsafe mode

--

nothing seems to help ,  still cannot boot standard sles10 sp3,
failsafe mode is the only way to boot the node up

---

Fix

- Configured /boot/grub/menu.lst file to make Failsafe mode the defaul boot

menu.lst
password -md5 7496656217
Modified by YaST2. Last modification on Fri Mar 16 15:20:07 UTC 2012
default 1        <<<==== setting default 1 makes failsafe the default boot
timeout 8
YaST - generic_mbr
YaST - activate

Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 10 SP3
root (hd0,0)
kernel /boot/vmlinuz-2.6.16.60-0.54.5-bigsmp root=/dev/disk/by-id/cciss-3600508b1001c0b1e36dbf138146bf0ca-part1    resume=/dev/cciss/c0d0p2 splash=silent  vga=0x318 showopts
initrd /boot/initrd-2.6.16.60-0.54.5-bigsmp

Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 10 SP3
root (hd0,0)
kernel /boot/vmlinuz-2.6.16.60-0.54.5-bigsmp root=/dev/disk/by-id/cciss-3600508b1001c0b1e36dbf138146bf0ca-part1 vga=
0x318 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd-2.6.16.60-0.54.5-bigsmp