linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: Making bootable SATA RAID1 array in Mandriva 2006
Date: Mon, 14 Aug 2006 10:17:14 +0200	[thread overview]
Message-ID: <20060814081714.GI19306@percy.comedia.it> (raw)
In-Reply-To: <44DFBB0E.90705@aol.com>

On Sun, Aug 13, 2006 at 07:51:42PM -0400, andy liebman wrote:
>-- I copied the contents of /dev/sda1 (/ partition) and /dev/sda6 (/home 
>partition) to /dev/sdb1 and /dev/sdb6 using rsync.
this is not really important, but you should have used the raid devices
as a target.

>-- I edited fstab and lilo.conf on the the RAID1 "/" partition so that 
>they would refer to /dev/md1
>-- I ran chroot on the /dev/md1 partition
did you mount /dev, /proc and /sys before chrooting?
i.e
mount --bind /dev /newroot/dev
mount -t proc /proc /newroot/proc
mount -t sysfs /sys /newroot/sys

>-- I set up an /etc/mdadm.conf file (using mdadm --detail 
>--scan>>/etc/mdadm.conf   -- that's where Mandriva puts it)
>-- I added to lilo.conf "raid-extra-boot=  and tried both "mbr" and 
>"/dev/sda,/dev/sdb"
mbr should do

>-- I ran mkinitrd and created a new initrd in /boot on /dev/md1.  I got 
>an error about not finding the 3w_9xxx driver, but I don't need to load 
>that in the initrd anyway so I reran with --builtin=3w_9xxx so that 
>mkinitrd would skip that driver that I don't need.
>
>BUT, after all of this, I get a bunch of errors when I try to run lilo:
>     Fatal: Trying to map files from unnamed device 0x0000

Regards,
L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2006-08-14  8:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-13 23:51 Making bootable SATA RAID1 array in Mandriva 2006 andy liebman
2006-08-14  8:17 ` Luca Berra [this message]
2006-08-14 10:34   ` Henrik Holst
2006-08-14 13:39 ` Laurent Lesage
2006-08-14 14:52   ` andy liebman
2006-08-14 15:13     ` Laurent Lesage
2006-08-15 11:57       ` Luca Berra
  -- strict thread matches above, loose matches on Subject: below --
2006-08-14 10:50 andy liebman
2006-08-15 11:48 ` Luca Berra
2006-08-16 13:12 andy liebman
2006-08-16 13:18 ` Mark Hahn
2006-08-16 14:35 ` Justin Piszcz
2006-08-16 23:49   ` Nix

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=20060814081714.GI19306@percy.comedia.it \
    --to=bluca@comedia.it \
    --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).