Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Linux Support Linux - Operating Systems and Applications Support

Reply
 
Thread Tools
Old 03-18-2005, 11:41 AM   #1 (permalink)
Registered User
 
Join Date: Mar 2005
Posts: 5
OS: Linux (Various)


Mistake Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error?

I have a Dell PowerEdge 2650 with on-board Adaptec Perc3Di SCSI RAID
controller (mirrored 18GB drives for OS). It also has an add-in
Adaptec 2810SA 8-channel SATA RAID card. After installing FC3, and
installing GRUB to the MBR of the mirrored 18GB drives for OS, when I
boot the system, I get "GRUB Loading Stage2Read Error".

The Dell system and both RAID controllers were updated to their latest
BIOS versions prior to installing the OS.

I even tried (to no avail) booting into rescue mode, chrooting, and running:
"grub-install /dev/sda".

Any help would be greatly appreciated.
LinuxOnTheEdge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Sponsored Links
Old 03-18-2005, 11:50 AM   #2 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

If it's a loading stage 2 error, then GRUB is unable to find the Kernel. What file system did you use? (ext3, reiserfs, etc) Also, can you get ahold of your grub.conf file and paste it here? It should be located in /boot/grub. It may also be called menu.lst (that's an L not a one).
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 01:59 PM   #3 (permalink)
Registered User
 
Join Date: Mar 2005
Posts: 5
OS: Linux (Various)


When I remove the add-in card from the system, grub works perfectly off of the on-board Adaptec Perc3Di SCSI RAID controller (mirrored 18GB drives for OS).

I don't think the latest Dell BIOS for this machine has the provision to boot from add-in cards first, or to prioritize add-in cards after the on-board devices.

I do know that the SATA add-in controller definately comes up first after POST before the on-board SCSI controller's BIOS.
LinuxOnTheEdge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 02:17 PM   #4 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

If the order of the drives changes with the addon card, then this could be why Grub is unable to find the kernel as it would be looking at the wrong drive. Also, if you're using software RAID, there are special considerations that need to be looked into in order to boot properly.

Personally, I would stick with SCSI over SATA, although they are much more expensive.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 02:58 PM   #5 (permalink)
Registered User
 
Join Date: Mar 2005
Posts: 5
OS: Linux (Various)


More Information

Well, as suggested by various people, I booted the system into rescue mode using the install cd. Once booted, I chroot'ed, then ran:

grub
grub> root(hd0,0)
grub> setup(hd0)

This command did not return any errors. All output looked successful and normal from my experience on single-disk systems.

/boot/grub/devices.map, fdisk -l, and grub tab expansion output all confirm that /dev/sda is indeed (hd0), and root is definately (hd0,0).

By the way, I also verified that /dev/sda1 is bootable, and that /dev/sdb1 is not bootable.

Now, when I boot the system, instead of getting a grub stage 2 error, I get a grub stage 1.5 error. Does this help anyone further diagnose the problem?
LinuxOnTheEdge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 03:17 PM   #6 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Quote:
Originally Posted by LinuxOnTheEdge
Well, as suggested by various people, I booted the system into rescue mode using the install cd. Once booted, I chroot'ed, then ran:

grub
grub> root(hd0,0)
grub> setup(hd0)

This command did not return any errors. All output looked successful and normal from my experience on single-disk systems.

/boot/grub/devices.map, fdisk -l, and grub tab expansion output all confirm that /dev/sda is indeed (hd0), and root is definately (hd0,0).

By the way, I also verified that /dev/sda1 is bootable, and that /dev/sdb1 is not bootable.

Now, when I boot the system, instead of getting a grub stage 2 error, I get a grub stage 1.5 error. Does this help anyone further diagnose the problem?
There are 3 stages to the boot process. During the first stage, the BIOS runs the boot code located on the MBR. This code locates and executes the 1.5 stage code which technically is the second stage. This 1.5 stage loads the files needed for GRUB to be able to read the file system so that it can properly locate and load the stage 2 code which then loads the kernel. The stage 2 is technically the 3rd stage.

At this point, GRUB is unable to locate the stage 1.5 files. When using "root(hd0,0)", is your /boot directory/partition the first partition on the drive? If not, then this is where you went wrong. Boot up through the rescue mode once again and look at your /etc/fstab. If it lists a /boot, see what the /dev/sdx is. If it's /dev/sd2, then you'll need to use "root(hd0,1)". Or, if you don't have a /boot, then it's most likely under the root partition which is just /. Again, look to see what partition number it is.

I've never setup RAID before, so I don't know if there are any specifics that need to be accounted for, but I do know that there tend to be a few differences between RAID and non RAID setups.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 03:58 PM   #7 (permalink)
Registered User
 
Join Date: Mar 2005
Posts: 5
OS: Linux (Various)


Quote:
Originally Posted by Skie
If it's /dev/sd2, then you'll need to use "root(hd0,1)". ... Again, look to see what partition number it is.
/boot is defaintely /dev/sda1, so I am pretty sure that's not the problem.
LinuxOnTheEdge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 04:04 PM   #8 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Can you give me a run down of all the drives you have and how they're seen by the system? i.e. CD/DVD drives should be at /dev/hdx, then your scsi and sata drives.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 03-18-2005, 04:09 PM   #9 (permalink)
Registered User
 
Join Date: Mar 2005
Posts: 5
OS: Linux (Various)


On-Board Raid:
/dev/sda (18GB Mirror)
/dev/sda1 = /boot
/dev/sda2 = /

External SATA Raid:
/dev/sdb (1.4TB Raid5)
(unassigned)

CD-Rom
/dev/hda
LinuxOnTheEdge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 07:05 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82