I've never done a raid install but I found this on grub bug report 

         
      

Package: grub
Version: 0.97-23
Severity: important
Tags: patch

in grub-install there is a regular expression that strips the partition
from the dev supplied 
  /dev/cciss/c0d0p1 = 1
if you supply /dev/cciss/c0d0 howover it supplies the whole device, when
the code expects an empty string.

replace
 -e 's%.*c[0-7]d[0-9]*p%%' \

with

 -e 's%.*c[0-7]d[0-9]*p*%%' \




-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information




--- On Tue, 7/21/09, Russell Stockhammer <rstockham...@hotmail.com> wrote:

From: Russell Stockhammer <rstockham...@hotmail.com>
Subject: RE: GRUB error
To: lfs-support@linuxfromscratch.org
Date: Tuesday, July 21, 2009, 2:20 AM




#yiv541877687 .hmmessage P
{
margin:0px;padding:0px;}
#yiv541877687 {
font-size:10pt;font-family:Verdana;}

 

> 
> What file system is hd0 using?
> 
> You should be doing this from within the chroot environment.
> If you exited and reentered chroot, do you still have /dev mounted? I.e. is 
> has 
> the `mount -v --bind /dev $LFS/dev` still valid?
> 
> What is the output of `ls /dev/?da*` ?
> 


The paartition (hd0,0) is ext3

 

This is in the chroot environment and /dev is mounted

 

There are no /dev/?da* devices this system uses /dev/cciss/c0d0.

 

New information...   If I run the command "device (hd0) /dev/cciss/c0d0" then 
"root (hd0,0)" works.  Now "setup (hd0)" produces this error...

 


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/menu.lst"... failed

Error 22: No such partition

grub>

 

Russ


Find your next place with Ninemsn property Looking for a place to rent, share 
or buy this winter? 

-----Inline Attachment Follows-----

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page



      
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to