SCIENTIFIC-LINUX-USERS Archives

January 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Wed, 18 Jan 2006 07:53:47 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Hi Brent,

> We're running SL 3.0.5 XFS (Installed from SL 3.0.2 CD's and 
> upgraded). I started a script that accidentally started making a 
> mess of all file systems on the machine.  I stopped the script 
> before it finished and before the system crashed.  With the system 
> still up and running, I reloaded everything from our latest backup,
>  which went well, and rebooted.  However, instead of booting up, all 
> I get is "GRUB GRUB".  I booted from the SL 3.0.2 I used for the 
> initial install and tried the recovery option.  It said there 
> weren't any file systems to recover from.     We have 4 drives with 
> 3 partitions on each drive.  One partition from each drive is RAID 1 
> (mirrored) and is mounted as /boot.  Another partition from each 
> drive is swap and the last partition from each drive is RAID 0
> (stripped) with the rest of the OS and user files.     Anyone have 
> any ideas on how I can recover with out having to reload everything 
> from scratch and restore the tape backups again?  Thanks for any help.

This sounds like a grub issue. You will need a way to re-install grub on the
MBR of each disk. You didn't mention if you were using hardware or software
raid. If software, make sure you install the grub boot loader on the mbr of
each disk.

You can boot off SL3 in resuce mode (just type "linux rescue" when booting off
the cd's), which will take you through and try and mount filesystems. You
don't have to mount them, but if you can then it's easy to just use "chroot
/mnt/sysimage" and then "grub something /dev/something" ie. you need to go
through the procedure to install grub on the disk (you can google for the
exact command of this).

If you have a boot disk with grub on it, you can boot off that and go to
command mode (press "c") and install grub onto each disk using:

root (hd0,0)
setup (hd0)

and do the same for the second disk if using software raid.

Michael.

ATOM RSS1 RSS2