Index: [Article Count Order] [Thread]

Date:  Fri, 14 Apr 2006 21:04:49 -0700
From:  "Adam Crews" <adam.crews (at mark) gmail.com>
Subject:  [coba-e:04680] Re: NuOnce Installer v4.2 Raid install with 2 SATA drives?
To:  coba-e (at mark) bluequartz.org
Message-Id:  <1486c6440604142104v227480bej188573a9c43eb1d (at mark) mail.gmail.com>
In-Reply-To:  <000a01c65ff2$33e07430$1e64a8c0 (at mark) nuonce.net>
References:  <6.1.2.0.0.20060414145205.04a53430 (at mark) mail.officetracker.com>	 <000a01c65ff2$33e07430$1e64a8c0 (at mark) nuonce.net>
X-Mail-Count: 04680

I used the following a while back and it worked for me....

Setting up GRUB: (assuming you've already installed it)
------------------------------------------------------------------
# grub
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)"...  16 sectors are
embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 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)"...  16 sectors are
embedded.
succeeded
 Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p
(hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded
Done.

grub> quit
------------------------------------------------------------------
Here is how /boot/grub/grub.conf is: (/dev/md0 mounted as /boot)
(Assuming kernel is installed as /boot/bzImage, and RAID1 support
compiled into the kernel).
------------------------------------------------------------------
# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting with disc 0 kernel
title  GNU/Linux (hd0,0)
kernel (hd0,0)/bzImage root=/dev/md1

# For booting with disc 1 kernel, if (hd0,0)/bzImage is unreadable
title  GNU/Linux (hd1,0)
kernel (hd1,0)/bzImage root=/dev/md1
------------------------------------------------------------------

-Adam

On 4/14/06, Brian N. Smith <brian (at mark) nuonce.net> wrote:
> > I can't use the LILO boot loader as it always hangs on boot on my server.
> > Grub has worked fine but it appears when installing with Grud as the boot
> > loader there is no raid support, is this true?
>
> There are major issues with Grub RAID.  I have it on my schedule of things
> to figure out WTF is going on.  With LILO, you simply type /sbin/lilo and it
> rebuilds the MBR of both Primary & Secondary.  Well, with GRUB, there
> doesn't appear to be an easy way to do it.
>
> If someone knows a sure fire way to copy the MBR WITHOUT any problems, I
> will be happy to quickly publish a new ISO Installer.
>
> Thanks,
> Brian N. Smith
> NuOnce Networks, Inc.
>
>
>


--
-----------------------------------------------------------------
Shroom.net Donation Based Web Hosting
http://www.shroom.net/
-----------------------------------------------------------------