Where to Download Rescue CD

Hello All, Linux newbie here. I’m running SLES 10 SP1 (best of my memory and I’m away from system), server boots to grub prompt and when I find for stage1 (file not found) or do

setup (hd0,0)
Checking if “/boot/grub/stage1” exists… no
Checking if “/grub/stage1” exists… no

I’d like to attempt to install those files from a rescue disk. Where can I download the necessary rescue disk given the OS I’m on?

Hi and welcome to the Forum :slight_smile:
CD1 should get you to a rescue system…
https://download.novell.com/Download?buildid=2FNtOnmkx-w~

The other option is to boot from any rescue system and then mount, bind and chroot…

Am 22.02.2017 um 05:04 schrieb Cj12345:[color=blue]

Hello All, Linux newbie here. I’m running SLES 10 SP1 (best of my
memory and I’m away from system), server boots to grub prompt and when I
find for stage1 (file not found) or do

setup (hd0,0)
Checking if “/boot/grub/stage1” exists… no
Checking if “/grub/stage1” exists… no[/color]

Before doing a “setup” you need to tell grub from where to copy stuff,
aka do a “root (hd0,0)” (assuming that’s where it is). Do you know the
disk layout of the server? Aka does it have a sepearate /boot partition,
and if yes, where?

CU,

Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de

Hello and thanks for the responses. So I have the bootable SLES 10 Disc 1, but haven’t done anything yet because the external drive reader wasn’t working. Anyway, based off the below could someone tell me the steps I need to take to copy the stage1 file or reinstall grub based on my initial post.

So grub> find ( [TAB] returns
Possible disks are: fd0 fd1 fd2 fd3 fd4 fd5 fd6 fd7 hd0 hd1 hd2

And grub> find (hd0, [TAB] returns
Possible partitions are:
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 1, Filesystem type is reiserfs, partition type 0x83
Partition num: 2, Filesystem type unknown, partition type 0x82

And grub> find (hd0,1)/boot/ [TAB] returns
Error 16: Inconsistent filesystem structure

But grub> find (hd0,0)/boot/ [TAB] returns
Possible files are: lost+found grub boot message symsets-2.6.16.46-0.12-smp.tar.gz System.map-2.6.16.46-0.12-smp config-2.6.16.46-0.12-smp vmlinuz initrd
symtypes-2.6.16.46-0.12-smp.gz symvers-2.6.16.46-0.12-smp.gz vmlinux-2.6.16.46-0.12-smp.gz vmlinuz-2.6.16.46-0.12-smp initrd-2.6.16.46-0.12-smp backup_mbr

If a character in a filename looks off its because I had to type each one. Couldn’t see how to attach a picture file from my computer.

For SLED12/SLES12:

=> Replace grub commands with the correct grub commands for SLES10!!


Boot from SLED/SLES Installation DVD
choose „Rescue System“
Login „root“

mkdir /usr/lib/microcode/root

mount /dev/sda1 /usr/lib/microcode/root

umount /dev/sda1

xfs_repair /dev/sda1

mount /dev/sda1 /usr/lib/microcode/root

mount --bind /dev /usr/lib/microcode/root/dev/

mount --bind /proc /usr/lib/microcode/root/proc/

chroot /usr/lib/microcode/root

grub2-install /dev/sda

grub2-mkconfig -o /boot/grub2/grub.cfg

exit

umount /usr/lib/microcode/root/dev

umount /usr/lib/microcode/root/proc

umount /dev/sda1

poweroff

remove SLED/SLES Installation DVD and start computer