linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "K. Posern" <quickhelp@gmail.com>
To: "Jiang, Dave" <dave.jiang@intel.com>
Cc: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: Re: getting a linux boot loader (preferably grub) installed on an intel imsm raid
Date: Thu, 19 Aug 2010 21:15:49 -0400	[thread overview]
Message-ID: <4C6DD745.8010507@gmail.com> (raw)
In-Reply-To: <D010E79907AF0D4E90B603DE907837D504669C5B31@azsmsx504.amr.corp.intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 739 bytes --]

Thanks again!

On 19/08/10 20:46, Jiang, Dave wrote:
>> -----Original Message-----
> So I created a RAID0 like your setup. I have md0 as the container and md127 as the RAID0 volume. Fedora 12 installed grub on /dev/md127. The grub version from F12 is 0.97. I was able to rerun grub-install on /dev/md127 successfully. My device map contains:
> (hd0)		/dev/md127
>
> Do you have to use grub2?
No.

Attached my results with grub-0.97 (-r10).
The error 22 I mentioned... maybe I am just not seeing it... like 
something /very/ obvious... ?

/dev/md/126 is my volume with the partitions, /dev/md127 is my container

I can give you ssh access to the machine, just send me your pub key.

XMPP chat: tormen@jabber.org

Knuth

[-- Attachment #1.2: grub-1.txt --]
[-- Type: text/plain, Size: 961 bytes --]


/vola # grub-install /dev/md126                                   $1 #367 root@sysresccd pts/1

expr: non-integer argument


    GNU GRUB  version 0.97  (640K lower / 9216K 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 0x83
grub> setup  --stage2=/boot/grub/stage2 --prefix=/grub (hd0,)
 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,0)"... failed (this is not fatal)
 Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
 Running "install --stage2=/boot/grub/stage2 /grub/stage1 (hd0,0) /grub/stage2 p /grub/menu.lst "... failed

Error 22: No such partition
grub> quit

[-- Attachment #1.3: grub-2.txt --]
[-- Type: text/plain, Size: 1477 bytes --]


/vola # grub --device-map=/dev/null                $1 #367 root@sysresccd pts/1


    GNU GRUB  version 0.97  (640K lower / 9216K 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> device(hd0) /dev/md126

Error 27: Unrecognized command

grub> device (hd0) /dev/md126

grub> root (hd0,
 Possible partitions are:
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 2,  Filesystem type unknown, partition type 0x7
   Partition num: 4,  Filesystem type unknown, partition type 0x82
   Partition num: 5,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 6,  Filesystem type unknown, partition type 0x83
   Partition num: 7,  Filesystem type unknown, partition type 0x83
   Partition num: 8,  Filesystem type unknown, partition type 0x83
   Partition num: 9,  Filesystem type unknown, partition type 0x7

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

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

Error 22: No such partition

grub>

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3644 bytes --]

  reply	other threads:[~2010-08-20  1:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19  4:56 getting a linux boot loader (preferably grub) installed on an intel imsm raid K. Posern
2010-08-19 17:49 ` Jiang, Dave
2010-08-19 18:32   ` K. Posern
2010-08-19 21:40     ` Jiang, Dave
2010-08-19 22:29       ` K. Posern
2010-08-19 22:44         ` Jiang, Dave
2010-08-20  0:46         ` Jiang, Dave
2010-08-20  1:15           ` K. Posern [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-21  7:53 gabe peters
2010-08-21 20:44 ` K. Posern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C6DD745.8010507@gmail.com \
    --to=quickhelp@gmail.com \
    --cc=dave.jiang@intel.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).