LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-14-2004, 02:22 AM   #1
Super_Z
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Grub And Raid 1 Root Disks


I'm trying to install RedHat 7.x ( with last official patches ) on a Compaq 1850R while mirroring the root drives.
RedHat installs ok, and anaconda raids the scsi disks just fine:

-----
# fdisk -l

Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 255 2048256 fd Linux raid autodetect
/dev/sda2 256 510 2048287+ fd Linux raid autodetect
/dev/sda3 511 543 265072+ 82 Linux swap

Disk /dev/sdb: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 255 2048256 fd Linux raid autodetect
/dev/sdb2 256 510 2048287+ fd Linux raid autodetect
/dev/sdb3 511 543 265072+ 82 Linux swap
-----
# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] sda1[0]
2048192 blocks [2/2] [UU]

md1 : active raid1 sdb2[1] sda2[0]
2048192 blocks [2/2] [UU]

unused devices: <none>
-----

Now, I actually want to try to booting from each of the disks. :-)

Booting from /dev/sda works just fine. Booting from /dev/sdb yields:
"No OS found' from the BIOS.

Now, I've tried 'grub-install /dev/sdb' - this commad f**ks up the MBR on /dev/sda.
Then using the grub shell, I the tried:

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

At this point, when I boot off /dev/sdb, I simply get:
GRUB
on the console. It seems to me that grub fails to find the stage 2 files?

Grub is grub-0.90-11 btw.

Does anyone have any good ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid Problem Fedora Core 3, RAID LOST DISKS ALWAYS icatalan Linux - Hardware 1 09-17-2005 03:14 AM
Setting up RAID 0 with 3 SCSI disks forrest44 Slackware 1 03-03-2005 03:43 PM
Install GRUB On Both Disks in RAID 1 Pair? doctorcisco Linux - Software 2 02-21-2005 02:43 AM
Raid 5 Array with Different Sized Disks Dewar Linux - Hardware 1 11-19-2004 10:09 PM
disks/raid type on redhat 9.0 ileong Red Hat 1 10-15-2004 07:05 AM


All times are GMT -5. The time now is 09:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration