public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: raid1 grub ext4
Date: Thu, 14 Apr 2011 12:56:57 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110414T144335-897@post.gmane.org> (raw)
In-Reply-To: 4DA570EB.2060904@binarywings.net

Florian Philipp <lists <at> binarywings.net> writes:



> Your boot partition is not by any chance a logical partition and
> therefore would be (hd0,4) and not (hd0,0)?

grub> root (hd0,4)
Error 22: No such partition

No?


> You can try to use 0.90 metadata by specifying it while creating the
> RAID with mdadm. I'm using it myself because AFAIK this is the only way
> for grub to handle a single RAID containing partitions instead of
> partitions containing RAIDs.

OK so I read about this "0.90 metadata" but could not find
details (syntax) of when and exactly how to use this information.
OK, so, I've rebooted and got the md1, md2, md3 renamed by
(whatever) to md125 md127 and md126, respectively. 

I changed the fstab like so:

#/dev/md1   /boot          ext4    noauto,noatime  1 2
#/dev/md3   /              ext4    noatime         0 1
#/dev/md2   swap           swap    defaults        0 0

none        /proc       proc            defaults         0 0
/dev/cdrom  /mnt/cdrom  auto            noauto,rw,user   0 0
shm         /dev/shm    tmpfs      nodev,nosuid,noexec   0 0

/dev/md125  /boot       ext2             noauto,noatime  1 2
/dev/md126  /           ext4             noatime         0 1
/dev/md127  swap        swap             defaults        0 0


I put ext2 on /boot, re-emerged grub, edit the grub.conf,
but when I run grub I still get HD that cannot be found?

grub>  root (hd0,0)
 Filesystem type unknown, partition type 0xfd
grub> root (hd1,0)
 Filesystem type unknown, partition type 0xfd
grub> find /boot/grub/stage1
Error 15: File not found
grub> find /grub/stage1
Error 15: File not found

All the files are in /boot/grub...

ext2 support is built into the kernel, with extended attributes.

ideas? (syntax and steps to repeat after a reboot?)
Its my first software raid on gentoo, so I'm sure I've
mucked things up  a bit....


James







  reply	other threads:[~2011-04-14 12:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11 18:12 [gentoo-user] raid1 grub ext4 James
2011-04-11 20:18 ` Mick
2011-04-12  5:57   ` Stroller
2011-04-12 14:10     ` [gentoo-user] " James
2011-04-12 14:31       ` Peter Humphrey
2011-04-12 14:57         ` Dale
2011-04-12 15:16           ` Joost Roeleveld
2011-04-12 15:44           ` Peter Humphrey
2011-04-13 10:14           ` Alex Schuster
2011-04-11 20:49 ` [gentoo-user] " Neil Bothwick
2011-04-12  2:09   ` Mark Shields
2011-04-12  9:11     ` Neil Bothwick
2011-04-12 14:20       ` [gentoo-user] " James
2011-04-12 16:53         ` James
2011-04-13  9:46           ` Florian Philipp
2011-04-14 12:56             ` James [this message]
2011-04-14 13:14               ` Florian Philipp
2011-04-14 14:41               ` Paul Hartman
2011-04-14 13:10             ` James
2011-04-14 13:41               ` James
2011-04-14 14:11                 ` Florian Philipp
2011-04-14 15:07                   ` James
2011-04-14 15:52                     ` Florian Philipp
2011-04-14 16:29                       ` James
2011-04-14 19:49                         ` Florian Philipp
2011-04-14 20:19                           ` James
2011-04-14 21:12                             ` Florian Philipp
2011-04-14 20:24                           ` James
2011-04-14 14:13                 ` Dale
2011-04-14 14:52                   ` James
2011-04-14 16:14                     ` Dale
2011-04-14 16:34                       ` James

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=loom.20110414T144335-897@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.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