LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Red Hat FC 3 RAID 1 Disk Boot Error "LI" (https://www.linuxquestions.org/questions/linux-hardware-18/red-hat-fc-3-raid-1-disk-boot-error-li-594326/)

najeebsyed2 10-24-2007 05:20 PM

Red Hat FC 3 RAID 1 Disk Boot Error "LI"
 
I have a Fedora Core 3 box setup properly with software RAID. Physically there are 2 hard drives. Sda Sdb, each is divided into three partitions, sad1, sad2, sad2, sdb1, sdb2, sbd3 respectively. When I boot my machine with both drives everything works. I have also verfiyed that RAID 1 has be installed successfully and there are not failed drivers.

The problem is that, when I boot from one of the Hard Drives it does not boot. I get the Error: " Attempting Boot from Hard Drive (C:)
LI"

I am not sure what is going on. Can someone please help as this is a matter of urgency. This is a production BOX !!!

macemoneta 10-25-2007 06:38 AM

Quote:

Can someone please help as this is a matter of urgency. This is a production BOX !!!
If the above is the case, you've come to the wrong place. This is a volunteer support web site. There is no prioritizing of requests, and people answer questions that they want to answer. If you have a production system, your company should be paying for support from a commercial supplier (like Red Hat, IBM, SuSE, etc.).

That said, Fedora 3 is quite old at this point (Fedora has a 6-9 month release cycle), and I remember there was a problem with grub not being installed in all the RAID 1 boot drives. To correct the problem, you can use a procedure like the following (update the references as they pertain to your system) to install grub on all member drives:

Code:

[root@fedora4 ~]# grub

    GNU GRUB  version 0.95  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
  lists possible command completions.  Anywhere else TAB lists the possible
  completions of a device/filename.]

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

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)"...  15 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2
/boot/grub/grub.conf"... succeeded
Done.

grub> root (hd1,0)
 Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd1)
 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 (hd1)"...  15 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/boot/grub/stage2
/boot/grub/grub.conf"... succeeded
Done.

grub> quit


najeebsyed2 10-25-2007 10:19 AM

Thank you for help. I appriciate it.

najeebsyed2 10-25-2007 11:55 AM

Thanks for that tip. However that didn't work. When I tried to boot with one of the drives, I recieved the following error:

" GRUB loading, please wait...
ERROR 21".

I guess GRUB cannot find the disk. Any suggestions ??

macemoneta 10-25-2007 12:12 PM

What are the drive names, and what are the boot partitions? In other words, are you sure you wrote grub to the correct drives? Does your grub configuration reference the correct drive?

najeebsyed2 10-26-2007 09:37 AM

Hello Macemoneta,

I don't think I configuered the boot parameter correctly. Therefore I rebuilt the FC3 box and set the used GRUB once again. This time it looks like it worked. I verfied the RAID 1 was working on the drives and used each individual drive to boot the FC3 box.

GNU GRUB version 0.95 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]

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

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


grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0xfd

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


Now I am going to attempt to backup with FC3 box using the Acronis Linux server software to spare drive which has Windows 2000. I attempted to connect this drive via SCSI connection, however when I do this, the FC3 box does not boot, but the OS that was reloaded, Windows 2000 boots. How can I make the windows 2000 drive not boot and the FC3 raid drives boot? Thank you very much for all your help, you have been great.

P.S.
If it has not hit you yet, I am an newbie when it comes to hardware. I am used to configuring routers, switches, firewalls, Domain controllers and exchange severs. This is all very new to me.

lazlow 10-26-2007 02:41 PM

Probably the first best thing you can do for yourself is update your linux. Fedora 8 is being released sometime in the next month. That will mean that you are running a version that is 5 versions behind and has exceeded its end of life by several years (no more official updates of any kind). The advances made in ease of use and security are quite amazing going from one version to the next. Updating to version 4-5 newer should be a huge improvement.

Good Luck
Lazlow


All times are GMT -5. The time now is 10:22 AM.